mport version from separate file
This commit is contained in:
		
							
								
								
									
										5
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								setup.py
									
									
									
									
									
								
							@@ -5,15 +5,14 @@ from setuptools import setup, find_packages
 | 
			
		||||
from sys import path
 | 
			
		||||
from os.path import dirname
 | 
			
		||||
 | 
			
		||||
import torrentSearch
 | 
			
		||||
from version import __version__
 | 
			
		||||
 | 
			
		||||
with open("README.md", "r", encoding="utf-8") as fh:
 | 
			
		||||
  long_description = fh.read()
 | 
			
		||||
 | 
			
		||||
setup(
 | 
			
		||||
    name='torrentSearch',
 | 
			
		||||
    version=torrentSearch.__version__,
 | 
			
		||||
    packages=find_packages(),
 | 
			
		||||
    version=__version__,
 | 
			
		||||
    package_data={
 | 
			
		||||
        'torrentSearch': ['default_config.ini'],
 | 
			
		||||
    },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user