forked from cookiecutter/cookiecutter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
89 lines (79 loc) · 2.66 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
87
88
89
"""cookiecutter distutils configuration."""
from pathlib import Path
from setuptools import setup
def _get_version() -> str:
"""Read cookiecutter/VERSION.txt and return its contents."""
path = Path("cookiecutter").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',
'requests>=2.23.0',
'arrow',
'rich',
]
setup(
name='cookiecutter',
version=version,
description=(
'A command-line utility that creates projects from project '
'templates, e.g. creating a Python package project from a '
'Python package project template.'
),
long_description=readme,
long_description_content_type='text/markdown',
author='Audrey Feldroy',
author_email='audreyr@gmail.com',
url='https://github.com/cookiecutter/cookiecutter',
project_urls={
"Documentation": "https://cookiecutter.readthedocs.io",
"Issues": "https://github.com/cookiecutter/cookiecutter/issues",
"Discord": "https://discord.gg/9BrxzPKuEW",
},
packages=['cookiecutter'],
package_dir={'cookiecutter': 'cookiecutter'},
entry_points={'console_scripts': ['cookiecutter = cookiecutter.__main__:main']},
include_package_data=True,
python_requires='>=3.7',
install_requires=requirements,
license='BSD',
zip_safe=False,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD 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=[
"cookiecutter",
"Python",
"projects",
"project templates",
"Jinja2",
"skeleton",
"scaffolding",
"project directory",
"package",
"packaging",
],
)