diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-07-26 03:23:31 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-07-26 03:23:31 +0200 |
commit | e10334539d6b6c8c01d5936aa68e1b4b42f85963 (patch) | |
tree | bbff29098e1bab80a0909a805c68e874f12181cc | |
parent | 30a5b66bb52b3116d0fa1aa47b76210b2613062d (diff) | |
download | portato-e10334539d6b6c8c01d5936aa68e1b4b42f85963.tar.gz portato-e10334539d6b6c8c01d5936aa68e1b4b42f85963.tar.bz2 portato-e10334539d6b6c8c01d5936aa68e1b4b42f85963.zip |
Add libeix to setup.py
Diffstat (limited to '')
-rw-r--r-- | setup.py | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -13,6 +13,10 @@ import os from distutils.core import setup + +from Cython.Distutils.extension import Extension +from Cython.Distutils import build_ext + from portato.constants import VERSION, ICON_DIR, PLUGIN_DIR, TEMPLATE_DIR, APP from build_manpage import build_manpage @@ -21,12 +25,14 @@ def plugin_list (*args): """Creates a list of correct plugin pathes out of the arguments.""" return [("plugins/%s.py" % x) for x in args] -packages = ["portato", "portato.db", "portato.gui", "portato.gui.windows", "portato.plugins", "portato.backend", "portato.backend.portage"] +packages = ["portato", "portato.db", "portato.eix", "portato.gui", "portato.gui.windows", "portato.plugins", "portato.backend", "portato.backend.portage"] data_files = [ (TEMPLATE_DIR, [os.path.join("portato/gui/templates",x) for x in os.listdir("portato/gui/templates") if x.endswith(".ui")]), (ICON_DIR, ["icons/portato-icon.png"]), (PLUGIN_DIR, plugin_list("gpytage", "notify", "etc_proposals", "reload_portage", "package_details"))] +libeix = Extension("portato.eix.libeix", ["portato/eix/libeix.pyx"]) + # do the distutils setup setup(name=APP, version = VERSION, @@ -38,6 +44,7 @@ setup(name=APP, author = "René 'Necoro' Neumann", author_email = "necoro@necoro.net", packages = packages, + ext_modules = [libeix], data_files = data_files, - cmdclass={'build_manpage': build_manpage} + cmdclass={'build_manpage': build_manpage, 'build_ext' : build_ext} ) |