-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
86 lines (75 loc) · 2.32 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
"""dxh_py distutils configuration."""
from pathlib import Path
from setuptools import setup
def _get_version() -> str:
"""Read dxh_py/VERSION.txt and return its contents."""
path = Path("dxh_py").resolve()
version_file = path / "VERSION.txt"
return version_file.read_text().strip()
version = _get_version()
with open('README.md', encoding='utf-8') as readme_file:
readme = readme_file.read()
requirements = [
'binaryornot>=0.4.4',
'Jinja2>=2.7,<4.0.0',
'click>=7.0,<9.0.0',
'pyyaml>=5.3.1',
'python-slugify>=4.0.0',
'typing-extensions>=4.12.1',
'requests>=2.23.0',
'arrow',
'rich',
]
setup(
name='dxh_py',
version=version,
description='A Python CLI tool to generate PyPI packages effortlessly.',
long_description=readme,
long_description_content_type='text/markdown',
author='DEVxHUB',
author_email='[email protected]',
url='https://github.com/devxhub/dxh-py',
packages=['dxh_py'],
package_dir={'dxh_py': 'dxh_py'},
entry_points={
'console_scripts': [
'dxh_py = dxh_py.__main__:main'
]
},
include_package_data=True,
python_requires='>=3.7',
install_requires=requirements,
license='MIT',
zip_safe=False,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python",
"Topic :: Software Development",
],
keywords=[
"dxh_py",
"Python",
"projects",
"project templates",
"Jinja2",
"skeleton",
"scaffolding",
"project directory",
"package",
"packaging",
],
)