-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (31 loc) · 965 Bytes
/
setup.py
File metadata and controls
35 lines (31 loc) · 965 Bytes
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
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open('requirements.txt') as f:
_requirements = [i.strip() for i in f.readlines()]
requirements = []
for req in _requirements:
if "://" in req:
name = req.split('/')[-1].split(".")[0]
req = f"{name} @ {req}"
requirements.append(req)
setuptools.setup(
name="mRSS",
version="1.0.0",
author="Mmesek",
description="RSS",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Mmesek/RSSReader",
project_urls={
"Bug Tracker": "https://github.com/Mmesek/RSSReader/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
install_requires=requirements,
package_dir={"": "."},
packages=setuptools.find_packages(where="."),
python_requires=">=3.9",
)