Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Prepping for pip
Browse files Browse the repository at this point in the history
  • Loading branch information
Badg committed Jun 7, 2016
1 parent 7a86f63 commit 0ea0cb5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -52,3 +52,4 @@ docs/_build/

# PyBuilder
target/
README.rst
15 changes: 12 additions & 3 deletions setup.py
Expand Up @@ -19,17 +19,22 @@
# If we're installing, don't bother building the long_description
# Ewwww, this is dirty.
if sys.argv[1] == 'sdist':
with open('README.md', 'r') as f:
s_readme = f.read()

# Get the long description from the README file
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
long_description = pypandoc.convert(s_readme, 'rst', format='md')
with open('README.rst', 'w') as f:
f.write(long_description)

setup(
name='golix',

# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1a1',
version='0.1.0',

description='A python library for Golix object manipulation.',
long_description=long_description,
Expand Down Expand Up @@ -83,7 +88,11 @@
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[],
install_requires=[
'donna25519>=0.1.1',
'pycryptodome>=3.4',
'smartyparse>=0.1.0',
],

# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
Expand Down

0 comments on commit 0ea0cb5

Please sign in to comment.