-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
45 lines (38 loc) · 1.56 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env python
#This file is part of numword. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
import os
import re
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def get_version():
init = read(os.path.join('numword', '__init__.py'))
return re.search("__version__ = '([0-9.]*)'", init).group(1)
setup(name='numword',
version=get_version(),
author='B2CK',
author_email='[email protected]',
url="http://code.google.com/p/numword/",
description="Python modules to convert numbers to words",
download_url="http://code.google.com/p/numword/downloads/",
packages=find_packages(),
test_suite='numword.tests',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Natural Language :: English',
'Natural Language :: French',
'Natural Language :: German',
'Natural Language :: Spanish',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Internationalization',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Localization',
'Topic :: Text Processing :: Linguistic',
],
license='LGPL',
use_2to3=True)