-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (23 loc) · 1.03 KB
/
setup.py
File metadata and controls
31 lines (23 loc) · 1.03 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
#!/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 CryptoCoinChartsApi
pathname = getcwd()
packages = ['CryptoCoinChartsApi', 'CryptoCoinChartsApi/Models']
setup(name = 'CryptoCoinChartsApi',
version = '0.2',
description = 'Python API for www.cryptocoincharts.info',
author = 'Dirrot',
author_email = 'dirrot.dev@gmail.com',
url = 'https://github.com/Dirrot/python-cryptocoincharts-api',
packages = packages,
package_dir = {'CryptoCoinChartsApi.py' : abspath(path_join(pathname, 'CryptoCoinChartsApi/')), 'Coin.py' : abspath(path_join(pathname, 'CryptoCoinChartsApi/Models')), 'TradingPair.py' : abspath(path_join(pathname, 'CryptoCoinChartsApi/Models'))},
data_files = [('share/CryptoCoinChartsApi', ['README.md', 'LICENSE', 'img/donation-qr-code.png'])],
)
try:
rmtree(abspath(path_join(pathname, 'build/')))
except:
pass