summaryrefslogtreecommitdiff
path: root/setup.py
blob: af82b7f1a223eee9bed4330af86ccc85b5f8e714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/python
# -*- coding: utf-8 -*-

from distutils.core import setup, Extension
from portato.constants import VERSION, DATA_DIR, FRONTENDS

packages = ["portato", "portato.gui", "portato.plugins", "portato.backend", "portato.backend.portage"]
ext_modules = []
data_files = []
cmdclass = {}

if "gtk" in FRONTENDS:
	packages.append("portato.gui.gtk")
	data_files.append((DATA_DIR, ["portato/gui/gtk/glade/portato.glade"]))

setup(name="Portato",
		version = VERSION,
		author = "René 'Necoro' Neumann",
		license = "GPLv2",
		author_email = "necoro@necoro.net",
		packages = packages,
		data_files = data_files,
		ext_modules = ext_modules,
		cmdclass = cmdclass
		)