Brad Bishop | 0011132 | 2018-04-01 22:23:53 -0400 | [diff] [blame] | 1 | From d5ebe479fc8fe11c5c75e7f35484849320349222 Mon Sep 17 00:00:00 2001 |
| 2 | From: Derek Straka <derek@asterius.io> |
| 3 | Date: Fri, 22 Dec 2017 09:07:00 -0500 |
| 4 | Subject: [PATCH] setup.py: remove the dependency on m2r |
| 5 | |
| 6 | The dependency on m2r is removed here as it only provides the |
| 7 | long_description value that is optional. This item is just the |
| 8 | text that would be present on PyPi, so it doesn't provide much |
| 9 | value in this case |
| 10 | |
| 11 | Upstream-Status: Inappropriate (OE specific) |
| 12 | |
| 13 | Signed-off-by: Derek Straka <derek@asterius.io> |
| 14 | --- |
| 15 | setup.py | 10 ---------- |
| 16 | 1 file changed, 10 deletions(-) |
| 17 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 18 | Index: Automat-0.6.0/setup.py |
| 19 | =================================================================== |
| 20 | --- Automat-0.6.0.orig/setup.py |
| 21 | +++ Automat-0.6.0/setup.py |
Brad Bishop | 0011132 | 2018-04-01 22:23:53 -0400 | [diff] [blame] | 22 | @@ -4,14 +4,6 @@ Setup file for automat |
| 23 | |
| 24 | from setuptools import setup, find_packages |
| 25 | |
| 26 | -try: |
| 27 | - from m2r import parse_from_file |
| 28 | - long_description = parse_from_file('README.md') |
| 29 | -except(IOError, ImportError): |
| 30 | - print("\n\n!!! m2r not found, long_description is bad, don't upload this to PyPI !!!\n\n") |
| 31 | - import io |
| 32 | - long_description = io.open('README.md', encoding="utf-8").read() |
| 33 | - |
| 34 | setup( |
| 35 | name='Automat', |
| 36 | use_scm_version=True, |
| 37 | @@ -19,12 +11,10 @@ setup( |
| 38 | description=""" |
| 39 | Self-service finite-state machines for the programmer on the go. |
| 40 | """.strip(), |
| 41 | - long_description=long_description, |
| 42 | packages=find_packages(exclude=[]), |
| 43 | package_dir={'automat': 'automat'}, |
| 44 | setup_requires=[ |
| 45 | 'setuptools-scm', |
| 46 | - 'm2r', |
| 47 | ], |
| 48 | install_requires=[ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 49 | "attrs", |