Use build module instead of invoking setup.py for release
				
					
				
			This commit is contained in:
		
							parent
							
								
									6b466bb90f
								
							
						
					
					
						commit
						a28d9b9748
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								tasks.py
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								tasks.py
									
										
									
									
									
								
							|  | @ -2,7 +2,7 @@ | |||
| ################################################################################ | ||||
| # | ||||
| #  Rattail -- Retail Software Framework | ||||
| #  Copyright © 2010-2018 Lance Edgar | ||||
| #  Copyright © 2010-2022 Lance Edgar | ||||
| # | ||||
| #  This file is part of Rattail. | ||||
| # | ||||
|  | @ -45,5 +45,5 @@ def release(ctx, skip_tests=False): | |||
|         ctx.run('tox') | ||||
| 
 | ||||
|     shutil.rmtree('Tailbone.egg-info') | ||||
|     ctx.run('python setup.py sdist --formats=gztar') | ||||
|     ctx.run('python -m build --sdist') | ||||
|     ctx.run('twine upload dist/Tailbone-{}.tar.gz'.format(__version__)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar