forked from VisTrails/tej
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (46 loc) · 1.65 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import os
from setuptools import setup
import sys
# pip workaround
os.chdir(os.path.abspath(os.path.dirname(__file__)))
def list_files(d, root):
files = []
for e in os.listdir(os.path.join(root, d)):
if os.path.isdir(os.path.join(root, d, e)):
files.extend(list_files('%s/%s' % (d, e), root))
elif not e.endswith('.pyc'):
files.append('%s/%s' % (d, e))
return files
with open('README.rst') as fp:
description = fp.read()
req = ['paramiko', 'rpaths', 'scp']
if sys.version_info < (2, 7):
req.append('argparse')
setup(name='tej',
version='0.1',
packages=['tej'],
package_data={'tej': list_files('remotes/default', 'tej')},
entry_points={
'console_scripts': [
'tej = tej.main:main']},
install_requires=req,
description="Trivial Extensible Job-submission system",
author="Remi Rampin",
author_email='remirampin@gmail.com',
maintainer="Remi Rampin",
maintainer_email='remirampin@gmail.com',
url='https://github.com/remram44/tej',
long_description=description,
license='BSD',
keywords=['tej', 'job', 'submission', 'queue', 'batch', 'ssh', 'server'],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Topic :: Internet',
'Topic :: Scientific/Engineering',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Shells',
'Topic :: Utilities'])