Moved appending pacakge to path from setup.py to __init__ file.

This commit is contained in:
2021-07-04 16:35:52 +02:00
parent 177d73c516
commit df8fdbd4fa
2 changed files with 4 additions and 5 deletions

View File

@@ -1,11 +1,13 @@
import os
from sys import path from sys import path
from os.path import dirname
path.append(dirname(__file__)) path.append(os.path.dirname(__file__))
__version__=0.1 __version__=0.1
import logging import logging
from delugeUtils import BASE_DIR
logger = logging.getLogger('deluge_cli') logger = logging.getLogger('deluge_cli')
logger.setLevel(logging.DEBUG) logger.setLevel(logging.DEBUG)

View File

@@ -1,8 +1,5 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
from sys import path
from os.path import dirname
path.append(dirname(__file__))
import delugeClient import delugeClient
with open("README.md", "r", encoding="utf-8") as fh: with open("README.md", "r", encoding="utf-8") as fh: