forked from ironcamel/openstack.api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (34 loc) · 1.16 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
import os
import shutil
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
dst = 'debian/openstackx/var/lib/nova/'
os.system('rm -rf %s' % dst)
shutil.copytree('extensions', '%s/extensions' % dst)
requirements = ['httplib2']
if sys.version_info < (2,6):
requirements.append('simplejson')
setup(
name = "openstackx",
version = "0.2",
description = "Client library extensions for the OpenStack API",
long_description = read('README.rst'),
url = 'http://github.com/cloudbuilders/openstackx/',
license = 'Apache 2.0',
author = 'Anthony Young',
author_email = '[email protected]',
packages = find_packages(exclude=['tests']),
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: Apache 2.0 License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
namespace_packages = ["openstackx"],
install_requires = requirements,
tests_require = ["nose", "mock"],
test_suite = "nose.collector",
)