From c46d8da153ac658c8bd145376e22b1218db1090a Mon Sep 17 00:00:00 2001 From: kali Date: Sun, 22 Jul 2012 21:10:15 -0700 Subject: initial import --- setup.py | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100755 setup.py (limited to 'setup.py') diff --git a/setup.py b/setup.py new file mode 100755 index 00000000..2bda6b66 --- /dev/null +++ b/setup.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +import sys + +try: + from setuptools import setup, find_packages +except ImportError: + #FIXME old? + #use distribute_setup instead?? + #http://packages.python.org/distribute/setuptools.html#using-setuptools-without-bundling-it + import ez_setup + #XXX move ez_setup somewhere else? + ez_setup.use_setuptools() + from setuptools import setup, find_packages +import os + +# get version from somewhere else +version = '0.1' + +setup_root = os.path.dirname(__file__) +sys.path.insert(0, os.path.join(setup_root, "src")) + +setup( + name='eip-client', + package_dir={"": "src"}, + version=version, + description="the internet encryption toolkit", + long_description="""\ +""", + classifiers=[], # Get strings from + # http://pypi.python.org/pypi?%3Aaction=list_classifiers + + # XXX FIXME DEPS + # deps: pyqt + # test_deps: nose + # build_deps: pyqt-utils + + keywords='leap, client, qt, encryption', + author='leap project', + author_email='info@leap.se', + url='http://leap.se', + license='GPL', + packages=find_packages( + 'src', + exclude=['ez_setup', 'setup', 'examples', 'tests']), + include_package_data=True, + zip_safe=False, + install_requires=[ + # -*- Extra requirements: -*- + ], + data_files=[ + ("share/man/man1", + ["docs/leap.1"]), + ("share/polkit-1/actions", + ["setup/linux/polkit/net.openvpn.gui.leap.policy"]) + ], + platforms="all", + scripts=["setup/scripts/leap"], + entry_points=""" + # -*- Entry points: -*- + """, +) -- cgit v1.2.3