-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (53 loc) · 2.35 KB
/
setup.py
File metadata and controls
61 lines (53 loc) · 2.35 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
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
#!/usr/bin/env python
# Pyledger. A simple ledger for smart contracts implemented in Python
# Copyright (C) 2017 Guillem Borrell Nogueras
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from setuptools import setup
__version__ = None
with open('pyledger/__init__.py') as f:
exec(f.read())
long_description = """
.. image:: https://badge.fury.io/py/pyledger.svg
:target: https://badge.fury.io/py/pyledger
.. image:: https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat
:target: https://pyledger.readthedocs.io/en/latest
.. image:: https://badge.fury.io/gh/guillemborrell%2Fpyledger.svg
:target: https://badge.fury.io/gh/guillemborrell%2Fpyledger
"""
setup(name='pyledger',
version=__version__,
description='A simple ledger for smart contracts written in Python',
long_description=long_description,
author='Guillem Borrell',
author_email='guillemborrell@gmail.com',
packages=['pyledger', 'pyledger'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: GNU Affero General Public License v3'
],
setup_requires=['pytest-runner', 'pytest'],
install_requires=['protobuf>=3.0.0', 'sqlalchemy',
'autobahn', 'google', 'cryptography'],
entry_points={
'console_scripts': ['pyledger-shell=pyledger.client:run',
'pyledger-verify=pyledger.verify:run']
}
)