-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathsetup.py
55 lines (49 loc) · 1.8 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import setuptools, os
from TermTk.TTkCore.cfg import TTkCfg
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
_name=TTkCfg.name
_version=TTkCfg.version
print(f"Name: {_name}")
print(f"Version: {_version}")
if _name.startswith('__'):
_name = 'pyTermTk'
if _version.startswith('__'):
_version = '0.1.0a1'
print(f"Name: {_name}")
print(f"Version: {_version}")
setuptools.setup(
# name='pyTermTk',
# name='example-pkg-ceccopierangiolieugenio',
# version=version,
# version="0.1.0a1",
name=_name,
version=_version,
author='Eugenio Parodi',
author_email='[email protected]',
description='Python Terminal Toolkit',
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ceccopierangiolieugenio/pyTermTk",
classifiers=[
# https://pypi.org/classifiers/
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Education",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Topic :: Terminals",
"Topic :: Text Editors :: Text Processing",
"Topic :: Software Development :: User Interfaces",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries :: Application Frameworks"],
# packages=setuptools.find_packages(),
packages = setuptools.find_packages(where="."),
package_dir = {"":"."},
python_requires=">=3.9",
)