Merge pull request #7 from python-monero/add_setup_py

added setup.py script to be able to install this module
master
xmrdsc 4 years ago committed by GitHub
commit fa68410a5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
.gitignore vendored

@ -4,3 +4,5 @@
htmlcov
.coverage
.idea
.autoenv
.venv

@ -0,0 +1 @@
__version__='0.1.0'

@ -0,0 +1,20 @@
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
# Taken from Requests setup.py: https://github.com/psf/requests/blob/master/setup.py#L61
with open(os.path.join(here, 'levin', '__version__.py'), 'r') as f:
__version__ = None
exec(f.read())
setup(name='py-levin',
version=__version__,
description='Levin client',
author='xmrdsc',
url='https://github.com/xmrdsc/py-levin',
packages=['levin'],
license='2018 WTFPL Do What the Fuck You Want to Public License'
)
Loading…
Cancel
Save