File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change
1
+ VERSION := $(shell python setup.py --version)
2
+
1
3
setup :
2
4
test -e env || virtualenv env
3
5
./env/bin/pip install -r requirements.txt --upgrade
@@ -14,8 +16,12 @@ ci-test:
14
16
py.test tests
15
17
16
18
deploy : setup
19
+ git tag $(VERSION )
20
+ git push --tags
17
21
rm dist/*
18
- python setup.py sdist
19
- twine upload dist/*
22
+ ./env/bin/python setup.py sdist
23
+ gpg --detach-sign -a dist/dnsimple-$(VERSION ) .tar.gz
24
+ ./env/bin/pip install twine --upgrade
25
+ ./env/bin/twine upload dist/*
20
26
21
27
.PHONY : test
Original file line number Diff line number Diff line change 13
13
version = dnsimple .__version__ ,
14
14
description = u' ' .join (dnsimple .__doc__ .splitlines ()).strip (),
15
15
long_description = readme ,
16
+ maintainer = 'David Aronsohn' ,
17
+ maintainer_email = '[email protected] ' ,
16
18
packages = find_packages (),
17
19
include_package_data = True ,
18
20
zip_safe = False ,
You can’t perform that action at this time.
0 commit comments