HarryR / ethsnarks

A toolkit for viable zk-SNARKS on Ethereum, Web, Mobile and Desktop
GNU Lesser General Public License v3.0
241 stars 57 forks source link

Add setup.py for PyPI Package #157

Closed wanseob closed 5 years ago

wanseob commented 5 years ago

closes #155 Just quickly added setup.py. We don't need to separate the python package from this repository. Deployed package is here. https://pypi.org/project/ethsnarks/ Would you please let me know your pypi.org account for transferring the ownership of the deployed package?

wanseob commented 5 years ago

Please change the PyPI authentication information user & password in .travis.yml I used to travis setup pypi This travis tries to deploy to PyPI when new tagged commit exists on master branch.

deploy:
  provider: pypi
  user: wanseob
  password:
    secure: ZeUBcmG/qrkPOX2L/wTXgVLsarmgIsediVJ6jLPo/aUr/VUP8Av2xNRW2hITeA2rQmxVWOnziQm9+6K/wceCmQlFzFnhlEWdc5ySwBWToUOtyBPo0VEblM8TC/vdO7qEdCvi/NevX1BrVSgh/Df4JmUBvuuLPmboKBx9j4Lt6yu4ImperE1v/sDzuONEsTGwUlXlnE7u6iTi+SiGRU4cXVY1pcjhgsogvEXb46FK6wj0mBYhoqufOu6CZ8AwjYNNaYHYkZdhh6tfLcOuKlQ+/KyJ5t2aXpFSG3OYMMBAxBFvlYurCd9jaqa4hNhxh+H9XgFtwyoja3GmYNsblKmGnYNivK2vF1fEz/ksM19swtDMDyx3E12+lFffoOTvqR4jhq2GQ/QIIQ+gmk51vXmpLyBZ/6Jn3LWVm63SKp3N2uLsxG687f/t3WBItvmrC2er5RuMEkgy5SG/0zPMo2ske3P0O4y3JmutugrvCzgb1tOEeQVciqgCHemtuetENV/f3nhXee0HN+uL5nZWypYHEuME/VNThgsRqxYwkEFZ+4WWCGaeiuxTtJJSrnfkBKPwQ+29a/6ansXPndBw6/Y4OAwKAAje2OHQXb6DmFwm1RPaa8lHDuVBSnCPBo4mNM3MltHURO44K/SHXAd3GXXvpCiM0zX24gEHPXkBjrmLIo4=
  on:
    tags: true
    distributions: sdist bdist_wheel
    repo: HarryR/ethsnarks
    branch: master
HarryR commented 5 years ago

Apologies for the long delay. The setup.py file should read requirements.txt for the dependencies, and read the README.md file for the description.

I'm gonna merge this anyway.