Merge setup.py into pyproject.toml

This commit is contained in:
Jelmer Draaijer 2024-09-05 20:41:07 +02:00 committed by jelmert
parent 9b289081af
commit fb1f309c5c
2 changed files with 24 additions and 41 deletions

View File

@ -48,3 +48,27 @@ indent_size = 2
[tool.djlint.js]
indent_size = 2
[project]
name = "cookiecutter-django"
version = "2024.09.02"
requires-python = "== 3.12"
description = "A Cookiecutter template for creating production-ready Django projects quickly."
readme = "README.md"
license = { text = "BSD" }
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
]
keywords = ["cookiecutter", "Python", "projects", "project templates", " django", "skeleton", "scaffolding", "project directory", "setup.py"]
urls = { Repository = "https://github.com/cookiecutter/cookiecutter-django" }
authors = [{ name = "Daniel Roy Greenfeld", email = "pydanny@gmail.com" }]

View File

@ -1,41 +0,0 @@
#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# We use calendar versioning
version = "2024.09.05"
with open("README.md") as readme_file:
long_description = readme_file.read()
setup(
name="cookiecutter-django",
version=version,
description=("A Cookiecutter template for creating production-ready " "Django projects quickly."),
long_description=long_description,
author="Daniel Roy Greenfeld",
author_email="pydanny@gmail.com",
url="https://github.com/cookiecutter/cookiecutter-django",
packages=[],
license="BSD",
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
],
keywords=(
"cookiecutter, Python, projects, project templates, django, "
"skeleton, scaffolding, project directory, setup.py"
),
)