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

pyproject.toml is not included in the distribution #55

Closed
davidparsson opened this issue Jul 8, 2021 · 6 comments
Closed

pyproject.toml is not included in the distribution #55

davidparsson opened this issue Jul 8, 2021 · 6 comments

Comments

@davidparsson
Copy link
Contributor

See #49 (comment).

I would reopen #49 if I could, but since I can't, I'm opening a new issue instead. Probably a duplicate of #53.

@davidparsson davidparsson changed the title Numpy should be a build-system dependency pyproject.toml is not included in the distribution Jul 8, 2021
@jkfurtney
Copy link
Member

OK Hopefully this is a quick fix. I added the pyproject.toml to the manifest file. I put a test version on the test pyPI: https://test.pypi.org/project/scikit-fmm/

Can someone test it? pip install -i https://test.pypi.org/simple/ scikit-fmm

If everything looks good, I can push out the official version in the morning.

@davidparsson
Copy link
Contributor Author

davidparsson commented Jul 9, 2021

Edit: See #55 (comment)

The file is included in the archive now, and I tested, but got the following error:

  ERROR: Could not find a version that satisfies the requirement setuptools (from versions: none)
  ERROR: No matching distribution found for setuptools

I don't understand why, though.

@davidparsson
Copy link
Contributor Author

davidparsson commented Jul 9, 2021

Ok, the package works fine now. The issue above was the install command. setuptools and wheel cannot be found on the testing index.

When running like this it works:

$ pip install --extra-index-url https://test.pypi.org/simple/ scikit-fmm==2021.7.8

Thanks!

@jkfurtney
Copy link
Member

OK, I pushed the release to pyPI. Thanks for your help David. I will leave this open for a few days in case there are other problems.

@davidparsson
Copy link
Contributor Author

Thank you @jkfurtney! I'll try it within a day or two.

@davidparsson
Copy link
Contributor Author

It works like a charm. Thanks again!

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

No branches or pull requests

2 participants