-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
boto3 | ||
click | ||
hatanaka | ||
matplotlib | ||
numpy | ||
pandas | ||
plotext==4.2 | ||
plotly | ||
pymongo | ||
pytest | ||
scipy | ||
tqdm | ||
unlzw3 | ||
typing_extensions |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
# Read the contents of README file | ||
this_directory = Path(__file__).parent | ||
readme_text = (this_directory / "README.md").read_text() | ||
requirements = (this_directory / "requirements.txt").read_text().splitlines() | ||
This comment has been minimized.
Sorry, something went wrong.
treefern
Collaborator
|
||
|
||
setuptools.setup( | ||
include_package_data=True, | ||
|
@@ -14,22 +15,7 @@ | |
author_email="GNSSAnalysis@ga.gov.au", | ||
package_data={"gnssanalysis": ["py.typed"]}, | ||
packages=setuptools.find_packages(), | ||
install_requires=[ | ||
"boto3", | ||
"click", | ||
"hatanaka", | ||
"matplotlib", | ||
"numpy", | ||
"pandas", | ||
"plotext==4.2", | ||
"plotly", | ||
"pymongo", | ||
"pytest", | ||
"scipy", | ||
"tqdm", | ||
"unlzw3", | ||
"typing_extensions", | ||
], | ||
install_requires=requirements, | ||
entry_points={ | ||
"console_scripts": [ | ||
"diffutil = gnssanalysis:gn_utils.diffutil", | ||
|
I'd suggest installing
gnssanalysis
itself, in order to get the dependencies installed viasetup.py
. Specifically:Remove the version line used for published builds. Forget about filling in the version, we don't need it here:
sed -i "/{{VERSION_PLACEHOLDER}}/d" setup.py
Install, leveraging setup.py:
pip install .
All the other junk I wrote becomes redundant at that point (sorry for the runaround).