-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
37 lines (34 loc) · 931 Bytes
/
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
#!/usr/bin/env python
import re
from setuptools import setup
# parse version from init.py
with open("kmunity/__init__.py") as init:
CUR_VERSION = re.search(
r"^__version__ = ['\"]([^'\"]*)['\"]",
init.read(),
re.M,
).group(1)
# setup installation
setup(
name="kmunity",
packages=["kmunity"],
version=CUR_VERSION,
author="Deren Eaton",
author_email="[email protected]",
install_requires=[
"pandas",
"requests",
"loguru",
],
entry_points={
'console_scripts': ['kmunity = kmunity.__main__:main']},
license='GPL',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
)