8000 2.0.0rc2 - Updates to enable PyPi hosting. by JDhillonEIT · Pull Request #2 · EIT-Pathogena/hostile-eit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

2.0.0rc2 - Updates to enable PyPi hosting. #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

JDhillonEIT
Copy link
@JDhillonEIT JDhillonEIT commented Jul 24, 2024

Upon going to upload to PyPi, I realised this would upload to hostile which of course already exists!

Changed the code references so that pyproject.toml is correctly used, the entrypoint is still the same hostile --version etc.

Also first pass at a reusable GitHub workflow: https://github.com/EIT-Pathogena/common-workflows/blob/main/.github/workflows/build-and-push-to-ocir.yml

@@ -33,7 +33,7 @@ def choose_default_thread_count(cpu_count: int) -> int:
CACHE_DIR = (
Path(os.environ.get("HOSTILE_CACHE_DIR", ""))
if os.environ.get("HOSTILE_CACHE_DIR")
else Path(user_data_dir("hostile-eit", "Bede Constantinides"))
else Path(user_data_dir("hostile_eit-eit", "Bede Constantinides"))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could I ask why we need to change this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh we definitely don't need this one, that's a bug!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@JDhillonEIT JDhillonEIT merged commit 8d73746 into main Jul 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0