Permalink
Browse files

introduce versioneer and changes tracking

  • Loading branch information...
1 parent 93cbee6 commit 40e178d1952fd827ba941e0deeab2b7c714e1228 @atl committed May 2, 2012
Showing with 668 additions and 1 deletion.
  1. +9 −0 CHANGES.rst
  2. +2 −0 MANIFEST.in
  3. +9 −1 setup.py
  4. +648 −0 versioneer.py
View
@@ -0,0 +1,9 @@
+Changes
+-------
+
+0.1.3 (2012-05-03)
+~~~~~~~~~~~~~~~~~~
+
+* Changed logic around ssh-agent: if one key is available, don't bother with any other method
+* Changed logic around key file usage: if decryption fails, prompt for password
+* Introduce versioneer.py
View
@@ -1 +1,3 @@
include README.rst
+include CHANGES.rst
+include versioneer.py
View
@@ -1,11 +1,19 @@
from setuptools import setup, find_packages
+import versioneer
+versioneer.versionfile_source = 'http_signature/_version.py'
+versioneer.versionfile_build = 'http_signature/_version.py'
+versioneer.tag_prefix = 'v' # tags are like 1.2.0
+versioneer.parentdir_prefix = 'http_signature-' # dirname like 'myproject-1.2.0'
with open('README.rst') as file:
long_description = file.read()
+with open('CHANGES.rst') as file:
+ long_description += '\n\n' + file.read()
setup(
name='http_signature',
- version='0.1.2',
+ version=versioneer.get_version(),
+ cmdclass=versioneer.get_cmdclass(),
description="Simple secure signing for HTTP requests using http-signature",
long_description=long_description,
classifiers=[
Oops, something went wrong.

0 comments on commit 40e178d

Please sign in to comment.