elodie icon indicating copy to clipboard operation
elodie copied to clipboard

Make elodie pip installable

Open waynew opened this issue 6 years ago • 2 comments

I have a sample setup.py file which should make Elodie pip-installable.

I also went ahead and registered the project on pypi so it didn't get picked up in the interim. @jmathai let me know what your pypi username is and I'll go ahead and make you an owner.

I moved elodie.py into the project folder so it could be used as an entrypoint. You should be able to check it out by (currently) running python -m pip install --user --pre elodie. The pre flag is only necessary because I uploaded the version as 0.0.1b.

It's pretty easy to build and release to pypi, I just used:

python setup.py bdist_wheel
twine check dist/elodie-0.0.1b-py3-none-any.whl 
twine upload dist/elodie-0.0.1b-py3-none-any.whl

Let me know if you have any questions! HTH


I also went ahead and updated the gitignore to ignore vim swap files, and a couple of other potential folders. I also added a pre-commit config that might be useful for replacing the existing .pre-commit file. I didn't get it running the nosetest, but it did fire on flake8 (and there were a ton of violations in elodie.py that I didn't fix because that was a bit out of scope for this).

waynew avatar Dec 03 '19 18:12 waynew

Closes #41

waynew avatar Dec 03 '19 18:12 waynew

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 11 '22 22:02 CLAassistant