-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (41 loc) · 1.24 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
#!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
import re
with open('slmd/__init__.py') as f:
data = re.search(r'\(\s*(\d*).\s*(\d*).\s*(\d)*\)', f.read())
version = ".".join([data.group(1), data.group(2), data.group(3)])
assert version
classifiers = [
'Topic :: Terminals',
'Topic :: Utilities',
'Environment :: Console',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: MIT License',
]
setup(
name='slmd',
version=version,
packages=find_packages(),
zip_safe=True,
author='Park Hyunwoo',
author_email='ez.amiryo' '@' 'gmail.com',
maintainer='Park Hyunwoo',
maintainer_email='ez.amiryo' '@' 'gmail.com',
url='http://github.com/lqez/slmd',
description='Markdown list sorter',
classifiers=classifiers,
test_suite='slmd.test',
entry_points={
'console_scripts': [
'slmd = slmd.cmd:main',
],
},
)