-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
60 lines (53 loc) · 1.87 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
# coding: utf-8
"""
Flat API
"""
import sys
from setuptools import setup, find_packages
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"]
try:
import pypandoc
LONG_DESCRIPTION = open('README.md').read()
LONG_DESCRIPTION = LONG_DESCRIPTION[:LONG_DESCRIPTION.index('## Documentation for API Endpoints')]
LONG_DESCRIPTION = pypandoc.convert_text(LONG_DESCRIPTION, 'rst', format='md')
except(IOError, ImportError):
LONG_DESCRIPTION = open('README.md').read()
setup(
name="flat_api",
version="1.1.3",
description="Flat API Client",
author="The Flat Team (https://flat.io)",
author_email="[email protected]",
url="https://github.com/FlatIO/api-client-python",
keywords=["Flat API", "MusicXML", "Music Notation", "MIDI"],
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
install_requires=REQUIRES,
packages=find_packages(exclude=["*test.*", "*test"]),
include_package_data=True,
license="Apache",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Artistic Software",
"Topic :: Education",
"Topic :: Multimedia :: Sound/Audio"
]
)