Skip to content

Commit 31b27fe

Browse files
committed
Use setup.cfg for long_description
1 parent 749d69f commit 31b27fe

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[metadata]
2+
long_description = file: README.rst
13
[bdist_wheel]
24
# This flag says that the code is written to work on both Python 2 and Python
35
# 3. If at all possible, it is good practice to do this. If you cannot, you

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,12 @@
77
import os
88
from setuptools import setup
99

10-
cwd = os.path.dirname(os.path.abspath(__name__))
11-
12-
long_description = open(os.path.join(cwd, 'README.rst'), 'r').read()
13-
1410
setup(name='uModbus',
1511
version='1.0.3',
1612
author='Auke Willem Oosterhoff',
1713
author_email='[email protected]',
1814
description='Implementation of the Modbus protocol in pure Python.',
1915
url='https://github.com/AdvancedClimateSystems/umodbus/',
20-
long_description=long_description,
2116
license='MPL',
2217
packages=[
2318
'umodbus',

0 commit comments

Comments
 (0)