-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (30 loc) · 1.07 KB
/
Copy pathsetup.py
File metadata and controls
34 lines (30 loc) · 1.07 KB
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
#!/usr/bin/env python
import os
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
description = 'Python module to manage Digitalocean droplet backups.'
long_description = description
if os.path.isfile("README.md"):
with open('README.md') as file:
long_description = file.read()
if os.path.isfile("LICENSE.txt"):
with open("LICENSE.txt") as file:
license = file.read()
setup(
name='python-digitalocean-backup',
version='1.1.0',
description=description,
author='Rob Johnson ( http://corndogcomputers.com )',
author_email='info@corndogcomputers.com',
url="https://github.com/corndogcomputers/python-digitalocean-backup",
packages=['digitaloceanbackup'],
install_requires=['python-digitalocean>=1.5'],
download_url="https://github.com/corndogcomputers/python-digitalocean-backup/tarball/master",
keywords=["digitalocean", "backup", "vps", "rsync", "api", "snapshot"],
license=license,
long_description=long_description
)