-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (42 loc) · 1.76 KB
/
setup.py
File metadata and controls
46 lines (42 loc) · 1.76 KB
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
import os
from setuptools import setup, find_packages
current_file_path = os.path.abspath(os.path.dirname(__file__))
readme_file_path = os.path.join(current_file_path, "README.md")
with open(readme_file_path, "r", encoding="utf-8") as f:
readme = f.read()
version_file_path = os.path.join(current_file_path, "notif/version.py")
with open(version_file_path, "rb") as f:
# pylint: disable=exec-used,undefined-variable
exec(compile(f.read(), version_file_path, "exec"), globals(), locals())
version = __version__
packages = find_packages()
setup(
name="notif",
version=version,
author="David Beauchemin",
author_email="david.beauchemin.5@ulaval.ca",
url="https://notificationdoc.ca",
download_url="https://github.com/davebulaval/notification/archive/v" + version + ".zip",
license="GPLv3",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
packages=packages,
python_requires=">=3.7",
install_requires=["requests", "notify_run", "pymsteams"],
description="The notification package for every python project",
long_description=readme,
long_description_content_type="text/markdown",
)