-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
32 lines (28 loc) · 996 Bytes
/
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
import re
import setuptools
with open("README.md", "r") as fp:
long_description = fp.read()
with open('requirements.txt') as fp:
requirements = [line.strip() for line in fp]
with open('pyropatch/__init__.py') as fp:
version = re.search('__version__ = "(.+?)"', fp.read())[1]
setuptools.setup(
name="pyropatch",
version=version,
author="Rahul P S",
author_email="rahulps1000@gmail.com",
license="LGPLv3+",
description="An advanced monkeypatcher add-on for Pyrogram",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/rahulps1000/pyropatch",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Operating System :: OS Independent",
],
python_requires='~=3.7',
py_modules=["pyropatch"],
install_requires=requirements,
)