-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
52 lines (47 loc) · 1.7 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
50
51
52
#!/usr/bin/env python3
import re
from setuptools import setup, find_packages
with open('jprm/__init__.py', 'r') as fh:
version = re.search(r'__version__ *= *["\'](.*?)["\']', fh.read()).group(1)
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as fh:
requirements = []
for line in fh.readlines():
line = line.strip()
if line:
requirements.append(line)
setup(
name='jprm',
version=version,
author='Odd Stråbø',
author_email='[email protected]',
description='Jellyfin Plugin Repository Manager',
keywords='Jellyfin plugin repository compile publish development',
url='https://github.com/oddstr13/jellyfin-plugin-repository-manager',
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(exclude=["tests"]),
install_requires=requirements,
entry_points={
'console_scripts': [
'jprm=jprm.__main__:cli',
]
},
zip_safe=True,
classifiers=[
'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',
'Programming Language :: Python :: 3.12',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: Software Development :: Build Tools',
'Topic :: System :: Software Distribution',
],
python_requires='>=3.8.1',
)