re was imported but never used so removed the same, line 20 in the original file needed two blank lines before function definition added the same and extra spaces around the operator in line 34 removed the same.

This commit is contained in:
vsandeepsrivastav
2016-12-14 16:20:17 +05:30
parent 4038d9dc21
commit 5c24ea7ea0
+2 -2
View File
@@ -1,7 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
import os import os
import re
import sys import sys
from codecs import open from codecs import open
@@ -17,6 +16,7 @@ if sys.argv[-1] == 'publish':
requires = ['SQLAlchemy', 'tablib', 'docopt'] requires = ['SQLAlchemy', 'tablib', 'docopt']
version = '0.5.0' version = '0.5.0'
def read(f): def read(f):
return open(f, encoding='utf-8').read() return open(f, encoding='utf-8').read()
@@ -31,7 +31,7 @@ setup(
py_modules=['records'], py_modules=['records'],
package_data={'': ['LICENSE']}, package_data={'': ['LICENSE']},
include_package_data=True, include_package_data=True,
entry_points = { entry_points={
'console_scripts': ['records=records:cli'], 'console_scripts': ['records=records:cli'],
}, },
install_requires=requires, install_requires=requires,