-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (30 loc) · 964 Bytes
/
setup.py
File metadata and controls
35 lines (30 loc) · 964 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 re
import setuptools
with open("README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
requires = f.read().split()
with open("dispyro/__init__.py") as f:
version = re.search(r'__version__ = "(?P<version>\d+\.\d+\.\d+)"', f.read()).group(
"version"
)
setuptools.setup(
name="dispyro",
version=version,
author="asteroid-den",
author_email="denbartolomee@gmail.com",
description="Improved dispatching for Pyrogram",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/asteroid-den/dispyro/",
packages=setuptools.find_packages(),
license="MIT",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=requires,
python_requires=">=3.7",
data_files=["requirements.txt"]
)