提交到pi

This commit is contained in:
2026-02-27 15:24:16 +08:00
parent e270f02073
commit fa673138f6
70 changed files with 48 additions and 2 deletions

3
MANIFEST.in Normal file
View File

@@ -0,0 +1,3 @@
include README.md
include LICENSE
recursive-include py_enjoy *

View File

@@ -1,3 +1,6 @@
# py_enjoy
jfinal-enjoy的 python3.9实现
jfinal-enjoy的 python3.9+ 实现
mrzhou@miw.cn
2026.2.26

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env python3.9
# -*- coding: utf-8 -*-
"""
JFinal Template Engine Python Implementation
enjoy5.2.2 的 Python 3.9+ 实现
=============================================
This is a Python 3.9+ implementation of the JFinal Template Engine (Enjoy).

3
pyproject.toml Normal file
View File

@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

37
setup.py Normal file
View File

@@ -0,0 +1,37 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
# Read the README file for long description
with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r', encoding='utf-8') as f:
long_description = f.read()
setup(
name='py_enjoy',
version='5.2.2',
description='Python implementation of JFinal Template Engine',
long_description=long_description,
long_description_content_type='text/markdown',
author='James Zhan 詹波 (original), Python port by mrzhou@miw.cn',
author_email='mrzhou@miw.cn',
url='https://github.com/yourusername/py_enjoy', # 请替换为实际的GitHub仓库URL
license='Apache-2.0',
packages=find_packages(),
include_package_data=True,
python_requires='>=3.6',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'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',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Markup',
],
keywords='template engine, jfinal, python',
)