From bb2506f97ce929ad182e62de3e594b8e9cd012ca Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Thu, 13 Jan 2022 20:04:35 -0800 Subject: [PATCH] Add setuptools installation to wheels.yml --- pkg/pypi/pyproject.toml | 2 +- pkg/pypi/setup.py | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 pkg/pypi/setup.py diff --git a/pkg/pypi/pyproject.toml b/pkg/pypi/pyproject.toml index 6a5a7d6..aa02eb7 100644 --- a/pkg/pypi/pyproject.toml +++ b/pkg/pypi/pyproject.toml @@ -56,5 +56,5 @@ python = "^3.6" "Issue Tracker" = "https://github.com/zerotier/libzt/issues" [build-system] -requires = ["poetry-core>=1.0.0"] +requires = ["setuptools", "poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/pkg/pypi/setup.py b/pkg/pypi/setup.py new file mode 100644 index 0000000..3e9edb3 --- /dev/null +++ b/pkg/pypi/setup.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +from setuptools import setup + +packages = \ +['libzt'] + +package_data = \ +{'': ['*']} + +setup_kwargs = { + 'name': 'libzt', + 'version': '1.8.4', + 'description': 'ZeroTier', + 'long_description': '
\n\n\n\n

libzt (ZeroTier)

\nPeer-to-peer and cross-platform encrypted connections built right into your app or service. No drivers, no root, and no host configuration.\n\nlatest libzt version\nLast Commit\nBuild Status (master branch)\n
\n\n
\n\nExamples, tutorials and API docs for Python and other languages: [github.com/zerotier/libzt](https://www.github.com/zerotier/libzt)\n\n*NOTE: The implementation of this language binding attempts to be as Pythonic as possible. If something is not as it should be, please make a pull request or issue. Thanks.*\n', + 'author': 'ZeroTier, Inc.', + 'author_email': None, + 'maintainer': None, + 'maintainer_email': None, + 'url': 'https://www.zerotier.com/', + 'packages': packages, + 'package_data': package_data, + 'python_requires': '>=3.5,<4.0', +} +from build import * +build(setup_kwargs) + +setup(**setup_kwargs)