-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·35 lines (30 loc) · 909 Bytes
/
setup.py
File metadata and controls
executable file
·35 lines (30 loc) · 909 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
32
33
34
35
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
except:
README = ''
requires = []
# add argparse to be installed for earlier versions of python
if sys.version_info[:2] <= (2, 6):
requires.append('argparse')
setup(name='ppagent',
version='0.3.5',
description='A statistics collection agent for powerpool mining server',
author='Isaac Cook',
long_description=README,
author_email='isaac@simpload.com',
url='http://www.python.org/sigs/distutils-sig/',
packages=find_packages(),
install_requires=requires,
package_data={'ppagent': ['install/*']},
entry_points={
'console_scripts': [
'ppagent = ppagent.main:entry'
]
}
)