aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahielkasim@gmail.com>2017-08-26 17:01:01 +0200
committerRahiel Kasim <rahielkasim@gmail.com>2017-08-26 17:01:01 +0200
commitb72637639be05b8c4a6db2e04070be69a8743cdc (patch)
treebe1b0698216a6090acf30d4c3449095869715d14
parent5aed5bf2d4fdaaaf706069d79452ff9e6f6f1301 (diff)
export some stuff from quran.py
-rw-r--r--bismillah.py2
-rw-r--r--bismillahbot/__init__.py3
-rw-r--r--bismillahbot/quran.py (renamed from quran.py)0
-rw-r--r--setup.py8
4 files changed, 12 insertions, 1 deletions
diff --git a/bismillah.py b/bismillah.py
index a99d653..c4d568c 100644
--- a/bismillah.py
+++ b/bismillah.py
@@ -25,7 +25,7 @@ from telegram import InlineQueryResultArticle, InputTextMessageContent
from telegram.constants import MAX_MESSAGE_LENGTH
from telegram.error import NetworkError, TelegramError, Unauthorized
-from quran import Quran, make_index
+from bismillahbot import Quran, make_index
from secret import TOKEN
diff --git a/bismillahbot/__init__.py b/bismillahbot/__init__.py
new file mode 100644
index 0000000..f40dad2
--- /dev/null
+++ b/bismillahbot/__init__.py
@@ -0,0 +1,3 @@
+from .quran import Quran, make_index
+
+__all__ = ["Quran", "make_index"]
diff --git a/quran.py b/bismillahbot/quran.py
index 1efb9e5..1efb9e5 100644
--- a/quran.py
+++ b/bismillahbot/quran.py
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..f2bf315
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,8 @@
+from setuptools import setup
+
+
+setup(
+ name="bismillahbot",
+ version="0.1",
+ packages=["bismillahbot"]
+)