mcdallas / cryptotools

MIT License
206 stars 80 forks source link

Is there an setup.py or pip install cyrptotools for this? #5

Closed jamesyoungdigital closed 3 years ago

jamesyoungdigital commented 5 years ago

Thanks!

mcdallas commented 5 years ago

Not atm. It has no dependencies so cloning and putting it into your path should just work. Try to add this at the top of your script.

import sys
sys.path.append('path/to/cloned/project')
captain-kark commented 3 years ago

After some point though this repo ends up pulled in as a whole source tree, regardless if its the focus of the module or not. If you don't, relative imports between the modules won't work.

Is this something you'd be interested in merging upstream if I forked it and added it as a feature? My intention is to keep with the ultra-lightweight feel of the project and only expose a git-based pip install target via an extremely modest setup.py file in the root of the repo.

Awesome work on this project, by the way.

mcdallas commented 3 years ago

Hey @captain-kark, glad you found it useful!

Is this something you'd be interested in merging upstream if I forked it and added it as a feature? My intention is to keep with the ultra-lightweight feel of the project and only expose a git-based pip install target via an extremely modest setup.py file in the root of the repo.

Yes that sounds good, go for it

captain-kark commented 3 years ago

See #12

mcdallas commented 3 years ago

You can now use pip to install this library thanks to @captain-kark

DO NOT try pip install cryptotools because it is a different package, instead do pip install git+https://github.com/mcdallas/cryptotools.git as the README suggests