This repository has been archived by the owner on May 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
60 lines (55 loc) · 2.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from setuptools import setup
from os import path
import sys
import codecs
if sys.version_info < (3, 0):
import ConfigParser as configparser
else:
import configparser
here = path.abspath(path.dirname(__file__))
meta_parser = configparser.RawConfigParser()
meta_parser.read(path.join(here, 'META.txt'))
with codecs.open(path.join(here, 'README.rst'), 'r') as f:
long_description = f.read()
setup(
name=meta_parser.get("Program", "Name"),
version=meta_parser.get("Program", "Version"),
description=meta_parser.get("Program", "Description"),
long_description=long_description,
license=meta_parser.get("Program", "License"),
author=meta_parser.get("Author", "Name"),
author_email=meta_parser.get("Author", "Email"),
packages=["SimpleAudioIndexer"],
url=meta_parser.get("Program", "URL"),
download_url=(
"{}/tarball/{}".format(
meta_parser.get("Program", "URL"),
meta_parser.get("Program", "TAG"),
)
),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: Unix",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords=["audio", "indexing", "search", "ibm", "watson", "anagram",
"subsequence", "supersequence", "sequence", "timestamp", "cmu",
"sphinx", "cpmsphinx", "speech", "speech recognition"],
entry_points={
'console_scripts': [
'sai = SimpleAudioIndexer.__main__:Main',
],
},
install_requires=['requests'],
)