Skip to content

Commit

Permalink
Merge pull request #23 from radxtools/rt/python36
Browse files Browse the repository at this point in the history
Rt/python36
  • Loading branch information
robtoth authored Oct 18, 2021
2 parents e0b9d02 + a5e5113 commit dc133c2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/notebook.dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# set base image (host OS)
FROM python:3.8
FROM python:3.6

# install graphics libs
RUN apt-get update && apt-get install -y libglu1-mesa-dev freeglut3-dev mesa-common-dev
Expand All @@ -26,4 +26,4 @@ RUN cd src && python setup.py develop
# # command to run on container start
CMD [ "jupyter", "notebook", "--port=3000", "--no-browser", "--ip=0.0.0.0", "--allow-root", "--NotebookApp.token=" ]

EXPOSE 3000
EXPOSE 3000
3 changes: 2 additions & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def compute_version():
dd = now.day
version = f"{yy}.{mm}.{dd}"
version = (Path(__file__).parent / "version.txt").open().read()
version = version.strip()

if os.environ.get('GITHUB_RUN_NUMBER'):
run_number = os.environ.get('GITHUB_RUN_NUMBER')
Expand Down Expand Up @@ -67,7 +68,7 @@ def compute_version():
"pandas",
"sphinx",
],
python_requires='>=3.8',
python_requires='>=3.6',
keywords='Topology Radiomics',
command_options={
'build_sphinx': {
Expand Down
2 changes: 1 addition & 1 deletion src/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.0
0.0.1

0 comments on commit dc133c2

Please sign in to comment.