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 againnumconv / setup.py
- commit
- 12687d95f46e
- parent
- 3e4be71ff667
- branch
- default
updated setup.py
1 |
ce634564308e
|
#!/usr/bin/env python |
2 |
ce634564308e
|
|
3 |
145d8554302c
|
import os |
4 |
ce634564308e
|
from distutils.core import setup |
5 |
ce634564308e
|
|
6 |
12687d95f46e
|
version = '2.1.1' |
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 |
be60873968b2
|
"Programming Language :: Python :: 2.4", |
14 |
be60873968b2
|
"Programming Language :: Python :: 2.5", |
15 |
be60873968b2
|
"Programming Language :: Python :: 2.6", |
16 |
be60873968b2
|
"Programming Language :: Python :: 2.7", |
17 |
be60873968b2
|
"Programming Language :: Python :: 3", |
18 |
be60873968b2
|
"Programming Language :: Python :: 3.0", |
19 |
be60873968b2
|
"Programming Language :: Python :: 3.1", |
20 |
bbef845a6732
|
"Operating System :: OS Independent", |
21 |
bbef845a6732
|
"Topic :: Software Development :: Libraries", |
22 |
bbef845a6732
|
] |
23 |
ce634564308e
|
|
24 |
145d8554302c
|
root_dir = os.path.dirname(__file__) |
25 |
be60873968b2
|
if not root_dir: |
26 |
be60873968b2
|
root_dir = '.' |
27 |
be60873968b2
|
long_desc = open(root_dir + '/README').read() |
28 |
145d8554302c
|
|
29 |
ce634564308e
|
setup( |
30 |
bbef845a6732
|
name='numconv', |
31 |
bbef845a6732
|
version=version, |
32 |
12687d95f46e
|
url='https://tabo.pe/projects/numconv/', |
33 |
bbef845a6732
|
author='Gustavo Picon', |
34 |
804901c93a86
|
author_email='tabo@tabo.pe', |
35 |
bbef845a6732
|
license='Apache License 2.0', |
36 |
bbef845a6732
|
py_modules=['numconv'], |
37 |
bbef845a6732
|
description='Python library to convert strings to numbers ' |
38 |
bbef845a6732
|
'and numbers to strings.', |
39 |
bbef845a6732
|
classifiers=classifiers, |
40 |
145d8554302c
|
long_description=long_desc, |
41 |
ce634564308e
|
) |