Skip to content

Commit 447124f

Browse files
authored
Merge pull request #48 from arduino/pypi_packaging
misc: Restructure repo for publishing.
2 parents c808f96 + 16d0e35 commit 447124f

File tree

9 files changed

+35
-24
lines changed

9 files changed

+35
-24
lines changed

.github/workflows/python-package.yml

+5
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,8 @@ jobs:
5656
body: ${{steps.changelog.outputs.changelog}}
5757
env:
5858
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
60+
- name: '📦 Publish package'
61+
uses: pypa/gh-action-pypi-publish@release/v1
62+
with:
63+
password: ${{ secrets.PYPI_API_TOKEN }}

MANIFEST.in

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include examples/*
2+
exclude .git*
3+
exclude .github/workflows/*
4+
exclude MANIFEST.in

pyproject.toml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[build-system]
2+
requires = ["setuptools>=45.0", "setuptools_scm[toml]>=6.2"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools_scm]
6+
write_to = "src/arduino_iot_cloud/_version.py"
7+
8+
[project]
9+
name = "arduino_iot_cloud"
10+
dynamic = ["version"]
11+
authors = [
12+
{ name="Ibrahim Abdelkader", email="[email protected]" },
13+
]
14+
description = "Arduino IoT Cloud Python client"
15+
readme = "README.md"
16+
requires-python = ">=3.8"
17+
classifiers = [
18+
"Programming Language :: Python :: 3",
19+
"License :: OSI Approved :: MIT License",
20+
"Topic :: Software Development :: Embedded Systems",
21+
"Operating System :: OS Independent",
22+
]
23+
24+
[project.urls]
25+
"Homepage" = "https://github.com/arduino/arduino-iot-cloud-py"
26+
"Bug Tracker" = "https://github.com/arduino/arduino-iot-cloud-py/issues"

setup.py

-24
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)