Import of __version__ compatible with wheel & added install make target
This commit is contained in:
4
setup.py
4
setup.py
@@ -5,11 +5,11 @@ from setuptools import setup, find_packages
|
||||
from sys import path
|
||||
from os.path import dirname
|
||||
|
||||
from torrentSearch.__version__ import __version__
|
||||
|
||||
with open("README.md", "r", encoding="utf-8") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
exec(open('torrentSearch/__version__.py').read())
|
||||
|
||||
setup(
|
||||
name='torrentSearch',
|
||||
version=__version__,
|
||||
|
||||
Reference in New Issue
Block a user