Merge branch 'master' of c-leuse:cerebrum
[cerebrum.git] / setup.py
blobde4cf05234d10ec7c0e317c342cec4e2b640c436
1 from setuptools import setup
2 import os.path
3 import sys
5 ver = "0.0.1"
7 def read(filename):
8 return open(os.path.join(os.path.dirname(__file__), filename)).read()
10 #This is a list of files to install, and where
11 #(relative to the 'root' dir, where setup.py is)
12 #You could be more specific.
13 files = ["pylibcerebrum/*"]
15 requires=['mako',
18 if sys.version_info < (3,3):
19 requires.append('pylzma')
20 elif sys.version_info <(2,6):
21 print("Oops, only python > 2.6 and >= 3.0 supported!")
22 sys.exit()
24 setup(name = "pylibcerebrum",
25 version = ver,
26 description = "Python Library for cerebrum systems",
27 license = "unknown",
28 author = "jaseg",
29 author_email = "jaseg@c-base.org",
30 url = "https://github.com/jaseg/cerebrum",
31 packages = ['pylibcerebrum',
33 package_data = {'pylibcerebrum': ['pylibcerebrum']},
34 scripts = ['runtests.py',
35 'build.py',
36 'generator.py'],
37 entry_points="""
38 """,
39 install_requires=requires,
40 zip_safe = True,
41 classifiers = [
42 'Development Status :: 4 - Beta',
43 'Environment :: Console',
44 'Environment :: Plugins',
45 'Intended Audience :: Developers',
46 'Intended Audience :: Information Technology',
47 'Intended Audience :: Science/Research',
48 'Programming Language :: Python :: 3.0',
49 'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator',
50 'Topic :: Scientific/Engineering :: Artificial Intelligence',
51 'Topic :: Home Automation',
52 'Topic :: Software Development :: Embedded Systems',
53 'Topic :: Software Development :: Libraries :: Application Frameworks',
54 'Topic :: System :: Distributed Computing',
55 'Topic :: System :: Hardware :: Hardware Drivers',
56 'Topic :: System :: Networking'
59 #package_data = {'package' : files },
60 #scripts = [""], # None yet
61 long_description = read('README.md'),
62 # Dependencies
64 # Note: Those are proven to work, older versions might work,
65 # but have never been tested.
67 dependency_links = [],