blob: d6def98c9c2a5ad3e46437f27a451f0b03ed6aa0 [file] [log] [blame]
Brad Bishop00111322018-04-01 22:23:53 -04001From d5ebe479fc8fe11c5c75e7f35484849320349222 Mon Sep 17 00:00:00 2001
2From: Derek Straka <derek@asterius.io>
3Date: Fri, 22 Dec 2017 09:07:00 -0500
4Subject: [PATCH] setup.py: remove the dependency on m2r
5
6The dependency on m2r is removed here as it only provides the
7long_description value that is optional. This item is just the
8text that would be present on PyPi, so it doesn't provide much
9value in this case
10
11Upstream-Status: Inappropriate (OE specific)
12
13Signed-off-by: Derek Straka <derek@asterius.io>
14---
15 setup.py | 10 ----------
16 1 file changed, 10 deletions(-)
17
Brad Bishop316dfdd2018-06-25 12:45:53 -040018Index: Automat-0.6.0/setup.py
19===================================================================
20--- Automat-0.6.0.orig/setup.py
21+++ Automat-0.6.0/setup.py
Brad Bishop00111322018-04-01 22:23:53 -040022@@ -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 Bishop316dfdd2018-06-25 12:45:53 -040049 "attrs",