-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
53 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
Releasing csvw | ||
============== | ||
|
||
- Do platform test via tox: | ||
``` | ||
tox -r --skip-missing-interpreters | ||
``` | ||
|
||
- Make sure statement coverage is at 100% | ||
- Make sure flake8 passes: | ||
``` | ||
flake8 csvw | ||
``` | ||
|
||
- Change version to the new version number in | ||
|
||
- `setup.py` | ||
- `csvw/__init__.py` | ||
|
||
- Bump version number: | ||
``` | ||
git commit -a -m"bumped version number" | ||
``` | ||
|
||
- Create a release tag: | ||
``` | ||
git tag -a v<version> -m"first version to be released on pypi" | ||
``` | ||
|
||
- Push to github: | ||
``` | ||
git push origin | ||
git push --tags | ||
``` | ||
|
||
- Make sure your system Python has ``setuptools-git`` installed and release to PyPI: | ||
``` | ||
git checkout tags/v$1 | ||
rm dist/* | ||
python setup.py sdist bdist_wheel | ||
twine upload dist/* | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# _compat.py - Python 2/3 compatibility | ||
# flake8: noqa | ||
|
||
import io | ||
import sys | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters