packaging.rst 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Packaging for UNIX\\Linux
  2. =========================
  3. Requirements and suggested packages
  4. -----------------------------------
  5. The most basic install of pwman requires Python 2.7.x or Python 3.x with
  6. SQLite support.
  7. Some users might be interested in working with a network database such as
  8. MySQL or Postgreql, in this case the package should suggest to install but not
  9. depend on the following components:
  10. * `python-psycopg2`_
  11. * `python-pymysql`_
  12. .. _python-psycopg2: https://pypi.python.org/pypi/psycopg2
  13. .. _python-pymysql: https://pypi.python.org/pypi/PyMySQL
  14. Building a man page
  15. -------------------
  16. Many users of command line programs expect to find a man page for each and
  17. every program installed. Some Linux flavours has even made it a policy (for
  18. example `Debian Policy`_).
  19. If you would like to format a man page for Pwman3, this program provides a
  20. helper method for that::
  21. $ python setup.py build_manpage
  22. This will create a man page `pwman3.1` in the directory where you issued the
  23. command. You can control the output by editing the option `output` in the file
  24. `setup.cfg`.
  25. .. _Debian Policy: https://www.debian.org/doc/debian-policy/ch-docs.html