-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·47 lines (39 loc) · 1.21 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
import unittest
import os
from setuptools import setup
from distutils.core import Command
from ptttl import __version__
HERE = os.path.abspath(os.path.dirname(__file__))
README = os.path.join(HERE, "README.rst")
REQS = os.path.join(HERE, "requirements.txt")
classifiers = [
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Natural Language :: English',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
]
with open(README, 'r') as f:
long_description = f.read()
deps = []
with open(REQS, 'r') as f:
deps = f.read().strip().split('\n')
print(deps)
setup(
name='ptttl',
version=__version__,
description=('Parses PTTTL/RTTTL musical notation files'),
long_description=long_description,
url='http://github.com/eriknyquist/ptttl',
author='Erik Nyquist',
author_email='[email protected]',
license='Apache 2.0',
packages=['ptttl'],
classifiers = classifiers,
install_requires=deps
)