Skip to content

Commit b216df8

Browse files
fix: well formatted pypi readme
1 parent 092be72 commit b216df8

File tree

5 files changed

+7
-67
lines changed

5 files changed

+7
-67
lines changed

README.rst

Lines changed: 0 additions & 60 deletions
This file was deleted.

docs/source/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
pypandoc==1.4
12
Sphinx==1.6.3

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ py==1.4.33
2323
pycurl==7.43.0
2424
Pygments==2.2.0
2525
pylint==1.7.1
26+
pypandoc==1.4
2627
pyparsing==2.2.0
2728
pytest==3.0.3
2829
pytest-cov==2.3.1

setup.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
import sys
2+
import pypandoc
23
from setuptools import setup
34

45
import transloadit
56

67

78
install_requires = ['requests==2.11.1', 'six==1.10.0', 'tuspy==0.1']
89

9-
PY_VERSION = sys.version_info[0], sys.version_info[1]
10-
if PY_VERSION < (3, 0):
11-
long_description = open('README.rst').read()
12-
else:
13-
long_description = open('README.rst', encoding='utf-8').read()
10+
long_description = pypandoc.convert('README.md', 'rst')
11+
long_description = long_description.replace("\r","")
1412

1513
setup(
1614
name='pytransloadit',
@@ -21,7 +19,7 @@
2119
install_requires=install_requires,
2220
author_email='[email protected]',
2321
description="A Python Integration for https://transloadit.com file uploading and encoding service.",
24-
long_description=(long_description),
22+
long_description=long_description,
2523
packages=['transloadit'],
2624
include_package_data=True,
2725
platforms='any',

transloadit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.1.1'
1+
__version__ = '0.1.3'

0 commit comments

Comments
 (0)