Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajadrahimi committed May 4, 2021
1 parent 8863f46 commit d269c49
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions dns/dns.py → arvan_client/dns/dns.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging

from arvan.api import Arvan
from dns.domain import Domain
from arvan_client.arvan import Arvan
from arvan_client.dns.domain import Domain


class DNS(Arvan):
Expand Down
File renamed without changes.
Empty file added arvan_client/vod/__init__.py
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion vod/video.py → arvan_client/vod/video.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import List

from arvan.types import DynamicType
from arvan_client.arvan.types import DynamicType


class FileInfo(DynamicType):
Expand Down
6 changes: 3 additions & 3 deletions vod/vod.py → arvan_client/vod/vod.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

import requests

from arvan.api import Arvan
from vod.channel import Channel
from vod.video import Video
from arvan_client.arvan import Arvan
from arvan_client.vod.channel import Channel
from arvan_client.vod.video import Video


class VOD(Arvan):
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
package_dir={"arvan_client": "arvan_client"},
packges=setuptools.find_packages(),
python_requires=">=3.6",
)
)

0 comments on commit d269c49

Please sign in to comment.