Also fix setup.py and the configuration file
This commit is contained in:
		
					parent
					
						
							
								6682f127f1
							
						
					
				
			
			
				commit
				
					
						4c7678618d
					
				
			
		
					 2 changed files with 4 additions and 4 deletions
				
			
		
							
								
								
									
										8
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								setup.py
									
										
									
									
									
								
							| 
						 | 
					@ -6,9 +6,9 @@ with open("README.md", "r") as fh:
 | 
				
			||||||
    long_description = fh.read()
 | 
					    long_description = fh.read()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
try:
 | 
					try:
 | 
				
			||||||
    import ucloud.version
 | 
					    import uncloud.version
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    version = ucloud.version.VERSION
 | 
					    version = uncloud.version.VERSION
 | 
				
			||||||
except:
 | 
					except:
 | 
				
			||||||
    import subprocess
 | 
					    import subprocess
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -42,9 +42,9 @@ setup(
 | 
				
			||||||
        "etcd3 @ https://github.com/kragniz/python-etcd3/tarball/master#egg=etcd3",
 | 
					        "etcd3 @ https://github.com/kragniz/python-etcd3/tarball/master#egg=etcd3",
 | 
				
			||||||
        "marshmallow",
 | 
					        "marshmallow",
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    scripts=["scripts/ucloud"],
 | 
					    scripts=["scripts/uncloud"],
 | 
				
			||||||
    data_files=[
 | 
					    data_files=[
 | 
				
			||||||
        (os.path.expanduser("~/ucloud/"), ["conf/ucloud.conf"])
 | 
					        (os.path.expanduser("~/uncloud/"), ["conf/uncloud.conf"])
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    zip_safe=False,
 | 
					    zip_safe=False,
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue