Gustavo Picon is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

tabo / numconv

Python library to convert strings to numbers and numbers to strings. Docs: http://docs.tabo.pe/numconv/tip/

Clone this repository (size: 168.1 KB): HTTPS / SSH
hg clone https://bitbucket.org/tabo/numconv
hg clone ssh://hg@bitbucket.org/tabo/numconv

numconv / setup.py

commit
87cc2284ce7f
parent
40a88c0be047
branch
default

fixed path bug in setup.py

1
ce634564308e
#!/usr/bin/env python
2
ce634564308e
3
145d8554302c
import os
4
ce634564308e
from distutils.core import setup
5
ce634564308e
6
3c899a8a3971
version = '2.0'
7
bbef845a6732
8
bbef845a6732
classifiers = [
9
bbef845a6732
    "Development Status :: 5 - Production/Stable",
10
bbef845a6732
    "Intended Audience :: Developers",
11
bbef845a6732
    "License :: OSI Approved :: Apache Software License",
12
bbef845a6732
    "Programming Language :: Python",
13
bbef845a6732
    "Operating System :: OS Independent",
14
bbef845a6732
    "Topic :: Software Development :: Libraries",
15
bbef845a6732
]
16
ce634564308e
17
145d8554302c
root_dir = os.path.dirname(__file__)
18
87cc2284ce7f
long_desc = open((root_dir if root_dir else '.')+'/README').read()
19
145d8554302c
20
ce634564308e
setup(
21
bbef845a6732
    name='numconv',
22
bbef845a6732
    version=version,
23
804901c93a86
    url='http://code.tabo.pe/numconv/',
24
bbef845a6732
    author='Gustavo Picon',
25
804901c93a86
    author_email='tabo@tabo.pe',
26
bbef845a6732
    license='Apache License 2.0',
27
bbef845a6732
    py_modules=['numconv'],
28
bbef845a6732
    description='Python library to convert strings to numbers '
29
bbef845a6732
                'and numbers to strings.',
30
bbef845a6732
    classifiers=classifiers,
31
145d8554302c
    long_description=long_desc,
32
ce634564308e
)