forked from medialab/reference_manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (52 loc) · 1.91 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/python
# -*- coding: utf-8 -*-
# coding=utf-8
try:
from setuptools import setup
from setuptools import find_packages
except ImportError:
from distutils.core import setup
import sys
import os
import biblib
from biblib.util import constants
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'requirements.txt')) as requirements_file,
open(os.path.join(here, 'README.md')) as README_file,
open(os.path.join(here, 'NEWS.txt')) as NEWS_file,
open(os.path.join(here, 'LICENSE')) as LICENSE_file:
requirements = requirements_file.read().splitlines()
README = README_file.read()
NEWS = NEWS_file.read()
LICENSE = LICENSE_file.read()
setup(
name='biblib',
version=constants.BIBLIB_VERSION,
author='Sciences Po - médialab',
author_email='medialab@sciences-po.fr',
url='https://github.com/medialab/reference_manager',
download_url='https://github.com/medialab/reference_manager',
description='biblib description',
long_description=README + '\n\n' + NEWS,
include_package_data=True,
packages=find_packages('biblib'),
#packages=['biblib'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities'
],
keywords='bibliographic reference endnote bibtext mods',
license=LICENSE,
install_requires=requirements,
entry_points={
'console_scripts': ['biblib=biblib:main']
}
)