Picocrypt/src
Evan Su 0707246445
Add files via upload
2021-03-24 09:57:38 -04:00
..
unstable Update README.md 2021-03-23 22:34:14 -04:00
Picocrypt.py v1.11 2021-03-23 20:02:00 -04:00
README.md Added instructions for running from source 2021-03-24 09:49:43 -04:00
reedsolo.zip Add files via upload 2021-03-24 09:57:38 -04:00
tkinterdnd2.zip Add files via upload 2021-03-24 09:10:52 -04:00

README.md

Running from source

If you want to run from source or would like to use Picocrypt on any platform that supports Python, you're in the right place. To run Picocrypt from source, first make sure you have Python3 installed (any version >3.6 will do). Then, download Picocrypt.py from above (you can download a zip file of the files above from the homepage). Now, install these dependencies via pip: argon2-cffi, pycryptodome, reedsolo, and cython. Make sure tkinter is installed on your platform. On Linux, you might have to sudo apt-get install python3-tk.

Next, download tkinterdnd2.zip from above. Extract it and go into it. Inside, you'll see two Python files and a directory called tkdnd.

Now, find the directory where Python is installed. On Windows, for example, this folder would probably be here: C:\Users(Your username)\AppData\Local\Programs\Python\PythonXX. Go to there.

Now, go into Lib/ and then site-packages. Create a folder named tkinterdnd2. Go into there and copy __init__.py and TkinterDnD.py from the zip you extracted earlier to here.

Next, go back to the directory where Python is installed. Go into tcl/ and then tclX.X. Go into the same folder you extracted earlier and go into tkdnd/, and then go into your respective platform folder. Copy all the files there into the tclX.X directory from above.

Finally, download reedsolo.zip from above, extract it, and go into the folder. Open up a terminal and python setup.py install. Then, python setup.py install --native-compile. Now you should now have a Python extension called reedsolo.pyd on Windows, reedsolo.so or reedsolo.dylib on MacOS, and reedsolo.so on Linux. Copy this file to the same directory where Picocrypt.py is.

Now you're all good. Just python3 Picocrypt.py and enjoy!

External links