File tree Expand file tree Collapse file tree 5 files changed +44
-7
lines changed Expand file tree Collapse file tree 5 files changed +44
-7
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,13 @@ FROM python:3.7.7-slim-buster
2
2
3
3
COPY .streamlit ~/
4
4
5
- COPY ./requirements.txt /app/requirements.txt
5
+ COPY ./README.md /app/README.md
6
+ COPY ./setup.py /app/setup.py
7
+ RUN mkdir /app/src
6
8
7
9
WORKDIR /app
8
10
9
- RUN pip install -q -r requirements.txt
11
+ RUN pip install -q .
10
12
11
13
COPY . ./
12
14
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ streamlit run src/app.py
59
59
- ` Pipfile.lock `
60
60
- ` environment.yml `
61
61
- ` requirements.txt `
62
+ - ` setup.py `
62
63
63
64
### Documentation
64
65
Original file line number Diff line number Diff line change 1
- streamlit
2
- pandas
3
- numpy
4
- pytest
5
- altair
1
+ -e .
Original file line number Diff line number Diff line change
1
+ import io
2
+ import setuptools
3
+
4
+ with io .open ("README.md" , encoding = "utf-8" ) as fh :
5
+ long_description = fh .read ()
6
+
7
+ setuptools .setup (
8
+ name = "penn_chime" ,
9
+ version = "1.0.0" ,
10
+ author = "Predictive Healthcare @ Penn Medicine" ,
11
+ description = "COVID-19 Hospital Impact Model for Epidemics" ,
12
+ long_description = long_description ,
13
+ long_description_content_type = "text/markdown" ,
14
+ url = "https://github.com/CodeForPhilly/chime" ,
15
+ project_urls = {
16
+ "Bug Reports" : "https://github.com/CodeForPhilly/chime/issues" ,
17
+ "Source" : "https://github.com/CodeForPhilly/chime" ,
18
+ "Documentation" : "https://codeforphilly.github.io/chime/" ,
19
+ },
20
+ package_dir = {'' : 'src' },
21
+ packages = setuptools .find_namespace_packages (where = 'src' , exclude = ('tests' )),
22
+ install_requires = [
23
+ "streamlit" ,
24
+ "pandas" ,
25
+ "numpy" ,
26
+ "altair" ,
27
+ "pytest"
28
+ ],
29
+ classifiers = [
30
+ "Programming Language :: Python :: 3" ,
31
+ "License :: OSI Approved :: MIT License" ,
32
+ "Operating System :: OS Independent" ,
33
+ ],
34
+ python_requires = '>=3.6' ,
35
+ entry_points = {
36
+ 'console_scripts' : ['penn_chime=penn_chime.cli:main' ],
37
+ }
38
+ )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments