forked from haginara/msrc-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (44 loc) · 1.25 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
from os import path
from setuptools import setup
long_description = open(
path.join(path.dirname(__file__), 'README.md')
).read().strip() if path.exists('README.md') else ''
_locals = {}
with open("msrc.py") as f:
for line in f.readlines():
if line.startswith('__version_'):
exec(line, None, _locals)
version = _locals['__version__']
install_requires = [
"requests"
]
setup(
name="msrc",
description="MSRC Search tool",
license="MIT License",
url="https://github.com/haginara/msrc-python",
long_description=long_description,
long_description_content_type='text/markdown',
version=version,
author='Jonghak Choi',
author_email='haginara@gmail.com',
install_requires=install_requires,
entry_points={
'console_scripts': [
'msrc=msrc:main',
]
},
py_modules=['msrc'],
package_data={
'': ['README.md', ]
},
include_package_data=True,
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
]
)