Skip to content

Commit 5f6eeea

Browse files
committed
😎 Modernises setup.py
1 parent a258b0c commit 5f6eeea

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

git_repo/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#!/usr/bin/env python

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
#!/usr/bin/env python3
22
# encoding: utf-8
3-
from setuptools import setup, find_packages
43

54
import sys, os
65

76
import pip
87

9-
from setuptools import setup, find_packages, dist
8+
from setuptools import setup, find_packages
109
from setuptools.command.test import test as TestCommand
1110
from distutils.core import Command
1211
from distutils.core import setup
@@ -102,7 +101,6 @@ def run_tests(self):
102101
'pytest',
103102
'pytest-cov',
104103
'pytest-sugar',
105-
'pytest-catchlog',
106104
'pytest-datadir-ng',
107105
'testfixtures',
108106
'mock',
@@ -138,10 +136,10 @@ def run_tests(self):
138136
author_email='[email protected]',
139137
setup_requires=[
140138
'setuptools_scm',
141-
'setuptools-markdown',
142139
'wheel>=0.25.0',
143140
],
144-
long_description_markdown_filename='README.md',
141+
long_description=open('README.md').read(),
142+
long_description_content_type='text/markdown',
145143
use_scm_version={'version_scheme':'guess-next-dev'},
146144
include_package_data = True,
147145
install_requires=requirements,

0 commit comments

Comments
 (0)