snowblink14 / smatch

Smatch tool: evaluation of AMR semantic structures
MIT License
63 stars 25 forks source link

Add setup.py for PyPI package #12

Closed danielhers closed 5 years ago

danielhers commented 5 years ago

To upload to PyPI, simply register, send me your username so I can make you the package owner, and then create .pypirc with the contents

[distutils]
index-servers=
  pypi

[pypi]
username=YOUR_USERNAME
password=YOUR_PASSWORD

Then you can run

pip install twine

And to upload the package, simply

python setup.py sdist
twine upload sdist/*