Skip to content

Commit 94440c4

Browse files
committed
Fixed TypeError: an integer is required (got type str)
1 parent 33cbe22 commit 94440c4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
from distutils.core import setup
22

3-
with open('README.rst', 'r', 'utf-8') as f:
4-
readme = f.read()
5-
63
setup(
74
name = 'osdp',
85
packages = ['osdp'],
96
version = '0.4',
107
license='apache-2.0',
118
description = 'A Python control panel implementation of the Open Supervised Device Protocol (OSDP)',
12-
long_description = readme,
9+
long_description = open('README.rst').read(),
1310
author = 'Ryan Hu',
1411
author_email = 'huzhiren@gmail.com',
1512
url = 'https://github.com/ryanhz/osdp-python',

0 commit comments

Comments
 (0)