-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
36 lines (32 loc) · 854 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
34
35
36
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '0.1.0'
if sys.argv[-1] == 'publish':
os.system('rm -rf *.egg-info')
os.system('rm -rf build')
os.system('rm -rf dist')
os.system('git clean -x -f')
os.system('python setup.py sdist upload')
sys.exit()
setup(
name = 'dcdumper',
author = 'A. Rothfusz',
author_email = '[email protected]',
url = 'http://www.dotcloud.com/',
version = VERSION,
packages = [
'dcdumper'
],
scripts = [
'dcdumper/dcdumper'
],
install_requires = ['dotcloud==0.9.4'],
zip_safe = False,
description = 'hacked dotCloud command-line interface client',
long_description =
'An alternative to the dotCloud CLI, now with utilities to help with backups.'
)