15 lines
		
	
	
		
			222 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			222 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
#go to the directory of the script
 | 
						|
reldir=`dirname $0`
 | 
						|
cd $reldir
 | 
						|
directory=`pwd`
 | 
						|
 | 
						|
rm -rf dist
 | 
						|
 | 
						|
python3 setup.py sdist
 | 
						|
if [ $? -ne 0 ]; then
 | 
						|
  echo 'Python packager source distribution tool failed.'
 | 
						|
  exit
 | 
						|
fi
 |