Skip to content

Commit 9517c78

Browse files
committed
tests with pipy
1 parent 8bf82ef commit 9517c78

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

publish.sh

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

pyproject.toml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[build-system]
2+
requires = ["cffi>=1.0","setuptools>=58.1"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "socketify"
7+
version = "0.0.1"
8+
authors = [
9+
{ name="Ciro Spaciari", email="[email protected]" },
10+
]
11+
description = "Bringing WebSockets, Http/Https High Peformance servers for PyPy3 and Python3"
12+
readme = "README.md"
13+
requires-python = ">=3.7"
14+
classifiers = [
15+
"Programming Language :: Python :: 3",
16+
"License :: OSI Approved :: MIT License",
17+
"Operating System :: OS Independent",
18+
]
19+
20+
[project.urls]
21+
"Homepage" = "https://github.com/cirospaciari/socketify.py"
22+
"Bug Tracker" = "https://github.com/cirospaciari/socketify.py/issues"

setup.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@
5959
setuptools.setup(
6060
name="socketify",
6161
version="0.0.1",
62-
platforms=["macOS", "POSIX"],
62+
platforms=["any"],
6363
author="Ciro Spaciari",
6464
author_email="[email protected]",
65-
description="Fast WebSocket and Http/Https server",
65+
description="Bringing WebSockets, Http/Https High Peformance servers for PyPy3 and Python3",
6666
long_description=long_description,
6767
long_description_content_type="text/markdown",
6868
url="https://github.com/cirospaciari/socketify.py",
6969
project_urls={
70-
"Bug Tracker": "https://github.com/cirospaciari/issues",
70+
"Bug Tracker": "https://github.com/cirospaciari/socketify.py/issues",
7171
},
7272
classifiers=[
7373
"Programming Language :: Python :: 3",
@@ -89,7 +89,7 @@
8989
]
9090
},
9191
python_requires=">=3.7",
92-
install_requires=["cffi>=1.0.0", "setuptools>=58.1.0"],
92+
install_requires=["cffi>=1.0", "setuptools>=58.1.0"],
9393
has_ext_modules=lambda: True,
9494
cmdclass={}, # cmdclass={'sdist': Prepare, 'build_ext': Makefile},
9595
include_package_data=True,

0 commit comments

Comments
 (0)