-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (31 loc) · 1.47 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (31 loc) · 1.47 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
# ------------------------------------------------------------------------------
# Created by Tyler Stegmaier.
# ------------------------------------------------------------------------------
from setuptools import setup
from PythonExtensions.Setup import *
from PythonExtensions.__metadata__ import (__author__, __classifiers__, __email__, __license__, __maintainer__, __maintainer_email__, __name__, __short_description__, __url__,
__version__, )
long_description = ReadFromFile(abspath("./PyPiReadme.md"))
install_requires = GetRequirements(abspath('./requirements.txt'))
_packages, _package_data = Get_Packages_Data(abspath('PythonExtensions'), __name__, includes=MatchFileTypes('py', 'png'))
# https://packaging.python.org/en/latest/tutorials/packaging-projects/
print(_packages)
print(_package_data)
setup(name=__name__,
version=__version__,
packages=_packages,
url=__url__,
license=__license__,
author=__author__,
author_email=__email__,
maintainer=__maintainer__,
maintainer_email=__maintainer_email__,
description=__short_description__,
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=install_requires,
classifiers=__classifiers__,
keywords=f'{__name__} Json Setup SwitchCase Switch Case Tkinter Extensions tk ttk tkinter',
package_dir={ __name__: __name__ },
package_data=_package_data,
)