Skip to content

Commit

Permalink
Fix a bug in the setup.py file and add some publishing notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ircama authored and pvvx committed Oct 20, 2023
1 parent 2dea2f5 commit d640023
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions python-interface/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,34 @@
# atc_mi_interface module setup [name: atc-mi-interface]
#############################################################################

"""
# Publishing instructions
# =======================
cd python-interface
pip3 install pyyaml python-daemon setuptools wheel twine flake8
python3 -m flake8 setup.py --count --select=E9,F63,F7,F72,F82 --show-source --statistics
# Build a binary wheel and a source tarball
python3 setup.py sdist bdist_wheel
#python3 -m build --sdist --wheel --outdir dist/ .
# This will publish the /dist directory
python3 -m twine upload --repository testpypi dist/*
python3 -m twine upload --repository pypi dist/*
End user publishing page:
https://test.pypi.org/project/atc-mi-interface/
https://pypi.org/project/atc-mi-interface/
Removing directories
del /f/s/q build dist atc_mi_interface.egg-info
"""

from setuptools import setup
import re

DESCRIPTION = (
'Python tools and API for the "atc1441" and "pvvx" Xiaomi Mijia'
Expand Down

0 comments on commit d640023

Please sign in to comment.