forked from mkorpela/RoboMachine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
33 lines (28 loc) · 995 Bytes
/
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
#!/usr/bin/env python
from distutils.core import setup
import os
import sys
from setuptools import find_packages
from os.path import dirname, abspath, join
name = 'Mikko Korpela'
# I might be just a little bit too much afraid of those bots..
address = name.lower().replace(' ', '.')+chr(64)+'gmail.com'
# Get version
CURDIR = dirname(abspath(__file__))
VERSIONFILE = join(CURDIR, 'robomachine', 'version.py')
if sys.version_info.major == 3:
exec(open(VERSIONFILE).read())
else:
execfile(VERSIONFILE)
setup(name='RoboMachine',
version=VERSION,
description='Test data generator for Robot Framework',
author=name,
author_email=address,
url='https://github.com/mkorpela/RoboMachine',
packages=find_packages(),
scripts=[os.path.join('scripts','robomachine'),
os.path.join('scripts','robomachine.bat')],
install_requires = ['pyparsing', 'argparse', 'robotframework', 'allpairspy'],
test_suite='robomachine.test'
)