Initial upload: Project Scaffold CLI with multi-language templates and CI/CD

This commit is contained in:
2026-02-05 11:01:18 +00:00
parent 6f12b9d749
commit f19b7b96c0

View File

@@ -0,0 +1,48 @@
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="{{ project_slug }}",
version="1.0.0",
author="{{ author }}",
author_email="{{ email }}",
description="{{ description }}",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/{{ author|replace(' ', '-') }}/{{ project_slug }}",
packages=find_packages(),
python_requires=">=3.8",
install_requires=[
{% if template_vars and template_vars.python %}
{% for dep in template_vars.python.get('dependencies', []) %}
"{{ dep }}",
{% endfor %}
{% else %}
{% endif %}
],
extras_require={
"dev": [
"pytest>=7.0",
"pytest-cov>=4.0",
"black>=23.0",
"flake8>=6.0",
],
},
entry_points={
"console_scripts": [
"{{ project_slug }}={{ project_slug }}.cli:main",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)