-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsetup.py
executable file
·43 lines (39 loc) · 1.52 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
from setuptools import setup, find_packages
import glob, os
def walk_topdirs(dest, topdirs):
# dest: where to store the walked files e.g. ''
# topdirs: what to walk e.g. ['tests', ...]
datafiles = []
for topdir in topdirs:
for dirname, dirnames, filenames in os.walk(topdir):
datafiles.append(
(
os.path.join(dest, dirname),
map(lambda x: os.path.join(dirname, x), filenames)
)
)
return datafiles
data_files = walk_topdirs('/usr/share/pulp_auto/', ['tests'])
setup(name='pulp_auto',
version=0.1,
description='Pulp REST API automation library and test cases',
author='dparalen',
author_email='[email protected]',
url='https://github.com/RedHatQE/pulp-automation',
license='GPLv3+',
install_requires=['nose>=1.3.0', 'requests>=1.2.3', 'PyYAML',
'gevent>=1.0.1', 'stitches', 'M2Crypto', 'requestbin>0.1', 'qpid-python'],
dependency_links=[
"svn+http://svn.apache.org/repos/asf/qpid/trunk/qpid/python/"
],
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Operating System :: POSIX',
'Intended Audience :: Developers',
'Development Status :: 4 - Beta'
],
packages=find_packages(exclude=['tests*']),
data_files=data_files
)