-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
35 lines (32 loc) · 1.05 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
import re
import os.path
from setuptools import setup
# reading package's version (same way sqlalchemy does)
with open(os.path.join(os.path.dirname(__file__), 'petit.py')) as v_file:
package_version = re.compile(r'.*__version__ = "(.*?)"', re.S).match(v_file.read()).group(1)
long_description = """
petit
===========
Persian text -> integer, ineteger -> text converter
"""
setup(
name='petit',
version=package_version,
author='JKhakpour',
url='https://github.com/JKhakpour/petit',
description='Persian text -> integer, ineteger -> text converter',
long_description=long_description,
py_modules=['petit', 'constants'],
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'Development Status :: 4 - Beta',
'License :: Other/Proprietary License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development',
'Topic :: Utilities'
]
)