setup.py 1.41 KB
Newer Older
André Anjos's avatar
André Anjos committed
1 2
from setuptools import setup, find_packages

3 4 5
import sys

# If Python < 2.7 or 3.0 <= Python < 3.2, require some more stuff
6
DEPS = ['six']
7
if sys.version_info[:2] < (2, 7) or ((3,0) <= sys.version_info[:2] < (3,2)):
8
  DEPS.append('argparse')
9

André Anjos's avatar
André Anjos committed
10 11
setup(
    name='gridtk',
12
    version='1.0.2a1',
13
    description='SGE Grid and Local Submission and Monitoring Tools for Idiap',
André Anjos's avatar
André Anjos committed
14

André Anjos's avatar
André Anjos committed
15
    url='https://github.com/idiap/gridtk',
André Anjos's avatar
André Anjos committed
16 17
    license='LICENSE.txt',

18 19
    author='Manuel Guenther',
    author_email='manuel.guenther@idiap.ch',
André Anjos's avatar
André Anjos committed
20 21

    packages=find_packages(),
22
    include_package_data=True,
André Anjos's avatar
André Anjos committed
23 24 25

    entry_points={
      'console_scripts': [
26 27 28 29
        'jman = gridtk.script.jman:main',
        'grid = gridtk.script.grid:main',

        # program replacements
30 31 32 33
        'qstat.py = gridtk.script.grid:main',
        'qdel.py = gridtk.script.grid:main',
        'qsub.py = gridtk.script.grid:main',
        'man.py = gridtk.script.grid:main',
34 35 36 37 38 39 40
      ],

      'bob.test' : [
        'gridtk = gridtk.tests:GridTKTest',
      ],

    },
André Anjos's avatar
André Anjos committed
41

André Anjos's avatar
André Anjos committed
42
    long_description=open('README.rst').read(),
André Anjos's avatar
André Anjos committed
43

44
    install_requires=DEPS,
André Anjos's avatar
André Anjos committed
45 46 47 48 49 50 51

    classifiers = [
      'Development Status :: 4 - Beta',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
      'Natural Language :: English',
      'Programming Language :: Python',
André Anjos's avatar
André Anjos committed
52
      'Programming Language :: Python :: 3',
André Anjos's avatar
André Anjos committed
53 54
      'Topic :: System :: Clustering',
      ]
André Anjos's avatar
André Anjos committed
55
)