Comments (5)
That sounds like a me thing :-)
Steps to make this happen are:
- Add
[wheel]
universal = 1
to your setup.cfg
- Run
setup.py bdist_wheel upload
as a part of your release process.
from testtools.
Thanks!
I've got a whole bunch of questions though:
- how do I best ensure that others on the project have
wheel
installed? The last thing I want to do is break the release process for them- i.e. what's the best way to add
wheel
as a development dependency?
- i.e. what's the best way to add
- there's no
sign
command in your example: how do I sign the uploaded wheel? - currently the release process does
sdist upload --sign
, can I separate theupload
command to its own line?- i.e. will a solo
upload --sign
sign & upload everything?
- i.e. will a solo
I'm investigating these myself now, but hope that making my questions explicit can serve as a starting point for improving documentation.
from testtools.
- You should still upload sdists as well, so it'll work for everyone.
- Really the best way to do this would be
setup.py sdist bdist_wheel
and thentwine upload -s dist/<the files>
(https://warehouse.python.org/project/twine/)
from testtools.
I am happy to install additional deps such as wheel as part of the release process. @alex care to make a PR up? We have some automation - see the docs - if you fit into that, we're set.
from testtools.
Applied to docs.
from testtools.
Related Issues (20)
- Please make a new release HOT 2
- Deprecate testtools.distutilscmd?
- `TestCase.subTest` does not isolate tests
- βIt is no longer useless β¦β in NEWS
- Release to support Python 3.10 HOT 1
- Update `doc/description.rst`
- trailing newline in str comparison is hard to spot
- Compatibility with Python 3.11
- The testtools documentation on readthedocs is not up to date. HOT 3
- 2.5.0 + master: sphinx warnings `reference target not found`
- 2.5.0 + master (b68af1b0): pytest is failing HOT 18
- Test failures with PyPy3.9 HOT 2
- deprecation warning on Python 3.11: 'cgi' is deprecated and slated for removal in Python 3.13 HOT 1
- testcase.py __eq__ function throwing an error
- AttributeError: module 'email' has no attribute 'message' HOT 1
- `testtools` fails to import with Python 3.12 HOT 4
- Issue a python3.12 release HOT 1
- 2.7.0 sdist is unusable (builds version "0.0.0")
- Missing dependency on fixtures since 2.7.0 HOT 1
- Pytest 8: AttributeError: 'TestExpectedException' object has no attribute 'runTest'. Did you mean: 'subTest'? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testtools.