Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 284fc0c + 5ee5223 commit 3e65956Copy full SHA for 3e65956
setup.py
@@ -214,7 +214,7 @@ def add_pytz():
214
def add_dateutil():
215
packages.append('dateutil')
216
packages.append('dateutil.zoneinfo')
217
- package_data['dateutil'] = ['zoneinfo/zoneinfo*.tar.*']
+ package_data['dateutil'] = ['zoneinfo/*.tar.gz']
218
if sys.version_info[0] >= 3:
219
package_dir['dateutil'] = 'lib/dateutil_py3'
220
else:
@@ -263,7 +263,7 @@ def add_six():
263
264
265
def should_2to3(file, root):
266
- file = os.path.abspath(file)[len(os.path.abspath(root)):]
+ file = os.path.abspath(file)[len(os.path.abspath(root))+1:]
267
if ('py3' in file or
268
file.startswith('pytz') or
269
file.startswith('dateutil') or
0 commit comments