privacytrustlab / ml_privacy_meter

Privacy Meter: An open-source library to audit data privacy in statistical and machine learning algorithms.
MIT License
557 stars 99 forks source link

[WIP] Ready for publishing to pypi #65

Closed amad-person closed 2 years ago

amad-person commented 2 years ago

Once this PR has been reviewed, we can do the following to publish the tool to the actual version of PyPi:

  1. Update the version number in setup.py
  2. Run the following commands in a terminal window:
pip install twine
python setup.py sdist bdist_wheel
twine check dist/*
twine upload dist/*

I have tested the publishing process using TestPyPi (i.e. installing via pip, importing the tool, and running the population and reference attacks). I have changed some __init__.py files for getting imports to work properly in the package version of the tool.