Browse Source

Reorganize module

master
dave 5 years ago
parent
commit
5b0199873e
  1. 4
      b2mirror/mirror.py
  2. 0
      b2mirror/plugin/__init__.py
  3. 0
      b2mirror/plugin/b2plugin.py
  4. 0
      b2mirror/plugin/base.py
  5. 0
      b2mirror/plugin/localplugin.py
  6. 2
      setup.py

4
b2mirror/mirror.py

@ -3,8 +3,8 @@ from urllib.parse import urlparse
from itertools import islice, filterfalse
from concurrent.futures import ThreadPoolExecutor
from b2mirror.localplugin import LocalProvider
from b2mirror.b2plugin import B2Reciever
from b2mirror.plugin.localplugin import LocalProvider
from b2mirror.plugin.b2plugin import B2Reciever
from b2mirror.common import results_ok
import logging

0
b2mirror/plugin/__init__.py

0
b2mirror/b2plugin.py → b2mirror/plugin/b2plugin.py

0
b2mirror/base.py → b2mirror/plugin/base.py

0
b2mirror/localplugin.py → b2mirror/plugin/localplugin.py

2
setup.py

@ -8,7 +8,7 @@ setup(name='b2mirror',
url='http://gitlab.xmopx.net/dave/b2mirror',
author='dpedu',
author_email='dave@davepedu.com',
packages=['b2mirror'],
packages=['b2mirror', 'b2mirror.plugin'],
scripts=['bin/b2mirror'],
zip_safe=False,
install_requires=['b2==0.6.2']

Loading…
Cancel
Save