-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
49 lines (40 loc) · 1.83 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
# Learn more: https://github.com/Ensembl/ols-client
import os
from setuptools import setup, find_packages, find_namespace_packages
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
readme = f.read()
with open(os.path.join(os.path.dirname(__file__), 'LICENSE')) as f:
license_ct = f.read()
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as f:
version = f.read()
def import_requirements():
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as f:
content = f.readlines()
# you may also want to remove whitespace characters like `\n` at the end of each line
content = [x.strip() for x in content]
return content
setup(
name='ensembl-production-services',
version=os.getenv('CI_COMMIT_TAG', version),
description='Ensembl Production Database Application',
long_description=readme,
author='Marc Chakiachvili,James Allen,Luca Da Rin Fioretto,Vinay Kaikala',
maintainer='Ensembl Production Team',
maintainer_email='[email protected]',
url='https://github.com/Ensembl/production_services',
license='APACHE 2.0',
packages=find_namespace_packages(where='src', include=['ensembl.production.*']),
package_dir={'': 'src'},
install_requires=import_requirements(),
classifiers=[
'Development Status :: 5 - Production/Stable',
"Environment :: Web Environment",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Software Development :: Libraries :: Python Modules",
]
)