mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +00:00 
			
		
		
		
	setup.py: Add long description to package
Use the readme as the long description, this will be displayed on the PyPi page.
This commit is contained in:
		
							
								
								
									
										4
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								setup.py
									
									
									
									
									
								
							@@ -69,9 +69,13 @@ for root, dirs, files in os.walk(devlib_dir):
 | 
				
			|||||||
        filepaths = [os.path.join(root, f) for f in files]
 | 
					        filepaths = [os.path.join(root, f) for f in files]
 | 
				
			||||||
        data_files[package_name].extend([os.path.relpath(f, package_dir) for f in filepaths])
 | 
					        data_files[package_name].extend([os.path.relpath(f, package_dir) for f in filepaths])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					with open("README.rst", "r") as fh:
 | 
				
			||||||
 | 
					    long_description = fh.read()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
params = dict(
 | 
					params = dict(
 | 
				
			||||||
    name='devlib',
 | 
					    name='devlib',
 | 
				
			||||||
    description='A framework for automating workload execution and measurment collection on ARM devices.',
 | 
					    description='A framework for automating workload execution and measurment collection on ARM devices.',
 | 
				
			||||||
 | 
					    long_description=long_description,
 | 
				
			||||||
    version=__version__,
 | 
					    version=__version__,
 | 
				
			||||||
    packages=packages,
 | 
					    packages=packages,
 | 
				
			||||||
    package_data=data_files,
 | 
					    package_data=data_files,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user