19 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
a4be460538 Introduce framework for checking/installing packages
- Uses PackageKit dameon, Glib library wrapping packagekit DBUS API and
  Python bindings for the Glib library.

- Implement a decorator to wrap views requiring packages.

- Framework allows for parallel operations.  However, doing parallel
  operations hangs because of what appears to be PackageKit backend
  limitations.
2015-01-05 00:13:19 +05:30
Sunil Mohan Adapa
5016087d5c Move coverage to test dependency and install it properly
- Coverage should only be required if running tests

- When running test_coverage command all the install dependencies and
  test dependencies should be installed.
2014-12-07 11:38:33 +05:30
Bob Girard
a502da63d5 Add test coverage measurement and reporting
- Implement coverage functionality as a setuptools Command subclass
  (in plinth/tests/coverage/test_coverage.py)
- Register the new 'test_coverage' command in setup.py
- Modify the INSTALL file to specify python3-coverage as a new dependency
- Modify the HACKING file to document the new 'test_coverage' command
- Have git (via .gitignore) ignore the '.coverage' output data file and
  the contents of the 'plinth/tests/coverage/report' directory
2014-12-06 18:14:42 +05:30
Sunil Mohan Adapa
fcc1330318 Relicense __main__.py to AGPLv3+
- There is no point in keeping this one single file as with different
  license from the rest of the package.  This change simplifies things.

- The file has been almost entirely been rewritten for Django, module
  loading, CherryPy static directories etc.

- This change will be pushed with the consent of new authors: fonfon and
  Me.
2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa
7906b0ab5e Clean documentation directory when 'setup.py clean' is run 2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa
7f307dc5a2 Fix issue with installing to a different root with --root= 2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa
3871875ddf Don't add boostrap form to python module dependencies
Setup.py list will need python modules list and doesn't understand
Debian packages.  Setup.py will try to install libjs-boostrap as a
Python module and download it from PyPI.
2014-11-23 13:59:12 +05:30
fonfon
f0582e7a94 replaced bootstrap2 by bootstrap3 2014-11-11 19:06:47 +01:00
Sunil Mohan Adapa
5418542d56 Fix issue with plinth module not getting installed 2014-10-12 19:18:18 +05:30
Sunil Mohan Adapa
d704b3961e Fix issue with symlinks during recursive copy during install 2014-10-12 19:04:52 +05:30
Sunil Mohan Adapa
731c2535b7 Make setup.py sdist command work properly 2014-10-05 13:44:30 +05:30
Sunil Mohan Adapa
22def21d6b Update documentation with Python3 dependency information 2014-10-04 13:41:27 +05:30
fonfon
ea982bf73e call django.setup before syncdb for django 1.7 compatibility 2014-10-01 19:18:27 +02:00
Sunil Mohan Adapa
e7ed0c7c58 Update dependencies list in setup.py and INSTALL 2014-10-01 11:35:02 +05:30
Sunil Mohan Adapa
c9d8bb9d00 Require and use Python3 2014-10-01 11:31:51 +05:30
Sunil Mohan Adapa
27cdadbc76 Log a message showing the config file used 2014-09-02 14:47:35 +05:30
Sunil Mohan Adapa
b12072d924 Build documentation before install 2014-08-31 18:29:21 +05:30
Sunil Mohan Adapa
4cc2dc4546 Launch test cases using "setup.py test" 2014-08-31 14:24:00 +05:30
Sunil Mohan Adapa
ddb3b0f2c2 Use setup.py instead of Makefile 2014-08-31 13:11:27 +05:30