From f19b7b96c045af40d2b79cb30d6ca7b6fea8964b Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 5 Feb 2026 11:01:18 +0000 Subject: [PATCH] Initial upload: Project Scaffold CLI with multi-language templates and CI/CD --- .../templates/python/setup.py.j2 | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 project_scaffold_cli/templates/python/setup.py.j2 diff --git a/project_scaffold_cli/templates/python/setup.py.j2 b/project_scaffold_cli/templates/python/setup.py.j2 new file mode 100644 index 0000000..efd6aac --- /dev/null +++ b/project_scaffold_cli/templates/python/setup.py.j2 @@ -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", + ], +)