Skip to content

Commit

Permalink
include_package_data=True,
Browse files Browse the repository at this point in the history
  • Loading branch information
fvolz committed Oct 17, 2024
1 parent d5309cf commit 6571b2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,24 @@ on:

permissions:
contents: read
packages: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'

python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build the package
run: |
python setup.py sdist bdist_wheel
- name: List contents of dist directory
run: ls -l dist

- name: Publish to PyPI
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@

setup(
name="fx-python-sdk-cli",
version="0.1.5",
version="0.1.6",
author="FX",
author_email="[email protected]",
description="Interact with FX Port to share / retrieve AAS Submodel",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/fvolz/fx-python-sdk-cli",
packages=find_packages(),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
Expand Down

0 comments on commit 6571b2c

Please sign in to comment.