-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
39 lines (36 loc) · 1.39 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
import json
from pathlib import Path
from setuptools import setup, find_packages
BASE_DIR = Path(__file__).resolve().parent
version_info = json.load(BASE_DIR.joinpath('sparkapi', 'version.json').open())
setup(
name=version_info['prog'] + '-python',
version=version_info['version'],
author=version_info['author'],
author_email=version_info['author_email'],
description=version_info['desc'],
long_description=BASE_DIR.joinpath('README.md').read_text(),
long_description_content_type='text/markdown',
url=version_info['url'],
license='MIT License',
install_requires=BASE_DIR.joinpath('requirements.txt').read_text().strip().split(),
python_requires='>=3.8',
packages=find_packages(),
include_package_data=True,
entry_points={'console_scripts': [
'sparkapi = sparkapi.bin.cli:main',
]},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Libraries'
]
)