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

tox environments for building packages and uploading to pypi #104

Open
lengau opened this issue Jun 23, 2023 · 1 comment
Open

tox environments for building packages and uploading to pypi #104

lengau opened this issue Jun 23, 2023 · 1 comment
Labels
Enhancement New feature or request good first issue Good for newcomers

Comments

@lengau
Copy link
Contributor

lengau commented Jun 23, 2023

It would be nice if I could run something like:

tox -m publish to build the sdist and any necessary wheels and then upload them to pypi using twine.

@lengau lengau added Enhancement New feature or request good first issue Good for newcomers labels Jun 23, 2023
@lengau
Copy link
Contributor Author

lengau commented Jun 23, 2023

Some basic ideas for implementation:

  1. A build environment that could later get various build factors if needed (e.g. different Python versions if we end up building version-specific wheels)
  2. A twine environment that runs twine upload
  3. Possibly have the twine environment run twine check before uploading, failing if the check fails?
  4. Make sure the environment that does the upload depends on the build environment(s)
  5. A label that runs all those environments, allowing the dependencies to figure out order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant