New Features - Add Typer dependency. Enhancements - Move packages to src/ layout and update build configuration. - Change console scripts to use djinit.cli:app. - Exclude django-new from ruff checks. - Raise minimum Python version to >=3.10. Bug Fixes - none
64 lines
2.0 KiB
Python
64 lines
2.0 KiB
Python
from setuptools import find_packages, setup
|
|
|
|
setup(
|
|
name="djinitx",
|
|
version="0.3.3",
|
|
description="A CLI tool to setup Django projects",
|
|
long_description=open("README.md").read(),
|
|
long_description_content_type="text/markdown",
|
|
author="Sankalp Tharu",
|
|
author_email="sankalptharu50028@gmail.com",
|
|
url="https://github.com/S4NKALP/djinit",
|
|
packages=find_packages(where="src"),
|
|
package_dir={"": "src"},
|
|
include_package_data=True,
|
|
install_requires=[
|
|
"rich>=14.2.0",
|
|
"questionary>=2.0.1",
|
|
"typer>=0.21.1",
|
|
],
|
|
entry_points={
|
|
"console_scripts": [
|
|
"djinit=djinit.cli:app",
|
|
"dj=djinit.cli:app",
|
|
]
|
|
},
|
|
classifiers=[
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Environment :: Web Environment",
|
|
"Framework :: Django",
|
|
"Framework :: Django :: 4.2",
|
|
"Framework :: Django :: 5.1",
|
|
"Framework :: Django :: 5.2",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
"Topic :: Internet :: WWW/HTTP",
|
|
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Topic :: Software Development :: Code Generators",
|
|
],
|
|
keywords=[
|
|
"django",
|
|
"cli",
|
|
"project",
|
|
"djinit",
|
|
"djinitx",
|
|
"dj",
|
|
"django-init",
|
|
"django project",
|
|
"django starter",
|
|
],
|
|
python_requires=">=3.10",
|
|
project_urls={
|
|
"Bug Reports": "https://github.com/S4NKALP/djinit/issues",
|
|
"Source": "https://github.com/S4NKALP/djinit",
|
|
"Documentation": "https://github.com/S4NKALP/djinit#readme",
|
|
},
|
|
)
|