Skip to content

Commit

Permalink
Switch to pbr
Browse files Browse the repository at this point in the history
Resolves issue #16
  • Loading branch information
jd committed Sep 18, 2013
1 parent 1482cf2 commit 35d4423
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 69 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -28,3 +28,7 @@ pip-log.txt

# Editors
tags

# pbr generated files
AUTHORS
ChangeLog
8 changes: 4 additions & 4 deletions docs/source/conf.py
Expand Up @@ -220,10 +220,10 @@

# 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
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
@@ -0,0 +1 @@
argparse
43 changes: 43 additions & 0 deletions setup.cfg
@@ -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
69 changes: 4 additions & 65 deletions setup.py
@@ -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)

0 comments on commit 35d4423

Please sign in to comment.