This repository has been archived by the owner on Feb 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
54 lines (42 loc) · 1.41 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
import os
from setuptools import find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open("README.md", "r") as f:
readme = f.read()
requires = [
"openpyxl>=3.0.4",
"requests>=6.7",
"beautifulsoup4==4.11.1",
"openpyxl>=3.0.10",
"pandas>=1.4.3",
"xls2xlsx==0.1.5",
"currency-symbols==1.0.0",
]
def setup_package():
metadata = dict(
name="rtu-schedule-parser",
version=locals()["__version__"],
description="Easy extraction of the MIREA - Russian Technological University schedule from Excel documents.",
long_description=readme,
author="Oniel (Sergey Dmitriev)",
long_description_content_type="text/markdown",
url="https://github.com/mirea-ninja/rtu-schedule-parser",
license="MIT License",
packages=find_packages(exclude=("tests",)),
install_requires=requires,
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.`0`",
],
)
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(**metadata)
if __name__ == "__main__":
setup_package()