forked from Ensembl/ensembl-compara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (51 loc) · 2.07 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
59
# See the NOTICE file distributed with this work for additional information
# regarding copyright ownership.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Build script for setuptools."""
from setuptools import setup, find_namespace_packages
with open('README.md') as f:
readme = f.read()
with open('PIP_VERSION') as f:
version = f.read()
def import_requirements(requirements_path):
"""Import file located at the root of the repository."""
with open(requirements_path) as file:
return [line.rstrip() for line in file.readlines()]
setup(
name='ensembl-compara',
version=version,
packages=find_namespace_packages(where='src/python/lib'),
package_dir={"": "src/python/lib"},
description="Ensembl Compara's Python library",
include_package_data=True,
install_requires=import_requirements('requirements.txt'),
tests_require=import_requirements('requirements-test.txt'),
long_description=readme,
author='Ensembl Compara',
author_email='[email protected]',
url='https://www.ensembl.org',
download_url='https://github.com/Ensembl/ensembl-compara',
license="Apache License 2.0",
python_requires=">=3.7",
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Software Development :: Libraries :: Python Modules",
]
)