-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·44 lines (41 loc) · 1.42 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
#!/usr/bin/python3
import os
import re
from setuptools import setup, find_packages
def get_version():
init = open(os.path.join(os.path.dirname(__file__), 'currency2text',
'__init__.py')).read()
return re.search(r"""__version__ = '([0-9.\sA-Za-z]*)'""", init).group(1)
setup(
name="currency2text",
url="http://www.alistek.com/",
author="Alistek Ltd",
author_email="[email protected]",
maintainer=u"Alistek Ltd",
maintainer_email="[email protected]",
description="The library converts currency to text in various languages",
long_description="""
currency2text
=========
This is modular multilingual multi-currency amount to text converter written in
Python. Module can be used to convert numbers to the text representation in
various languages for various currencies. It's aim is to provide correct textual
representation.
""",
license="GPL License",
version=get_version(),
packages=find_packages(),
python_requires='>=3',
install_requires=[
],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing",
],
test_suite="nose.collector",
)