Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
ade2ab0
1
Parent(s):
796a8ad
Ensure that juliapkg.json is installed
Browse files- Dockerfile +0 -1
- pyproject.toml +2 -2
Dockerfile
CHANGED
@@ -25,7 +25,6 @@ RUN pip3 install --no-cache-dir -r /pysr/requirements.txt
|
|
25 |
# We do a minimal copy so it doesn't need to rerun at every file change:
|
26 |
ADD ./pyproject.toml /pysr/pyproject.toml
|
27 |
ADD ./setup.py /pysr/setup.py
|
28 |
-
ADD ./juliapkg.json /pysr/juliapkg.json
|
29 |
ADD ./pysr /pysr/pysr
|
30 |
RUN pip3 install --no-cache-dir -e .
|
31 |
|
|
|
25 |
# We do a minimal copy so it doesn't need to rerun at every file change:
|
26 |
ADD ./pyproject.toml /pysr/pyproject.toml
|
27 |
ADD ./setup.py /pysr/setup.py
|
|
|
28 |
ADD ./pysr /pysr/pysr
|
29 |
RUN pip3 install --no-cache-dir -e .
|
30 |
|
pyproject.toml
CHANGED
@@ -20,9 +20,9 @@ classifiers = [
|
|
20 |
dynamic = ["dependencies"]
|
21 |
|
22 |
[tool.setuptools]
|
23 |
-
packages = ["pysr"]
|
24 |
include-package-data = false
|
25 |
-
package-data = {pysr = ["
|
26 |
|
27 |
[tool.setuptools.dynamic]
|
28 |
dependencies = {file = "requirements.txt"}
|
|
|
20 |
dynamic = ["dependencies"]
|
21 |
|
22 |
[tool.setuptools]
|
23 |
+
packages = ["pysr", "pysr._cli", "pysr.test"]
|
24 |
include-package-data = false
|
25 |
+
package-data = {pysr = ["juliapkg.json"]}
|
26 |
|
27 |
[tool.setuptools.dynamic]
|
28 |
dependencies = {file = "requirements.txt"}
|