git-deps/dont-use-st-markdown.patch

85 lines
1.9 KiB
Diff

---
setup.cfg | 8 +++++---
setup.py | 25 +------------------------
tests/create-repo.sh | 1 -
3 files changed, 6 insertions(+), 28 deletions(-)
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,11 +1,13 @@
[metadata]
name = git-deps
+version = 1.1.0
summary = automatically detect dependencies between git commits
author = Adam Spiers
author_email = git@adamspiers.org
license = GPL-2+
home_page = https://github.com/aspiers/git-deps
-description_file = README.md
+long_description = file: README.md
+long_description_content_type = text/markdown
classifier =
Development Status :: 4 - Beta
Environment :: Console
@@ -32,7 +34,8 @@ data_files =
[options]
packages =
- git_deps
+ find:
+requires = Sphinx
[options.entry_points]
console_scripts =
@@ -48,7 +51,6 @@ addopts = tests
# e.g. --cov-report html (or xml) for html/xml output or --junitxml junit.xml
# in order to write a coverage file that can be read by Jenkins.
addopts =
- --cov git_deps --cov-report term-missing
--verbose
[aliases]
--- a/setup.py
+++ b/setup.py
@@ -1,29 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-"""
- Setup file for git_deps.
-
- This file was generated with PyScaffold, a tool that easily
- puts up a scaffold for your new Python project. Learn more under:
- http://pyscaffold.readthedocs.org/
-"""
-
-import sys
from setuptools import setup
-def setup_package():
- needs_sphinx = {'build_sphinx', 'upload_docs'}.intersection(sys.argv)
- sphinx = ['sphinx'] if needs_sphinx else []
- setup(
- setup_requires=[
- 'pyscaffold',
- ] + sphinx,
- long_description='README.md',
- long_description_content_type="text/markdown",
- use_pyscaffold=True
- )
-
-
-if __name__ == "__main__":
- setup_package()
+setup()
--- a/tests/create-repo.sh
+++ b/tests/create-repo.sh
@@ -10,7 +10,6 @@ two
three
four
five
-six
seven
eight
nine