Commit Graph

14 Commits

Author SHA1 Message Date
Chris PeBenito
e193e27db1 .gitignore: Add VS Code and tox venv directories.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2020-10-14 10:16:54 -04:00
Chris PeBenito
41632dce9d tox.ini: Add static type checking using mypy.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2020-10-14 10:16:46 -04:00
Chris PeBenito
324a24ea1a Update .gitignore. 2019-02-23 23:46:52 -08:00
Chris PeBenito
2b4d69d42e Revise structure to make policyrep a module instead of a subpackage.
The setools.policyrep.exception module merged into setools.exception.
2018-08-11 20:46:01 -04:00
Chris PeBenito
51b53eb4a5 setup.py: Update for cython extension. 2018-06-15 20:26:49 -04:00
Nicolas Iooss
3868613c8f
Generate Apol compressed help file with "setup.py build_qhc"
"setup.py build_qhc" invokes qcollectiongenerator on qhc/apol.qhcp,
which produces two files:
- apol.qhc, a Qt Help Collection file
- apol.qch, a Qt Compressed Help file

As apol.qhc is merely a set of metadata with a relative link to
apol.qch, Qt Assistant requires both files in order to display Apol
help.

Make "setup.py build_qhc" build both files in setoolsgui/apol/.

Moreover '*.qch' needs to be added to package_data in order to install
apol.qch.

Fixes: https://github.com/TresysTechnology/setools/issues/165
2017-02-15 21:37:45 +01:00
Chris PeBenito
2828db4a64 apol: Implement help menu
Populate with some help text from setools3.

Related to #114
2016-04-19 16:03:15 -04:00
Fernand Lone-Sang
ad154e0410 ignore coverage-generated files 2015-02-16 09:43:21 +01:00
Fernand Lone-Sang
ba1869f658 add tox configuration file
From the project webpage:

"""
Tox is a generic virtualenv management and test command line tool you can use
for:

- checking your package installs correctly with different Python versions and
  interpreters
- running your tests in each of the environments, configuring your test tool of
  choice
- acting as a frontend to Continuous Integration servers, greatly reducing
  boilerplate and merging CI and shell-based testing.
"""
2015-02-16 09:43:21 +01:00
Chris PeBenito
c183796688 Add MANIFEST.in for setup sdist target. 2014-10-29 14:12:49 -04:00
Chris PeBenito
8a37ea0ed9 Remove generated files (lex/yacc)
Add setuptools/distutils commands to run bison and flex when building.
2014-10-29 12:03:44 -04:00
Chris PeBenito
109ba68a92 Rename libapol package to setools. 2014-10-24 21:23:13 -04:00
Chris PeBenito
8363f8edf7 Import libqpol from setools3.
Break setools3 dependence. Also fix SWIG wrapper to work with SWIG 2.x.
2014-10-24 21:00:24 -04:00
Chris PeBenito
39505d0295 Initial public release. 2014-07-08 14:28:55 -04:00