illinois-dres-aitg / pyia2

Python interface to MSAA and IAccessible2 Interfaces
GNU General Public License v3.0
8 stars 10 forks source link

Publish a PIP package to PyPI #5

Open LexiconCode opened 4 years ago

LexiconCode commented 4 years ago

I would like to include pyia2 on a number of projects that enhance accessibility for computing environments. pyia2 would ease distribution as a PIP install on PyPI.

Let me know if there's something I can do to support pyia2!

LexiconCode commented 2 years ago

https://github.com/illinois-dres-aitg/pyia2/pull/7 Includes IAccessible2Proxys dlls in package data for pypi

LexiconCode commented 2 years ago

PyPi Upload

Instructions are left as an example reference for a few people that are I know are looking at repository and relatively new to Python packaging.

  1. 'python -m pip install twine'
  2. Make an account at https://pypi.org/account/login/ and/or https://test.pypi.org/ if you want to test
  3. On pypi generate API tokens and setup '.pypirc' file in your HOME dir
  4. From CMD in pyia2 dir python setup.py sdist # builds distribution files
  5. python -m twine check dist/* # Validates if distribution’s long description will render correctly on PyPI.
  6. python -m twine upload --repository testpypi dist/* # uploads to test pypi index
  7. Done https://test.pypi.org/project/pyia2

From admin powershell python -m pip install -i https://test.pypi.org/simple/ pyia2

Install Troubleshooting