Skip to content

Commit

Permalink
Merge pull request #21 from euroargodev/pypi
Browse files Browse the repository at this point in the history
Prepare VirtualFleet for publication as a pypi package
  • Loading branch information
gmaze authored Jan 25, 2023
2 parents f5bb4a3 + b4c2621 commit 6eba49f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
# if: github.event_name == 'push'
run: |
python -m pip install --upgrade pip
python -m pip install dist/virtualfleet*.whl
python -m pip install dist/VirtualFleet*.whl
- name: Publish package to TestPyPI
# if: github.event_name == 'push'
Expand All @@ -83,7 +83,7 @@ jobs:
repository_url: https://test.pypi.org/legacy/
verbose: true
# verify_metadata: false
# skip_existing: true
skip_existing: true

upload-to-pypi:
needs: test-built-dist
Expand Down
9 changes: 7 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
[options]
packages = find:
packages = find_namespace:
package_dir =
= .
include_package_data = True
exclude = './binder, ./docs, ./.github, ./examples, ./local_work, ./__pycache__, ./.coveragerc'
zip_safe = False # https://mypy.readthedocs.io/en/latest/installed_packages.html
include_package_data = True

[options.packages.find]
where = virtualargofloat

install_requires =
numpy >= 1.18
Expand Down

0 comments on commit 6eba49f

Please sign in to comment.