blob: b83b7f3808d7185bd1bbf4554e9935d45e25f01e [file] [log] [blame]
Andrew Geissler89770b02020-06-13 10:40:47 -05001From 4fb6bbfbc53428fe5d38ec3e04bb4fd187b2fd45 Mon Sep 17 00:00:00 2001
Brad Bishop00111322018-04-01 22:23:53 -04002From: 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>
Andrew Geissler89770b02020-06-13 10:40:47 -050014Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Brad Bishop00111322018-04-01 22:23:53 -040015---
16 setup.py | 10 ----------
17 1 file changed, 10 deletions(-)
18
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019diff --git a/setup.py b/setup.py
Andrew Geissler89770b02020-06-13 10:40:47 -050020index 3fb7fdb..245d69a 100644
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080021--- a/setup.py
22+++ b/setup.py
Brad Bishop00111322018-04-01 22:23:53 -040023@@ -4,14 +4,6 @@ Setup file for automat
24
25 from setuptools import setup, find_packages
26
27-try:
28- from m2r import parse_from_file
29- long_description = parse_from_file('README.md')
30-except(IOError, ImportError):
31- print("\n\n!!! m2r not found, long_description is bad, don't upload this to PyPI !!!\n\n")
32- import io
33- long_description = io.open('README.md', encoding="utf-8").read()
34-
35 setup(
36 name='Automat',
37 use_scm_version=True,
38@@ -19,12 +11,10 @@ setup(
39 description="""
40 Self-service finite-state machines for the programmer on the go.
41 """.strip(),
42- long_description=long_description,
43 packages=find_packages(exclude=[]),
44 package_dir={'automat': 'automat'},
45 setup_requires=[
46 'setuptools-scm',
47- 'm2r',
48 ],
49 install_requires=[
Andrew Geissler89770b02020-06-13 10:40:47 -050050 "attrs>=19.2.0",
51--
522.17.1
53