forked from duckzland/jxminer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
76 lines (74 loc) · 2.79 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = "jxminer",
version = "0.7.0",
author = "Jason Xie",
author_email = "[email protected]",
description = "Python script for managing mining server",
packages=['jxminer', 'jxminer.entities', 'jxminer.miners', 'jxminer.modules', 'jxminer.threads', 'jxminer.gpu'],
package_dir={'jxminer' : 'jxminer'},
include_package_data=True,
package_data={'': ['data/config/*.ini', 'data/miners/*.ini', 'data/pools/*.ini']},
data_files=[
('/etc/jxminer/config', [
'jxminer/data/config/coins.ini',
'jxminer/data/config/fans.ini',
'jxminer/data/config/machine.ini',
'jxminer/data/config/miner.ini',
'jxminer/data/config/notification.ini',
'jxminer/data/config/sensors.ini',
'jxminer/data/config/slack.ini',
'jxminer/data/config/systemd.ini',
'jxminer/data/config/tuner.ini',
'jxminer/data/config/watchdog.ini',
]),
('/etc/jxminer/miners', [
'jxminer/data/miners/amdxmrig.ini',
'jxminer/data/miners/avermore.ini',
'jxminer/data/miners/castxmr.ini',
'jxminer/data/miners/ccminer.ini',
'jxminer/data/miners/claymore.ini',
'jxminer/data/miners/cpuminer.ini',
'jxminer/data/miners/cpuxmrig.ini',
'jxminer/data/miners/cryptodredge.ini',
'jxminer/data/miners/ethminer.ini',
'jxminer/data/miners/ewbf.ini',
'jxminer/data/miners/nvidiaxmrig.ini',
'jxminer/data/miners/phoenixminer.ini',
'jxminer/data/miners/sgminer.ini',
'jxminer/data/miners/trex.ini',
'jxminer/data/miners/teamredminer.ini',
'jxminer/data/miners/wildrig.ini',
]),
('/etc/jxminer/pools', [
'jxminer/data/pools/2miners.ini',
'jxminer/data/pools/blockcruncher.ini',
'jxminer/data/pools/coinmine.ini',
'jxminer/data/pools/dwarfpool.ini',
'jxminer/data/pools/flypool.ini',
'jxminer/data/pools/hashvault.ini',
'jxminer/data/pools/lethean.ini',
'jxminer/data/pools/minepool.ini',
'jxminer/data/pools/minermore.ini',
'jxminer/data/pools/nanopool.ini',
'jxminer/data/pools/pickaxe.ini',
'jxminer/data/pools/ravenminer.ini',
'jxminer/data/pools/turtlepool.ini',
]),
],
install_requires=[
'psutil',
'pexpect',
'setuptools',
'websocket',
'scapy',
'systemd-python',
#'nfqueue',
'addict',
'slackclient',
],
entry_points = {
'console_scripts' : ['jxminer = jxminer.jxminer:start_miner']
},
)