From c554d1d36d67711ac4bbaa28d525901438acfec8 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 9 Aug 2015 10:59:27 -0700 Subject: [PATCH] Changes to support release on PyPI. Now pip installable by name! --- .hgignore | 1 + NEWS | 4 ++++ README.md | 2 +- setup.cfg | 3 +++ setup.py | 17 ++++++++++++++++- 5 files changed, 25 insertions(+), 2 deletions(-) diff --git a/.hgignore b/.hgignore index d7c266a..d814e38 100644 --- a/.hgignore +++ b/.hgignore @@ -3,3 +3,4 @@ syntax: glob *.pyc *.swp .tox +dist diff --git a/NEWS b/NEWS index 367281e..482da6b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +0.1.5 + + * Changes to support release on PyPI. Now pip installable by name! + 0.1.4 * Adding test that setup.py version matches release version. diff --git a/README.md b/README.md index ce38d80..8ed8548 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ key-based ssh access to the desired user account on the remote host. To install atticmatic, run the following command to download and install it: - sudo pip install --upgrade hg+https://torsion.org/hg/atticmatic + sudo pip install --upgrade atticmatic If you are using Attic, copy the following configuration files: diff --git a/setup.cfg b/setup.cfg index ead29d1..222a3da 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,5 @@ +[metadata] +description-file=README.md + [nosetests] detailed-errors=1 diff --git a/setup.py b/setup.py index 5aee184..ad32a14 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,26 @@ from setuptools import setup, find_packages + +VERSION = '0.1.5' + + setup( name='atticmatic', - version='0.1.4', + version=VERSION, description='A wrapper script for Attic/Borg backup software that creates and prunes backups', author='Dan Helfman', author_email='witten@torsion.org', + url='https://torsion.org/atticmatic', + download_url='https://torsion.org/hg/atticmatic/archive/%s.tar.gz' % VERSION, + classifiers=( + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Intended Audience :: System Administrators', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'Programming Language :: Python', + 'Topic :: Security :: Cryptography', + 'Topic :: System :: Archiving :: Backup', + ), packages=find_packages(), entry_points={ 'console_scripts': [