-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
38 lines (31 loc) · 1.15 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
from os import path
from setuptools import find_packages, setup
def get_content_from_readme(file_name: str = 'README.md') -> str:
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, file_name), encoding='utf-8') as file:
return file.read()
url = "https://github.com/LostInDarkMath/pedantic-python-decorators"
author = "Willi Sontopski"
setup(
name="pedantic",
version="2.1.9",
python_requires='>=3.11.0',
packages=find_packages(),
install_requires=[],
author=author,
author_email="[email protected]",
license="Apache-2.0 License",
maintainer=author,
description="Some useful Python decorators for cleaner software development.",
long_description=get_content_from_readme(),
long_description_content_type='text/markdown',
keywords="decorators tools helpers type-checking pedantic type annotations",
url=url,
project_urls={
"Bug Tracker": f'{url}/issues',
"Documentation": 'https://lostindarkmath.github.io/pedantic-python-decorators/pedantic/',
"Source Code": url,
},
include_package_data=False,
zip_safe=True,
)