-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (31 loc) · 1.03 KB
/
setup.py
File metadata and controls
33 lines (31 loc) · 1.03 KB
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
from setuptools import setup
import re
with open('chparse\\__init__.py') as f:
content = f.read()
longdesc = re.match(r'^"""([\s\S]+?)"""', content).group(1).strip()
with open('README.rst', 'w') as rdme:
rdme.write(longdesc)
version = re.search(r'__version__\s*=\s*"([^"]+)"', content).group(1)
del f, rdme
setup(
name="chparse",
version=version,
description="Parse Clone Hero charts with ease!.",
long_description=longdesc,
url="https://github.com/Kenny2github/chparse",
author="Ken Hilton",
license="GPLv3+",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Text Processing :: Markup',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
keywords='file format parser',
packages=['chparse'],
python_requires='>=3.6',
test_suite='nose.collector',
tests_require=['nose'],
)