install.rst 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. Installing and upgrading:
  2. =========================
  3. You can get the latest stable version of pwman3 from pypi::
  4. $ pip install pwman3
  5. Or you can install pwman3 cloning the repository and running::
  6. $ git clone https://github.com/pwman3/pwman3.git
  7. $ cd pwman3 && pip install .
  8. Inside the extraced directory. At the moment pypi still does not have
  9. the latest version of pwman3.
  10. Upgrading from version 0.5.x
  11. ----------------------------
  12. If you used the 0.5.x Tversion of ``pwman3`` your database is not compatible
  13. with the new 0.6.x version of ``pwman3``. You need to export your database
  14. to a CSV from version 0.5.3 with::
  15. pwman> export
  16. See ``help export`` when running pwman3 in version 0.5.3.
  17. Once exported you should rename your old database, to keep a backup of it.
  18. Then you can install pwman3 in version 0.6.x as described above. When finished
  19. you can import your passwords from the CSV to a new database with::
  20. $ pwman3 -i path_to_your_file.csv
  21. When the import is done, start pwman3 with::
  22. $ pwman3
  23. If the import was success, erase the CSV file, which contains your passwords
  24. in clear text.
  25. A Note about Python versions
  26. ----------------------------
  27. Pwman3 was tested on Python versions 2.7-3.x. However, du to subtle differences
  28. in PyCrypto, unicode and other stuff it is not recommended to use the same database
  29. with different Python versions.
  30. Hence, if you are using Python version 2.7.x to run Pwman3 and later on you would
  31. like to change your default Python interpreter to Python 3 serious, it is recommended
  32. that you export your database and re-import it to a new database created using Python
  33. 3.X .
  34. Database versions
  35. -----------------
  36. The current version of Pwman3 is tested with Postgresql-9.3, MySQL-5.5,
  37. MongoDB 2.6.X and SQLite3.
  38. The required python drivers are:
  39. * pymysql version 0.6.6
  40. * psycopg2 version 2.6
  41. * pymongo version 2.8