| 1 |
try: |
| 2 |
from setuptools import setup, find_packages |
| 3 |
except ImportError: |
| 4 |
from distutils.core import setup |
| 5 |
|
| 6 |
from distutils.command.install import install |
| 7 |
import os |
| 8 |
|
| 9 |
|
| 10 |
here = os.path.abspath(os.path.dirname(__file__)) |
| 11 |
with open(os.path.join(here, 'README.md')) as f: |
| 12 |
README = f.read() |
| 13 |
with open(os.path.join(here, 'CHANGES.txt')) as f: |
| 14 |
CHANGES = f.read() |
| 15 |
|
| 16 |
|
| 17 |
config = { |
| 18 |
'description': 'BioMAJ core library', |
| 19 |
'long_description': README + '\n\n' + CHANGES, |
| 20 |
'long_description_content_type': 'text/markdown', |
| 21 |
'author': 'Olivier Sallou', |
| 22 |
'url': 'http://biomaj.genouest.org', |
| 23 |
'download_url': 'http://biomaj.genouest.org', |
| 24 |
'author_email': '[email protected]', |
| 25 |
'version': '3.0.28', |
| 26 |
'classifiers': [ |
| 27 |
'Development Status :: 5 - Production/Stable', |
| 28 |
'Environment :: Console', |
| 29 |
'Natural Language :: English', |
| 30 |
'Operating System :: POSIX :: Linux', |
| 31 |
|
| 32 |
'Intended Audience :: Science/Research', |
| 33 |
'Topic :: Scientific/Engineering :: Bio-Informatics', |
| 34 |
|
| 35 |
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', |
| 36 |
|
| 37 |
|
| 38 |
'Programming Language :: Python :: 3' |
| 39 |
], |
| 40 |
'python_requires': '>=3', |
| 41 |
'install_requires': [ |
| 42 |
'elasticsearch', |
| 43 |
'requests' |
| 44 |
], |
| 45 |
'tests_require': ['pytest', 'mock'], |
| 46 |
'packages': find_packages(), |
| 47 |
'include_package_data': True, |
| 48 |
'name': 'biomaj_core' |
| 49 |
} |
| 50 |
|
| 51 |
setup(**config) |