-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
executable file
·41 lines (38 loc) · 1.16 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
#!/usr/bin/env python3
import os
from setuptools import setup, find_packages
# The current version of steemvote.
STEEMVOTE_VERSION = '0.3.0'
# http://stackoverflow.com/questions/4060221/how-to-reliably-open-a-file-in-the-same-directory-as-a-python-script
def readme():
current_dir = os.path.realpath(os.path.join(os.getcwd(),
os.path.dirname(__file__)))
with open(os.path.join(current_dir, 'README.md')) as f:
return f.read()
setup(
name = 'Steemvote',
version = STEEMVOTE_VERSION,
description = 'Automated Steem voting.',
long_description = readme(),
url = 'https://github.com/kefkius/steemvote',
keywords = [
'steem',
'steemit',
],
license = 'AGPLv3+',
classifiers = [
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Utilities',
],
install_requires = [
'humanfriendly',
'peewee',
'pyyaml',
'steem-piston',
],
packages = find_packages(),
author = 'Tyler Willis',
author_email = '[email protected]',
scripts = ['steemvoter']
)