tabo / numconv
Python library to convert strings to numbers and numbers to strings. Docs: http://docs.tabo.pe/numconv/tip/
| commit 36: | be60873968b2 |
| parent 35: | aedd8bfa240b |
| branch: | default |
adding 2.4-3.1 compatibility to setup.py
Changed (Δ326 bytes):
raw changeset »
setup.py (10 lines added, 1 lines removed)
| … | … | @@ -10,12 +10,21 @@ classifiers = [ |
10 |
10 |
"Intended Audience :: Developers", |
11 |
11 |
"License :: OSI Approved :: Apache Software License", |
12 |
12 |
"Programming Language :: Python", |
13 |
"Programming Language :: Python :: 2.4", |
|
14 |
"Programming Language :: Python :: 2.5", |
|
15 |
"Programming Language :: Python :: 2.6", |
|
16 |
"Programming Language :: Python :: 2.7", |
|
17 |
"Programming Language :: Python :: 3", |
|
18 |
"Programming Language :: Python :: 3.0", |
|
19 |
"Programming Language :: Python :: 3.1", |
|
13 |
20 |
"Operating System :: OS Independent", |
14 |
21 |
"Topic :: Software Development :: Libraries", |
15 |
22 |
] |
16 |
23 |
|
17 |
24 |
root_dir = os.path.dirname(__file__) |
18 |
long_desc = open((root_dir if root_dir else '.') + '/README').read() |
|
25 |
if not root_dir: |
|
26 |
root_dir = '.' |
|
27 |
long_desc = open(root_dir + '/README').read() |
|
19 |
28 |
|
20 |
29 |
setup( |
21 |
30 |
name='numconv', |
