Switch to pbr

Resolves issue #16
This commit is contained in:
Julien Danjou 2013-09-17 14:16:32 +02:00
parent 1482cf264f
commit 35d442370c
5 changed files with 56 additions and 69 deletions

4
.gitignore vendored
View File

@ -28,3 +28,7 @@ pip-log.txt
# Editors
tags
# pbr generated files
AUTHORS
ChangeLog

View File

@ -220,10 +220,10 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'stevedore', u'stevedore Documentation',
[u'DreamHost'], 1)
]
# man_pages = [
# ('index', 'stevedore', u'stevedore Documentation',
# [u'DreamHost'], 1)
# ]
# If true, show URL addresses after external links.
#man_show_urls = False

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
argparse

43
setup.cfg Normal file
View File

@ -0,0 +1,43 @@
[metadata]
name = stevedore
version = 0.11
description-file = README.rst
author = Doug Hellmann
author-email = doug.hellmann@dreamhost.com
summary = Manage dynamic plugins for Python applications
home-page = https://github.com/dreamhost/stevedore
classifier =
Development Status :: 3 - Alpha
License :: OSI Approved :: Apache Software License
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.2
Programming Language :: Python :: 3.3
Intended Audience :: Developers
Environment :: Console
[global]
setup-hooks =
pbr.hooks.setup_hook
[files]
packages =
stevedore
[entry_points]
stevedore.example.formatter =
simple = stevedore.example.simple:Simple
field = stevedore.example.fields:FieldList
plain = stevedore.example.simple:Simple
stevedore.test.extension =
t1 = stevedore.tests.test_extension:FauxExtension
t2 = stevedore.tests.test_extension:FauxExtension
[build_sphinx]
all_files = 1
build-dir = docs/build
source-dir = docs/source

View File

@ -1,67 +1,6 @@
#!/usr/bin/env python
import setuptools
from setuptools import setup, find_packages
try:
long_description = open('README.rst', 'rt').read()
except IOError:
long_description = ''
install_requires = []
try:
import argparse # noqa
except ImportError:
install_requires.append('argparse')
setup(
name='stevedore',
version='0.11',
description='Manage dynamic plugins for Python applications',
long_description=long_description,
author='Doug Hellmann',
author_email='doug.hellmann@dreamhost.com',
url='https://github.com/dreamhost/stevedore',
download_url='https://github.com/dreamhost/stevedore/tarball/master',
classifiers=['Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Intended Audience :: Developers',
'Environment :: Console',
],
platforms=['Any'],
scripts=[],
provides=['stevedore',
],
install_requires=install_requires,
namespace_packages=[],
packages=find_packages(),
include_package_data=True,
entry_points={
'stevedore.example.formatter': [
'simple = stevedore.example.simple:Simple',
'field = stevedore.example.fields:FieldList',
'plain = stevedore.example.simple:Simple',
],
'stevedore.test.extension': [
't1 = stevedore.tests.test_extension:FauxExtension',
't2 = stevedore.tests.test_extension:FauxExtension',
],
},
zip_safe=False,
)
setuptools.setup(
setup_requires=['pbr>=0.5.21,<1.0'],
pbr=True)