-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·41 lines (34 loc) · 1.48 KB
/
setup.py
File metadata and controls
executable file
·41 lines (34 loc) · 1.48 KB
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
from setuptools import find_packages, setup
from pathlib import Path
with open("README.md", "r") as fh:
long_description = fh.read()
def parse_requirements(requirements_path):
with open(Path(__file__).parent / requirements_path) as f:
return f.read().splitlines()
requirements = parse_requirements("requirements.txt")
test_requirements = parse_requirements("requirements/requirements-test.txt")
dev_requirements = parse_requirements("requirements/requirements-dev.txt")
print("REQUIREMENTS: ", requirements)
setup(
name="cellforest",
version="0.0.2",
author="Austin McKay",
author_email="austinmckay303@gmail.com",
description="An interactive single-cell bioinformatics workflow manager",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/TheAustinator/cellforest",
packages=find_packages(exclude=("tests",)),
# TODO: this works in "all", but not in `install_reqs` -- fix
install_requires=requirements,
extras_require={"all": requirements, "test": test_requirements, "dev": dev_requirements,},
package_data={"cellforest": ["config/default_config.yaml", "config/no_plot_config.yaml"]},
include_package_data=True,
manifest="MANIFEST.in",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
)