File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 22
22
"""Package information about a synthetic dataset for review graph mining.
23
23
"""
24
24
import distutils .command .install_data
25
+ from os import path
25
26
from setuptools import setup
26
27
import urllib
27
28
@@ -36,7 +37,7 @@ def run(self):
36
37
if not isinstance (f , tuple ):
37
38
continue
38
39
for i , u in enumerate (f [1 ]):
39
- f [1 ][i ] = urllib .urlretrieve (u )[0 ]
40
+ f [1 ][i ] = urllib .urlretrieve (u , path . basename ( u ) )[0 ]
40
41
return distutils .command .install_data .install_data .run (self )
41
42
42
43
@@ -55,7 +56,7 @@ def _load_requires_from_file(filepath):
55
56
56
57
setup (
57
58
name = "rgmining-tripadvisor-dataset" ,
58
- version = "0.5.0 " ,
59
+ version = "0.5.1 " ,
59
60
author = "Junpei Kawamoto" ,
60
61
author_email = "kawamoto.junpei@gmail.com" ,
61
62
description = "Trip Advisor dataset for Review Graph Mining Project" ,
You can’t perform that action at this time.
0 commit comments