-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (23 loc) · 808 Bytes
/
setup.py
File metadata and controls
31 lines (23 loc) · 808 Bytes
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
#!/usr/bin/env python2
from distutils.core import setup
from os.path import abspath
from os.path import join as path_join
from os import getcwd
from shutil import rmtree
import DogechainApi
pathname = getcwd()
packages = ['DogechainApi']
setup(name = 'DogechainApi',
version = '0.1',
description = 'Python API for www.dogechain.info',
author = 'Dirrot',
author_email = 'dirrot@web.de',
url = 'https://github.com/Dirrot/python-dogechain-api',
packages = packages,
package_dir = {'DogechainApi.py' : abspath(path_join(pathname, 'DogechainApi/'))},
data_files = [('share/DogechainApi', ['README.md', 'LICENSE', 'img/donation-qr-code.png'])],
)
try:
rmtree(abspath(path_join(pathname, 'build/')))
except:
pass