summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py6
-rw-r--r--tirante/__init__.py6
-rw-r--r--tirante/__main__.py2
-rw-r--r--tirante/chapter_images_manager.py2
-rw-r--r--tirante/create_database.py8
-rw-r--r--tirante/download_manga.py8
-rw-r--r--tirante/update_database.py6
7 files changed, 19 insertions, 19 deletions
diff --git a/setup.py b/setup.py
index 9073b15..4d9bd8b 100644
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,7 @@ import os
from setuptools import find_packages, setup
-# from tirante.version import __version__
+from tirante.version import __version__
# Package meta-data.
NAME = 'tirante'
@@ -40,8 +40,8 @@ URL = 'https://github.com/luevano/tirante'
EMAIL = 'lorentzeus@gmail.com'
AUTHOR = 'David Luevano Alvarado'
REQUIRES_PYTHON = '>=3.7'
-# VERSION = __version__
-VERSION = '0.0.1'
+VERSION = __version__
+# VERSION = '0.0.1'
# What packages are required for this module to be executed?
REQUIRED = [
diff --git a/tirante/__init__.py b/tirante/__init__.py
index f667c54..1cee674 100644
--- a/tirante/__init__.py
+++ b/tirante/__init__.py
@@ -21,9 +21,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""
# from version import __version__
-from create_database import create_database
-from update_database import update_database
-from download_manga import download_manga
+from tirante.create_database import create_database
+from tirante.update_database import update_database
+from tirante.download_manga import download_manga
# If somebody does "from package import *", this is what they will
# be able to access:
diff --git a/tirante/__main__.py b/tirante/__main__.py
index b782e82..8738da0 100644
--- a/tirante/__main__.py
+++ b/tirante/__main__.py
@@ -20,7 +20,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""
-from create_database import create_database
+from tirante.create_database import create_database
# Main manga source.
MAIN_URL = 'https://manganelo.com/manga/'
diff --git a/tirante/chapter_images_manager.py b/tirante/chapter_images_manager.py
index fea5bbf..bd8aa07 100644
--- a/tirante/chapter_images_manager.py
+++ b/tirante/chapter_images_manager.py
@@ -20,7 +20,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""
-from get_chapter_image_list import get_chapter_image_list
+from tirante.get_chapter_image_list import get_chapter_image_list
def chapter_images_list_to_csv(chapter_data):
diff --git a/tirante/create_database.py b/tirante/create_database.py
index 26f2129..8c9b43b 100644
--- a/tirante/create_database.py
+++ b/tirante/create_database.py
@@ -23,10 +23,10 @@ SOFTWARE.
import os
# Project specific imports.
-from get_chapters_list import get_chapters_list
-from chapters_manager import chapters_list_to_csv
-from chapters_manager import chapters_csv_to_list
-from chapter_images_manager import chapter_images_list_to_csv
+from tirante.get_chapters_list import get_chapters_list
+from tirante.chapters_manager import chapters_list_to_csv
+from tirante.chapters_manager import chapters_csv_to_list
+from tirante.chapter_images_manager import chapter_images_list_to_csv
def create_database(main_url,
diff --git a/tirante/download_manga.py b/tirante/download_manga.py
index c216bb7..3bcd947 100644
--- a/tirante/download_manga.py
+++ b/tirante/download_manga.py
@@ -23,9 +23,9 @@ SOFTWARE.
import os
# Project specific imports.
-from chapters_manager import chapters_csv_to_list
-from chapter_images_manager import chapter_image_csv_to_list
-from download_manager import download_chapter
+from tirante.chapters_manager import chapters_csv_to_list
+from tirante.chapter_images_manager import chapter_images_csv_to_list
+from tirante.download_manager import download_chapter
def download_manga(manga_name,
@@ -98,7 +98,7 @@ def download_manga(manga_name,
# Go to where the database is located.
os.chdir(manga_data_dir)
os.chdir(m_name)
- chapter_image_list = chapter_image_csv_to_list(ch_name_ext)
+ chapter_image_list = chapter_images_csv_to_list(ch_name_ext)
# Go back to where the manga is going ot be downloaded.
os.chdir(manga_dir)
diff --git a/tirante/update_database.py b/tirante/update_database.py
index a865b3b..e33cce0 100644
--- a/tirante/update_database.py
+++ b/tirante/update_database.py
@@ -24,9 +24,9 @@ SOFTWARE.
import os
# Project specific imports.
-from get_chapters_list import get_chapters_list
-from chapters_manager import chapters_csv_to_list
-from chapter_images_manager import chapter_images_list_to_csv
+from tirante.get_chapters_list import get_chapters_list
+from tirante.chapters_manager import chapters_csv_to_list
+from tirante.chapter_images_manager import chapter_images_list_to_csv
def update_database(main_url,