Skip to content

Commit 966c152

Browse files
Merge pull request #451 from CodeForPhilly/setup-requirements-dash
setup.py and requirements.txt from develop, mostly
2 parents 161e5ea + 71f71ab commit 966c152

File tree

2 files changed

+22
-28
lines changed

2 files changed

+22
-28
lines changed

requirements.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
streamlit
2-
pandas
3-
numpy
4-
pytest
5-
altair
6-
dash
7-
dash_bootstrap_components
8-
pyyaml
9-
gunicorn
10-
selenium
1+
-e .

setup.py

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,48 @@
1-
# -*- coding: utf-8 -*-
21
"""Setup file for chime
32
"""
43
__version__ = "1.1.2"
54
__author__ = "Predictive Healthcare @ Penn Medicine"
65

76
from os import path
7+
from setuptools import setup, find_packages, find_namespace_packages
88

9-
from setuptools import setup, find_namespace_packages
10-
11-
CWD = path.abspath(path.dirname(__file__))
12-
13-
with open(path.join(CWD, "README.md"), encoding="utf-8") as inp:
14-
LONG_DESCRIPTION = inp.read()
15-
16-
with open(path.join(CWD, "requirements.txt"), encoding="utf-8") as inp:
17-
REQUIREMENTS = [el.strip() for el in inp.read().split(",")]
189

1910
setup(
2011
name="penn_chime",
21-
python_requires=">=3.7",
2212
version=__version__,
23-
description="COVID-19 Hospital Impact Model for Epidemics",
24-
long_description=LONG_DESCRIPTION,
25-
long_description_content_type="text/markdown",
2613
author=__author__,
2714
author_email="",
15+
description="COVID-19 Hospital Impact Model for Epidemics",
2816
url="https://github.com/CodeForPhilly/chime",
2917
project_urls={
3018
"Bug Reports": "https://github.com/CodeForPhilly/chime/issues",
3119
"Source": "https://github.com/CodeForPhilly/chime",
3220
"Documentation": "https://codeforphilly.github.io/chime/",
3321
},
34-
package_dir={"": "src"},
35-
packages=find_namespace_packages(where="src", exclude=("tests")),
36-
install_requires=REQUIREMENTS,
22+
package_dir={'': 'src'},
23+
packages=find_namespace_packages(where='src', exclude=('tests')),
24+
install_requires=[
25+
"streamlit",
26+
"pandas",
27+
"numpy",
28+
"altair",
29+
"pytest",
30+
"dash",
31+
"dash_bootstrap_components",
32+
"pyyaml",
33+
"gunicorn",
34+
"selenium"
35+
],
3736
classifiers=[
3837
"Programming Language :: Python :: 3",
3938
"License :: OSI Approved :: MIT License",
4039
"Operating System :: OS Independent",
4140
],
42-
entry_points={"console_scripts": ["penn_chime=penn_chime.cli:main"]},
41+
python_requires='>=3.7',
42+
entry_points = {
43+
'console_scripts': ['penn_chime=penn_chime.cli:main'],
44+
},
4345
keywords=[],
4446
include_package_data=True,
4547
)
48+

0 commit comments

Comments
 (0)