From 86fc6e67a81bb671d034c3edcea80eeb0129d4c9 Mon Sep 17 00:00:00 2001 From: boyska Date: Wed, 1 Feb 2012 23:27:18 +0100 Subject: [PATCH] Python: building improvement & docs --- INSTALL.python | 30 ++++++++++++++++++++++++++++++ src/pytomb/.wrapper.py.swp | Bin 12288 -> 0 bytes src/pytomb/setup.py | 12 +++++++++++- src/qt/setup.py | 13 ++++++++++++- 4 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 INSTALL.python delete mode 100755 src/pytomb/.wrapper.py.swp diff --git a/INSTALL.python b/INSTALL.python new file mode 100644 index 0000000..42c3899 --- /dev/null +++ b/INSTALL.python @@ -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' + diff --git a/src/pytomb/.wrapper.py.swp b/src/pytomb/.wrapper.py.swp deleted file mode 100755 index 59d5d6db0ed2845814e27ea49055920042ffda21..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI&KTg9i6bA5DBt`@(7cejsq|y{RfS3>xLxy$&R^%kF)TNFi=M^Yt-~b$e3vdeV zz!|s$I1z}gbYZE!Cq2cHKU?x|%b%os75CLqr$?bSh?;LNgXacOKPJlboyoYGm|v;3 z1^fA#YBsXDMEoGvmaX%%NSsZg(x=hQ)I<}LME717VW&SGn`~4^lIqv=wElZpdbJN2tWV= z5P$##AOHafKmY;|SP}u95uL3QjYC)8|EqTZA7T6+`Ze@Z=z4BR&WmF}00Izz00bZa z0SG_<0uX=z1pZe*eV5m!WHoRS+hW3&bK&gVd*|sVQFxP!YQ;)hl{-=9H`uB}84p$J ySqtx0|Iim&Mr~D^M{cWIo>jMdCw1_&6fGvTEF+guI?-jRF2agkmy9`;kop4OuvJI^ diff --git a/src/pytomb/setup.py b/src/pytomb/setup.py index bed4e7f..62c72c6 100644 --- a/src/pytomb/setup.py +++ b/src/pytomb/setup.py @@ -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' + ] ) diff --git a/src/qt/setup.py b/src/qt/setup.py index 37d2529..6e029e9 100644 --- a/src/qt/setup.py +++ b/src/qt/setup.py @@ -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' + ] )