tests with pipy

pull/39/head
Ciro 2022-11-24 18:51:53 -03:00
rodzic 8bf82efbfd
commit 9517c78e5d
3 zmienionych plików z 31 dodań i 4 usunięć

5
publish.sh 100755
Wyświetl plik

@ -0,0 +1,5 @@
python3 ./setup.py bdist_wheel --plat-name=any
pypy3 ./setup.py bdist_wheel --plat-name=any
python3 -m build -s
python3 -m twine upload -r testpypi dist/* --verbose
python3 -m pip install socketify --extra-index-url https://test.pypi.org/simple/

22
pyproject.toml 100644
Wyświetl plik

@ -0,0 +1,22 @@
[build-system]
requires = ["cffi>=1.0","setuptools>=58.1"]
build-backend = "setuptools.build_meta"
[project]
name = "socketify"
version = "0.0.1"
authors = [
{ name="Ciro Spaciari", email="ciro.spaciari@gmail.com" },
]
description = "Bringing WebSockets, Http/Https High Peformance servers for PyPy3 and Python3"
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
"Homepage" = "https://github.com/cirospaciari/socketify.py"
"Bug Tracker" = "https://github.com/cirospaciari/socketify.py/issues"

Wyświetl plik

@ -59,15 +59,15 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup(
name="socketify",
version="0.0.1",
platforms=["macOS", "POSIX"],
platforms=["any"],
author="Ciro Spaciari",
author_email="ciro.spaciari@gmail.com",
description="Fast WebSocket and Http/Https server",
description="Bringing WebSockets, Http/Https High Peformance servers for PyPy3 and Python3",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cirospaciari/socketify.py",
project_urls={
"Bug Tracker": "https://github.com/cirospaciari/issues",
"Bug Tracker": "https://github.com/cirospaciari/socketify.py/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
@ -89,7 +89,7 @@ setuptools.setup(
]
},
python_requires=">=3.7",
install_requires=["cffi>=1.0.0", "setuptools>=58.1.0"],
install_requires=["cffi>=1.0", "setuptools>=58.1.0"],
has_ext_modules=lambda: True,
cmdclass={}, # cmdclass={'sdist': Prepare, 'build_ext': Makefile},
include_package_data=True,