Comments (7)
Even better would be a check that exports the source tree from version control (svn export, git archive, bzr export, hg archive) and compares it to the archive produced by setup.py sdist.
I've ad-hoc makefile rules doing that on 'make distcheck' on all of my projects. It helps me catch files I've forgotten to add to MANIFEST.in.
from zest.releaser.
check-manifest now has a zest.releaser entry-point that will check MANIFEST.in for completeness before the release.
from zest.releaser.
Sounds nice! I'll try it out. If it works the way it sounds, I'll add a suggestion somewhere in the zest.releaser docs.
It has been a long time since I added the entry point mechanism: did it work OK for you? Docs good enough? Just wondering in general :-) Not many people actually made use of them, that's why I want to know.
from zest.releaser.
It worked fine. I used zest.pocompile as an example, which taught me about zest.releaser.utils.ask
, which was very useful.
There was one minor stumbling block: I initially misspelled the entry point name as zest.releaser.prerelease.before
. After I fixed it to be zest.releaser.*prereleaser*.before
, I wasted some time in pdb because I didn't realize pip install .
wouldn't actually update the egg metadata in my virtualenv because the 0.8.dev
version number didn't change. pip install -U .
fixed that and then it was plain sailing.
from zest.releaser.
@mauritsvanrees : would check-manifest be something for the recommended list? See #49
from zest.releaser.
@reinout: definitely, it was already on that list for me. :-)
And that seems enough reason to close this issue.
Alternatively, either zest.releaser or a plugin could actually try installing it in a virtualenv:
virtualenv dummy
cd dummy
bin/pip install --no-deps ../dist/my-distribution-file.tgz
Or with similar code after the release try to install it from PyPI:
bin/pip install --no-deps actual-package-name
That means a dependency on virtualenv, though everyone should already have that. Best done as a plugin I guess.
Anyway, I'll close this issue now, but at least there are a few more ideas to work on if anyone wants to.
from zest.releaser.
I said I would close the issue, so I should do that...
from zest.releaser.
Related Issues (20)
- Passing version as a command-line parameter to `prerelease` and `fullrelease` HOT 2
- Unexpected `prerelease` behaviour with Changelog containing markdown links HOT 2
- Documentation: hook_package_dir en entrypoints section.
- support [tool:zest.releaser] in setup.cfg HOT 2
- support pep621 HOT 4
- Future plans for zest.releaser HOT 4
- Prefixing git tags with a "v" HOT 2
- Check version for PEP440 HOT 3
- bumprelease functionality HOT 6
- zest.releaser with plone.releaser breaks when not in a buildout.coredev environment HOT 3
- Failed git push does not fail release HOT 6
- Possibility to add prefix to commit messages HOT 6
- ValueError: binary mode doesn't take an encoding argument HOT 9
- fullrelease: error: no such option: --no-input HOT 8
- sdist is missing tox.ini HOT 1
- tests fails with non-GNU ls HOT 4
- testing: the following arguments are required: message HOT 1
- testing: bumpversion and postrelease tests fails HOT 3
- Always create wheels, when possible HOT 2
- Warn/ask to verify for deprecation notices when making a major release HOT 4
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 zest.releaser.