Moved version file to source folder
This commit is contained in:
3
setup.py
3
setup.py
@@ -5,7 +5,7 @@ from setuptools import setup, find_packages
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import dirname
|
from os.path import dirname
|
||||||
|
|
||||||
from version import __version__
|
from torrentSearch.__version__ import __version__
|
||||||
|
|
||||||
with open("README.md", "r", encoding="utf-8") as fh:
|
with open("README.md", "r", encoding="utf-8") as fh:
|
||||||
long_description = fh.read()
|
long_description = fh.read()
|
||||||
@@ -13,6 +13,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|||||||
setup(
|
setup(
|
||||||
name='torrentSearch',
|
name='torrentSearch',
|
||||||
version=__version__,
|
version=__version__,
|
||||||
|
packages=find_packages(),
|
||||||
package_data={
|
package_data={
|
||||||
'torrentSearch': ['default_config.ini'],
|
'torrentSearch': ['default_config.ini'],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
|
|
||||||
__version__ = '0.3'
|
__version__ = '0.3'
|
||||||
|
|
||||||
Reference in New Issue
Block a user