Try moving the import from src under the script condition

This commit is contained in:
Dmitri Bogomolov 2021-12-01 16:14:29 +02:00
parent 3afc27efc9
commit c9ec2f63b5
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -9,8 +9,6 @@ from importlib import import_module
from setuptools import setup, Extension
from setuptools.command.install import install
from src.version import softwareVersion
EXTRAS_REQUIRE = {
'docs': ['sphinx', 'sphinx_rtd_theme'],
@ -49,6 +47,8 @@ class InstallCmd(install):
if __name__ == "__main__":
from src.version import softwareVersion
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md')) as f:
README = f.read()