install.rst 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. installing and upgrading:
  2. =========================
  3. You can install pwman3 simply by unpacking the archive and running:
  4. $ pip install .
  5. Inside the extraced directory. At the moment pypi still does not have
  6. the latest version of pwman3.
  7. Upgrading from version 0.5.x
  8. ----------------------------
  9. If you used the 0.5.x Tversion of ``pwman3`` your database is not compatible
  10. with the new 0.6.x version of ``pwman3``. You need to export your database
  11. to a CSV from version 0.5.3 with::
  12. pwman> export
  13. See ``help export`` when running pwman3 in version 0.5.3.
  14. Once exported you should rename your old database, to keep a backup of it.
  15. Then you can install pwman3 in version 0.6.x as described above. When finished
  16. you can import your passwords from the CSV to a new database with::
  17. $ pwman3 -i path_to_your_file.csv
  18. When the import is done, start pwman3 with::
  19. $ pwman3
  20. If the import was success, erase the CSV file, which contains your passwords
  21. in clear text.
  22. A Note about Python versions
  23. ----------------------------
  24. Pwman3 was tested on Python versions 2.7-3.x. However, du to subtle differences
  25. in PyCrypto, unicode and other stuff it is not recommended to use the same database
  26. with different Python versions.
  27. Hence, if you are using Python version 2.7.x to run Pwman3 and later on you would
  28. like to change your default Python interpreter to Python 3 serious, it is recommended
  29. that you export your database and re-import it to a new database created using Python
  30. 3.X .