From a39a319b096b1b2b1775ae1a91117c19422a6c81 Mon Sep 17 00:00:00 2001 From: Alex Stapleton Date: Fri, 14 Mar 2014 20:03:12 +0000 Subject: Move cryptography.vectors to cryptography_vectors All vectors are now stored in the subpackage in the vectors/ folder. This package is automatically installed by setup.py test and will also be uploaded with a matching version number by the PyPI upload task. --- tasks.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tasks.py') diff --git a/tasks.py b/tasks.py index 8e6cdab5..c124560e 100644 --- a/tasks.py +++ b/tasks.py @@ -84,7 +84,12 @@ def release(version): invoke.run("git push --tags") invoke.run("python setup.py sdist") - invoke.run("twine upload -s dist/cryptography-{0}*".format(version)) + invoke.run("python vectors/setup.py sdist") + + invoke.run( + "twine upload -s dist/cryptography-{0}* " + "dist/cryptography_vectors-{0}*".format(version) + ) token = getpass.getpass("Input the Jenkins token: ") response = requests.post( -- cgit v1.2.3 From 3888a84c2b7fc45adf3fa665880d554c1766165e Mon Sep 17 00:00:00 2001 From: Alex Stapleton Date: Mon, 24 Mar 2014 23:05:53 +0000 Subject: Fix bug in release task and style fixes tasks.py was building tarballs/sdists that didn't actually have vectors in because of setup.pys reliance on the cwd. --- tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tasks.py') diff --git a/tasks.py b/tasks.py index c124560e..c205ac88 100644 --- a/tasks.py +++ b/tasks.py @@ -84,11 +84,11 @@ def release(version): invoke.run("git push --tags") invoke.run("python setup.py sdist") - invoke.run("python vectors/setup.py sdist") + invoke.run("cd vectors/ && python setup.py sdist bdist_wheel") invoke.run( "twine upload -s dist/cryptography-{0}* " - "dist/cryptography_vectors-{0}*".format(version) + "vectors/dist/cryptography_vectors-{0}*".format(version) ) token = getpass.getpass("Input the Jenkins token: ") -- cgit v1.2.3