Commit 9cc42071 authored by Hartmut Goebel's avatar Hartmut Goebel
Browse files

Add install_requires to setup.py.

parent e7cc22cb
......@@ -4,12 +4,22 @@ from setuptools import setup, find_packages
from cadre import __version__
try:
# :todo: find a way to test if clutter is installed.
# See https://stackoverflow.com/questions/8034081
raise ImportError
# do not require a toolkit, it is installed already
toolkit = ''
except (ImportError, ):
toolkit = 'pyglet >= 1.1'
packages = find_packages()
long_description = "\n\n".join([
open("README.txt").read(),
])
setup(
name="Cadre",
version=__version__,
......@@ -20,6 +30,7 @@ setup(
license="MIT",
packages=packages,
include_package_data=True,
install_requires=['Coherence', 'Twisted', 'pygtk', toolkit],
zip_safe=False,
scripts=['bin/cadre'],
url="http://coherence-project.org",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment