Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py rewritten to use pbr (and setup.cfg) #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
*.egg
*.egg-info
*.pyc
*.pyo
.DS_Store
.tox
AUTHORS
ChangeLog
MANIFEST
build
dist
Expand Down
4 changes: 0 additions & 4 deletions MANIFEST.in

This file was deleted.

1 change: 0 additions & 1 deletion VERSION

This file was deleted.

2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pyzmq
argparse>=1.2.1
25 changes: 25 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[metadata]
name = zmqc
author = Zachary Voase
author-email = [email protected]
summary = A small but powerful command-line interface to ØMQ.
description-file =
README.md
home-page = http://github.com/zacharyvoase/zmqc
requires-python = >=2.6
classifier =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Information Technology
License :: Freeware
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7

[files]
packages =
lib/zmqc

[entry_points]
console_scripts =
zmqc = zmqc:main
26 changes: 1 addition & 25 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup
import os.path as p

VERSION = open(p.join(p.dirname(p.abspath(__file__)), 'VERSION')).read().strip()

setup(
name='zmqc',
version=VERSION,
description=u'A small but powerful command-line interface to ØMQ.',
author='Zachary Voase',
author_email='[email protected]',
url='http://github.com/zacharyvoase/zmqc',
package_dir={'': 'lib'},
py_modules=['zmqc'],
install_requires=[
'pyzmq',
'argparse>=1.2.1',
],
entry_points={
'console_scripts': [
'zmqc = zmqc:main',
],
},
)
setup(setup_requires=["pbr"], pbr=True)