|
1 |
| -# -*- coding: utf-8 -*- |
2 | 1 | """Setup file for chime
|
3 | 2 | """
|
4 | 3 | __version__ = "1.1.2"
|
5 | 4 | __author__ = "Predictive Healthcare @ Penn Medicine"
|
6 | 5 |
|
7 | 6 | from os import path
|
| 7 | +from setuptools import setup, find_packages, find_namespace_packages |
8 | 8 |
|
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(",")] |
18 | 9 |
|
19 | 10 | setup(
|
20 | 11 | name="penn_chime",
|
21 |
| - python_requires=">=3.7", |
22 | 12 | version=__version__,
|
23 |
| - description="COVID-19 Hospital Impact Model for Epidemics", |
24 |
| - long_description=LONG_DESCRIPTION, |
25 |
| - long_description_content_type="text/markdown", |
26 | 13 | author=__author__,
|
27 | 14 | author_email="",
|
| 15 | + description="COVID-19 Hospital Impact Model for Epidemics", |
28 | 16 | url="https://github.com/CodeForPhilly/chime",
|
29 | 17 | project_urls={
|
30 | 18 | "Bug Reports": "https://github.com/CodeForPhilly/chime/issues",
|
31 | 19 | "Source": "https://github.com/CodeForPhilly/chime",
|
32 | 20 | "Documentation": "https://codeforphilly.github.io/chime/",
|
33 | 21 | },
|
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 | + ], |
37 | 36 | classifiers=[
|
38 | 37 | "Programming Language :: Python :: 3",
|
39 | 38 | "License :: OSI Approved :: MIT License",
|
40 | 39 | "Operating System :: OS Independent",
|
41 | 40 | ],
|
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 | + }, |
43 | 45 | keywords=[],
|
44 | 46 | include_package_data=True,
|
45 | 47 | )
|
| 48 | + |
0 commit comments