forked from broadinstitute/cromshell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (48 loc) · 2.11 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
#!/usr/bin/env python
from setuptools import find_packages, setup
with open("requirements.txt") as fh:
install_requires = fh.readlines()
# PIPY needs a list of required packages from the test-requirements list. One of the
# lines in this file is a reference to the requirements.txt file, because PYPI will
# assume it's a package and fail; the line below will remove the requirements.txt line
# and add the extracted packages from that file to the list of required test packages.
with open("test-requirements.txt") as fh:
test_install_requires = fh.readlines()
test_install_requires.remove("-r requirements.txt")
test_install_requires.extend(install_requires)
with open("README.md") as fh:
long_description = fh.read()
# following src dir layout according to
# https://blog.ionelmc.ro/2014/05/25/python-packaging/#the-structure
# Version number is automatically set via bumpversion. DO NOT MODIFY:
version = "2.1.1"
setup(
name="cromshell",
version=version,
description="Command Line Interface (CLI) for Cromwell servers",
author="Jonn Smith, Louis Bergelson, Beri Shifaw",
author_email="jonn@broadinstitute.org, louisb@broadinstitute.org, "
"bshifaw@broadinstitute.org",
url="https://github.com/broadinstitute/cromshell",
license="BSD 3-Clause",
long_description=long_description,
install_requires=install_requires,
tests_require=test_install_requires,
python_requires=">=3.7",
packages=find_packages("src"),
package_dir={"": "src"},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
],
entry_points={"console_scripts": ["cromshell=cromshell.__main__:main_entry"]},
include_package_data=True,
)