Skip to content
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

Fix PyPI url #259

Merged
merged 1 commit into from
Mar 16, 2021
Merged

Fix PyPI url #259

merged 1 commit into from
Mar 16, 2021

Conversation

janjagusch
Copy link
Contributor

@janjagusch janjagusch commented Mar 16, 2021

Closes #258

$ ls dist
jupyter-server-proxy-3.0.0.tar.gz           jupyter_server_proxy-3.0.0-py3-none-any.whl

The .tar.gz file now has the correct name.

@janjagusch janjagusch changed the title use - in name Fix PyPI url Mar 16, 2021
@janjagusch janjagusch marked this pull request as ready for review March 16, 2021 12:32
@janjagusch
Copy link
Contributor Author

@consideRatio, this should solve our issue in conda-forge/jupyter-server-proxy-feedstock#20 as well. :)

@@ -73,7 +73,7 @@
pkg_json = json.loads((HERE / "jupyterlab-server-proxy" / "package.json").read_bytes())

setup_args = dict(
name=name,
name=name.replace("_", "-"),
Copy link
Member

Choose a reason for hiding this comment

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

There are other references to the name, do you think it is correct for those to not be changes alongside this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe the other name references should keep the _ because we're actually referencing a directory in those cases. The entire npm build will break if we rename the original name variable (I tried that first, actually).

By only changing it in the setup_args I think the entire build process stays the same and the only thing that changes is the name of the .tar.gz file.

@consideRatio
Copy link
Member

@janjagusch nice I've released 3.0.1 now with this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PyPI release URL has changed
2 participants