Skip to content

Commit

Permalink
Declare official python3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Mar 31, 2016
1 parent 172c93d commit b54727f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ sudo: false
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "nightly"

install:
- pip install . # See setup.py
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Please see [User Guide](http://docs.tracer-package.com/en/latest/user-guide/)

## Requirements
- Supported linux distribution - There are currently supported [Fedora](http://fedoraproject.org/), [Gentoo](http://www.gentoo.org/), [Debian](https://www.debian.org/), and [Arch](https://archlinux.org)
- Python interpreter
- Python interpreter (tracer is compatible with both 2.7 and 3.x)
- Python [psutil](https://code.google.com/p/psutil/) module. Available [here](https://admin.fedoraproject.org/pkgdb/acls/name/python-psutil) and [here](https://packages.gentoo.org/package/dev-python/psutil).
- Python [beautifulsoup](http://www.crummy.com/software/BeautifulSoup/bs4/doc/) module. Available [here](https://admin.fedoraproject.org/pkgdb/acls/name/python-beautifulsoup4) and [here](https://packages.gentoo.org/package/dev-python/beautifulsoup)

Expand Down
2 changes: 1 addition & 1 deletion doc/source/developer-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Developer Guide
Python
------

Tracer is build on Python 2.7 because this version is most spread on linux systems. Besides basic python, tracer requires its few packages:
Tracer is written in Python and it is compatible with its both 2.7 and 3.x versions. Besides standard python interpreter, tracer requires its few packages:

- `psutil`_ - For getting informations about processes, memory, etc
- `beautifulsoup`_ - For parsing user defined xml files such as ``data/applications.xml`` and ``data/rules.xml``
Expand Down
17 changes: 15 additions & 2 deletions tracer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,31 @@ URL: http://tracer-package.com/
# tito build --tgz
Source0: %{name}-%{version}.tar.gz

BuildRequires: python2-devel
BuildRequires: asciidoc
BuildRequires: gettext
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-sphinx
BuildRequires: python3-beautifulsoup4
BuildRequires: python3-psutil
BuildRequires: python3-pygments
BuildRequires: python3-lxml
Requires: rpm-python3
Requires: python3
Requires: python3-beautifulsoup4
Requires: python3-psutil
%else
BuildRequires: python2-devel
BuildRequires: python-sphinx
BuildRequires: python-beautifulsoup4
BuildRequires: python-psutil
BuildRequires: python-pygments
BuildRequires: python-lxml
BuildRequires: gettext
Requires: rpm-python
Requires: python
Requires: python-beautifulsoup4
Requires: python-psutil
%endif

%description
Tracer determines which applications use outdated files and prints them. For
Expand Down

0 comments on commit b54727f

Please sign in to comment.