-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (43 loc) · 1.49 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
46
47
long_description = \
"""
A utility script to take alphanumeric characters and translate
them to the NATO phonetic alphabet, commonly used in radio-telephony.
"""
from setuptools import setup
def get_version():
with open('VERSION', 'r') as f:
x = f.read().splitlines()
if len(x) == 1:
return x[0]
else:
raise RuntimeError(
'Cannot properly parse version information. '+
'Parser found multiple versions where one was expected.')
setup(
name='pardon',
version=get_version(),
description='Translate alphanumeric characters to phrases',
long_description=long_description,
url='https://github.com/komish/pardon',
packages=['pardon'],
author='Jose R. Gonzalez',
author_email='Komish@users.noreply.github.com',
license="MIT",
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: End Users/Desktop',
'Topic :: Communications :: Telephony',
'License :: OSI Approved :: MIT License'
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
entry_points={
'console_scripts': ['pardon=pardon.main:main']
}
)