Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f656efe

Browse files
aluzzardibombela
authored andcommitted
Package cleanup
1 parent eb73b89 commit f656efe

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

setup.py

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,20 @@
2222
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
# SOFTWARE.
2424

25+
import zerorpc
26+
27+
try:
28+
from setuptools import setup
29+
except ImportError:
30+
from distutils.core import setup
2531

26-
from setuptools import setup
2732

2833
setup(
2934
name = 'zerorpc',
30-
version = '0.1.0',
31-
author = 'dotCloud inc. <[email protected]>',
32-
package_dir = {'zerorpc': '.'},
35+
version = zerorpc.__version__,
36+
description = 'zerorpc is a flexible RPC based on zeromq.',
37+
author = zerorpc.__author__,
38+
url = 'https://github.com/dotcloud/zerorpc-python',
3339
packages = ['zerorpc'],
3440
install_requires = [
3541
'argparse',
@@ -40,5 +46,13 @@
4046
zip_safe = False,
4147
scripts = [
4248
'bin/zerorpc-client'
43-
]
44-
)
49+
],
50+
license = 'MIT',
51+
classifiers=(
52+
'Development Status :: 5 - Production/Stable',
53+
'Intended Audience :: Developers',
54+
'Natural Language :: English',
55+
'License :: OSI Approved :: MIT License',
56+
'Programming Language :: Python',
57+
),
58+
)

__init__.py renamed to zerorpc/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,10 @@
2222
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
# SOFTWARE.
2424

25+
__title__ = 'zerorpc'
26+
__version__ = '0.1.0'
27+
__author__ = 'dotCloud, Inc.'
28+
__license__ = 'MIT'
29+
__copyright__ = 'Copyright 2012 dotCloud, Inc.'
2530

2631
from gevent_zerorpc import *
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)