Commit 9a6e8a4 1 parent f10b047 commit 9a6e8a4 Copy full SHA for 9a6e8a4
File tree 2 files changed +19
-2
lines changed
2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ FROM python:3.7
2
2
3
3
ENV LC_ALL=C.UTF-8
4
4
ENV LANG=C.UTF-8
5
+ ENV PYTHONUNBUFFERED 1
5
6
6
7
RUN echo "export LC_ALL=$LC_ALL" >> /etc/profile.d/locale.sh
7
8
RUN echo "export LANG=$LANG" >> /etc/profile.d/locale.sh
@@ -13,9 +14,9 @@ RUN apt-get update && apt-get install -y \
13
14
14
15
RUN pip install -U pip
15
16
COPY requirements.txt ./
16
- RUN pip install -r requirements.txt
17
+ COPY setup.py ./
18
+ RUN pip install -e .
17
19
18
- ENV PYTHONUNBUFFERED 1
19
20
COPY synthetic_data /synthetic_data
20
21
COPY .env /synthetic_data/.env
21
22
Original file line number Diff line number Diff line change
1
+ from setuptools import find_packages , setup
2
+
3
+ with open ("requirements.txt" ) as requirement_file :
4
+ requirements = requirement_file .read ().split ()
5
+
6
+
7
+ setup (
8
+ name = "synthetic-data" ,
9
+ version = "1.0.0" ,
10
+ description = "Synthetic Time-Series" ,
11
+ author = "Andreas Øie" ,
12
+
13
+ url = "https://github.com/ML4ITS/synthetic-data" ,
14
+ packages = find_packages (exclude = ["pyproject.toml" ]),
15
+ install_requires = requirements ,
16
+ )
You can’t perform that action at this time.
0 commit comments