Skip to content

pynps 1.6.2

Latest
Compare
Choose a tag to compare
@evertonstz evertonstz released this 03 Jul 23:29
· 16 commits to master since this release

Pypi release is updated. Upgrade with pip using:

pip install pynps --upgrade

Good news for windows users this release. As always, for any bug refer to issues

PSA: Keep in mind windows has a hard time with japanese characters, that's a problem with cmd and I'm not sure if I can do something to mitigate it. But I'm looking into it. Anyone with more information about this can also refer to issues

Changelog

Windows binaries are available again

You read it right, "are", pynps is now shipped in two flavors for windows:

Windows installer:
This is the best way for noobs to get everything runing, pynps is installed at C:\Program Files (x86)\pyNPS, this installer ships with wget.exe and pkg2zip.exe bundled within, the installer will also add pynps into the PATHS (only if installed as administrator, aka "For all users in this computer", tho). For people that don't care about these technicalities, basically this means you only need to install pynps and it'll work out of the box: just open cmd and type "pynps".

For the installer, pynps uses this directory C:\Users\USERNAME\Documents\pyNPSbin to store everything:
-there's no lib folder, since it's bundled with the installer
-settings file is at pyNPSbin\settings.ini
-database is located at pyNPSbin\database\pynps.db

The download folder is C:\Users\USERNAME\Downloads\pyNPS

Windows portable exe file:
This is a one file executable shipped inside a zip, compared to the Windows installer, the portable release should have a startup time that's a little slower; You'll still need to look for a pkg2zip.exe and a wget.exe file and put it in the lib folder inside place_where_you_extracted_zip\pynps\pynps_config\lib. You'll also need to add the pynps.exe into your PATH if you want to run it easily from cmd, double clicking the file don't work.

For the portable release, everything is done inside place_where_you_extracted_zip\pynps

  • wget.exe and pkg2zip.exe, as already explaned, have to be inside pynps_config\lib\
    -settings file is at pynps_config\settings.ini
    -database is located at pynps_database\pynps.db

The download folder is pynps_downloads, also inside place_where_you_extracted_zip\pynps

Support for pip on windows #14

Windows users that are familiar with python can now install pynps using pip!
On WIndows, pynps uses this directory C:\Users\USERNAME\Documents\pyNPS to store everything:

  • wget.exe andpkg2zip.exe have to be inside pyNPS\lib\
    -settings file is at pyNPS\settings.ini
    -database is located at pyNPS\database\pynps.db

The download folder is C:\Users\USERNAME\Downloads\pyNPS

Windows user not using the installer can get pkg2zip from lusi1 and a wget build from here

BUG fixes

binaries are packed with pyinstaller and python 3.7.8. The installer is compiled with Inno Setup