提交到pi
This commit is contained in:
3
MANIFEST.in
Normal file
3
MANIFEST.in
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
include README.md
|
||||||
|
include LICENSE
|
||||||
|
recursive-include py_enjoy *
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
# py_enjoy
|
# py_enjoy
|
||||||
|
|
||||||
jfinal-enjoy的 python3.9实现
|
jfinal-enjoy的 python3.9+ 实现
|
||||||
|
|
||||||
|
mrzhou@miw.cn
|
||||||
|
2026.2.26
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python3.9
|
#!/usr/bin/env python3.9
|
||||||
# -*- coding: utf-8 -*-
|
# -*- 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).
|
This is a Python 3.9+ implementation of the JFinal Template Engine (Enjoy).
|
||||||
|
|||||||
3
pyproject.toml
Normal file
3
pyproject.toml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["setuptools>=42", "wheel"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
37
setup.py
Normal file
37
setup.py
Normal 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',
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user