Add packaging tools, clean up

This commit is contained in:
Michał Sałaban 2018-01-28 15:53:52 +01:00
parent 090ef0c984
commit 218d3dc36f
6 changed files with 46 additions and 15 deletions

3
.gitignore vendored
View file

@ -7,3 +7,6 @@
docs/build/*
.venv
venv
build/
dist/
*.egg-info/

View file

@ -1,14 +0,0 @@
Python Monero module
====================
A comprehensive Python module for handling Monero cryptocurrency.
THIS CODE IS UNDER INTENSIVE DEVELOPMENT. Do not rely on the API, it may change.
Copyrights
----------
Released under the BSD 3-Clause License. See [LICENSE](LICENSE).
(c) 2017 Michał Sałaban <michal@salaban.info>
(c) 2016 The MoneroPy Developers (monero/base58.py taken from [MoneroPy](https://github.com/bigreddmachine/MoneroPy))

16
README.rst Normal file
View file

@ -0,0 +1,16 @@
Python Monero module
====================
A comprehensive Python module for handling Monero cryptocurrency.
Copyrights
----------
Released under the BSD 3-Clause License. See `LICENSE.txt`_.
(c) 2017 Michał Sałaban <michal@salaban.info>
(c) 2016 The MoneroPy Developers (``monero/base58.py`` taken from `MoneroPy`_)
.. _`LICENSE.txt`: LICENSE.txt
.. _`MoneroPy`: https://github.com/bigreddmachine/MoneroPy

View file

@ -1,3 +1,2 @@
pysha3
requests

27
setup.py Normal file
View file

@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
from distutils.core import setup
from setuptools import find_packages
version = __import__('monero').__version__
setup(
name = 'monero',
version = version,
description = 'A comprehensive Python module for handling Monero cryptocurrency',
url = 'https://github.com/emesik/monero-python/',
long_description = open('README.rst').read(),
install_requires = open('requirements.txt', 'r').read().splitlines(),
packages = find_packages(),
include_package_data = True,
author = 'Michał Sałaban',
author_email = 'michal@salaban.info',
license = 'BSD-3-Clause',
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD 3-Clause License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
keywords = 'monero cryptocurrency',
)