Import of __version__ compatible with wheel & added install make target

This commit is contained in:
2022-05-30 22:31:39 +02:00
parent be4883d51b
commit 5bc240ed18
4 changed files with 7 additions and 4 deletions

View File

@@ -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__,