-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
56 lines (52 loc) · 2 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
53
54
55
56
from pathlib import Path
from setuptools import setup
try:
this_directory = Path(__file__).absolute().parent
with open((this_directory / 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = ''
try:
this_directory = Path(__file__).absolute().parent
with open((this_directory / 'requirements.txt'), encoding='utf-8') as f:
requirements = f.readlines()
requirements = [line.strip() for line in requirements]
except FileNotFoundError:
requirements = []
setup(
name='pymoodle-jku',
long_description_content_type='text/markdown',
long_description=long_description,
version='1.2.0',
packages=['pymoodle_jku', 'pymoodle_jku.classes', 'pymoodle_jku.client', 'pymoodle_jku.utils',
'pymoodle_jku.scripts'],
license='BSD 3-Clause',
description='A client for the moodle page of JKU Linz.',
author='LeLunZ',
author_email='[email protected]',
url='https://github.com/LeLunZ/pymoodle-jku-linz',
download_url='https://github.com/LeLunZ/pymoodle-jku-linz/archive/pymoodle-jku-1.2.0.tar.gz',
keywords=['moodle', 'jku', 'linz', 'jku linz'],
install_requires=requirements,
python_requires='>=3.9',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Topic :: Software Development',
'Topic :: Software Development :: Build Tools',
'Topic :: Utilities',
'Topic :: Education',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Typing :: Typed',
'License :: OSI Approved :: BSD License',
'Environment :: Console',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Natural Language :: English',
],
entry_points={
'console_scripts': ['pymoodle=pymoodle_jku.pymoodle:main'],
}
)