Closed nickvazz closed 3 years ago
Sure! You want something like this in setup.py, right?
'Pillow>=6.0.0', 'earthengine-api>=0.1.232', # 1.232 is required after Aug 19, 2020 'Flask>=1.0.2', 'oauth2client>=4.1.3', 'numpy>=1.17', 'kml2geojson>=4.0.2', # for reading polygon coords from kml 'geojson>=2.5', # for wrapping polygon data 'defusedxml>=0.6', # safe minidom for parsing kml 'six>=1.15.0',
but in a text file. Where should that requirements.txt file go in the folder structure? Also, I assume you have checked that for your case, pip install . (which runs setup.py and with this the requirements part) doesn't work, right?
Finally, be aware that I'm working on creating a docker image for the standalone version, but I'm a docker noob and it will take a bit ...
Cheers
Chris
On Sat, Jan 9, 2021 at 2:49 AM Nick Vazquez notifications@github.com wrote:
Love the flask-webapp!
Would it be possible to add your requirements.txt to make the installation nice and easy in a virtualenv?
Thanks!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChHarding/TouchTerrain_for_CAGEO/issues/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYDF5JSU7OULHBPSUJAB4LSZAKAXANCNFSM4V3NUAOQ .
-- Chris Harding, Ph.D. Associate Professor, Department of Geological and Atmospheric Sciences Virtual Reality Applications Center (VRAC) Human-Computer Interaction (HCI) Program 1620 Howe Hall, Ames, Iowa 50011-2274, 515 294-4868 charding@iastate.edu, http://www.vrac.iastate.edu/~charding/ , http://del.icio.us/charding
Awesome! Yep I tried to install from the setup.py but it wasn't playing nice, maybe some unseen dependency?
Usually a pip freeze > requirements.txt
does the job and would be in the root directory.
I think the docker image will be easier than you expect 😛
I’ve added a requirements.txt in the project root folder. Could you please check if that works for you?
On Jan 12, 2021, at 12:59, Nick Vazquez notifications@github.com wrote:
Awesome! Thank you!
I think the docker image will be easier than you expect 😛
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ChHarding/TouchTerrain_for_CAGEO/issues/37#issuecomment-758868184, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYDF5MI5Q4DVUCMCE4VZ23SZSLYXANCNFSM4V3NUAOQ.
Chris Harding Associate Professor Department of Geological & Atmospheric Sciences
TouchTerrain.geol.iastate.edu
Love the flask-webapp!
Would it be possible to add your
requirements.txt
to make the installation nice and easy in a virtualenv?Thanks!