You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check examples on how to add VERSION and requierements in BacterialTyper setup.py
def get_require_modules():
"""
Get main python requirements modules
"""
with open("./BacterialTyper/config/python/python_requirements_summary.csv", 'r') as f:
myModules = [line.strip().split(',')[0] for line in f]
return myModules
def get_version():
"""
Original code: PhiSpy setup.py
https://github.com/linsalrob/PhiSpy/blob/master/setup.py
"""
with open("VERSION", 'r') as f:
v = f.readline().strip()
return v
Along the process and before pip release setup file setup.py appropiately.
Also, check how to add several authors:
BacDup/code/setup.py
Lines 13 to 14 in a2a23a6
Add python packages directly from requirements.txt file and avoid setting the code in setup.py:
BacDup/code/setup.py
Lines 32 to 40 in a2a23a6
Set VERSION to be retrieved from VERSION file
BacDup/code/setup.py
Line 10 in a2a23a6
The text was updated successfully, but these errors were encountered: