Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Commit e3c0f2b

Browse files
committed
update release to 0.0.11; change markdown to rst doc generation for pypi
1 parent 78fd519 commit e3c0f2b

File tree

4 files changed

+30
-12
lines changed

4 files changed

+30
-12
lines changed

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ six = "*"
1717
[dev-packages]
1818

1919
twine = "*"
20+
pypandoc = "*"

Pipfile.lock

Lines changed: 20 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

paperspace/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
from .jobs import print_json_pretty, run
44
from . import jobs
55

6-
__version__ = "0.0.10"
6+
__version__ = "0.0.11"

setup.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1-
from setuptools import setup, find_packages
21
from codecs import open
32
from os import path
3+
from setuptools import setup, find_packages
44

55
here = path.abspath(path.dirname(__file__))
66

77
# Get the long description from the README file
8-
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
9-
long_description = f.read()
8+
try:
9+
import pypandoc
10+
long_description = pypandoc.convert('README.md', 'rst')
11+
except(IOError, ImportError, OSError):
12+
with open('README.md', encoding='utf-8') as f:
13+
long_description = f.read()
1014

1115
setup(
1216
name='paperspace',
13-
version='0.0.10',
17+
version='0.0.11',
1418
description='Paperspace Python',
1519
long_description=long_description,
1620
url='https://github.com/paperspace/paperspace-python',

0 commit comments

Comments
 (0)