Python: building improvement & docs

This commit is contained in:
boyska 2012-02-01 23:27:18 +01:00
parent a6da0dbb93
commit 86fc6e67a8
4 changed files with 53 additions and 2 deletions

30
INSTALL.python Normal file
View File

@ -0,0 +1,30 @@
About
*****
This document is about the installing of both pytomb and the tomb gui.
Pytomb is a python library that is needed to run the tomb gui
Dependencies
============
The pytomb library has NO dependencies. Hooray!
The gui depends on having PyQt4 installed in your operative system. This is
package python-qt4 in debian or ubuntu, python2-pyqt in archlinux. If you are
unsure about this, try to install and check if it works ;)
Basic Installation
==================
First, install pytomb. It has no dependencies
1. `cd' to the directory containing pytomb (src/pytomb)
2. do `sudo python2 setup.py install'
Then, you have to install the gui.
1. `cd' to the directory containing the gui (src/qt)
2. do `python2 setup.py build_ui'
3. do `sudo python2 setup.py install'

Binary file not shown.

View File

@ -2,10 +2,20 @@ from setuptools import setup
setup(
name = 'TombLib',
url = 'http://tomb.dyne.org/',
author = 'boyska',
author_email = 'piuttosto@logorroici.org',
version = '1.1',
packages = ['tomblib'],
test_suite = 'nose.collector'
test_suite = 'nose.collector',
classifiers = [
'Topic :: Security :: Cryptography',
'Intended Audience :: Developers',
'Operating System :: POSIX :: Linux',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Development Status :: 3 - Alpha'
]
)

View File

@ -34,6 +34,9 @@ class build_ui(Command):
setup(
name = 'TombQt',
url = 'http://tomb.dyne.org/',
author = 'boyska',
author_email = 'piuttosto@logorroici.org',
version = '0.1',
packages = ['tombqt'],
cmdclass = {
@ -44,7 +47,15 @@ setup(
'tomb-qt-create = tombqt.create:run_create_wizard',
'tomb-qt-open = tombqt.open:run_open_wizard'
]
}
},
classifiers = [
'Topic :: Security :: Cryptography',
'Intended Audience :: End Users/Desktop',
'Operating System :: POSIX :: Linux',
'Environment :: X11 Applications :: Qt',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Development Status :: 3 - Alpha'
]
)