-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #371 from meejah/drop-python2
Drop python2
- Loading branch information
Showing
7 changed files
with
19 additions
and
62 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.PHONY: test html counts coverage sdist clean install doc integration diagrams | ||
default: test | ||
VERSION = 22.0.0 | ||
VERSION = 23.0.0 | ||
|
||
test: | ||
PYTHONPATH=. trial --reporter=text test | ||
|
@@ -99,37 +99,35 @@ counts: | |
test-release: dist | ||
./scripts/test-release.sh $(shell pwd) ${VERSION} | ||
|
||
dist: dist/txtorcon-${VERSION}-py2.py3-none-any.whl dist/txtorcon-${VERSION}.tar.gz | ||
dist: dist/txtorcon-${VERSION}-py3-none-any.whl dist/txtorcon-${VERSION}.tar.gz | ||
|
||
dist-sigs: dist/txtorcon-${VERSION}-py2.py3-none-any.whl.asc dist/txtorcon-${VERSION}.tar.gz.asc | ||
dist-sigs: dist/txtorcon-${VERSION}-py3-none-any.whl.asc dist/txtorcon-${VERSION}.tar.gz.asc | ||
|
||
sdist: setup.py | ||
python setup.py check | ||
python setup.py sdist | ||
|
||
dist/txtorcon-${VERSION}-py2.py3-none-any.whl: | ||
dist/txtorcon-${VERSION}-py3-none-any.whl: | ||
python setup.py check | ||
python setup.py bdist_wheel --universal | ||
python setup.py bdist_wheel | ||
|
||
dist/txtorcon-${VERSION}-py2.py3-none-any.whl.asc: dist/txtorcon-${VERSION}-py2.py3-none-any.whl | ||
gpg --verify dist/txtorcon-${VERSION}-py2.py3-none-any.whl.asc || gpg --pinentry loopback --no-version --detach-sign --armor --local-user [email protected] dist/txtorcon-${VERSION}-py2.py3-none-any.whl | ||
dist/txtorcon-${VERSION}-py3-none-any.whl.asc: dist/txtorcon-${VERSION}-py3-none-any.whl | ||
gpg --verify dist/txtorcon-${VERSION}-py3-none-any.whl.asc || gpg --pinentry loopback --no-version --detach-sign --armor --local-user [email protected] dist/txtorcon-${VERSION}-py3-none-any.whl | ||
|
||
dist/txtorcon-${VERSION}.tar.gz: sdist | ||
dist/txtorcon-${VERSION}.tar.gz.asc: dist/txtorcon-${VERSION}.tar.gz | ||
gpg --verify dist/txtorcon-${VERSION}.tar.gz.asc || gpg --pinentry loopback --no-version --detach-sign --armor --local-user [email protected] dist/txtorcon-${VERSION}.tar.gz | ||
|
||
release: | ||
twine upload -r pypi -c "txtorcon v${VERSION} tarball" dist/txtorcon-${VERSION}.tar.gz dist/txtorcon-${VERSION}.tar.gz.asc | ||
twine upload -r pypi -c "txtorcon v${VERSION} wheel" dist/txtorcon-${VERSION}-py2.py3-none-any.whl dist/txtorcon-${VERSION}-py2.py3-none-any.whl.asc | ||
twine upload -r pypi -c "txtorcon v${VERSION} wheel" dist/txtorcon-${VERSION}-py3-none-any.whl dist/txtorcon-${VERSION}-py3-none-any.whl.asc | ||
|
||
|
||
venv: | ||
virtualenv --never-download --extra-search-dir=/usr/lib/python2.7/dist-packages/ venv | ||
virtualenv venv | ||
./venv/bin/pip install -r requirements.txt | ||
./venv/bin/pip install -r dev-requirements.txt | ||
@echo "created venv" | ||
@echo "see INSTALL for more information; to use:" | ||
@echo ". ./venv/bin/activate" | ||
@echo "pip install -r requirements.txt" | ||
@echo "pip install -r dev-requirements.txt" | ||
@echo "python examples/monitor.py" | ||
|
||
html: docs/*.rst | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
__version__ = '22.0.0' | ||
__version__ = '23.0.0' | ||
__author__ = 'meejah' | ||
__contact__ = '[email protected]' | ||
__url__ = 'https://github.com/meejah/txtorcon' | ||
__license__ = 'MIT' | ||
__copyright__ = 'Copyright 2012-2022' | ||
__copyright__ = 'Copyright 2012-2023' |