Complete second logic pass, remove underscore from package name
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
import os
|
import os
|
||||||
from configparser import RawConfigParser
|
from configparser import RawConfigParser
|
||||||
from datetime import datetime as dt, timedelta
|
from datetime import datetime as dt, timedelta
|
||||||
from reolink_api import Camera
|
from reolinkapi import Camera
|
||||||
|
|
||||||
|
|
||||||
def read_config(props_path: str) -> dict:
|
def read_config(props_path: str) -> dict:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import cv2
|
import cv2
|
||||||
from reolink_api import Camera
|
from reolinkapi import Camera
|
||||||
|
|
||||||
|
|
||||||
def non_blocking():
|
def non_blocking():
|
||||||
|
|||||||
4
setup.py
4
setup.py
@@ -19,7 +19,7 @@ def find_version(*file_paths):
|
|||||||
|
|
||||||
|
|
||||||
# Package meta-data.
|
# Package meta-data.
|
||||||
NAME = 'reolink_api'
|
NAME = 'reolinkapi'
|
||||||
DESCRIPTION = 'Reolink Camera API written in Python 3.6'
|
DESCRIPTION = 'Reolink Camera API written in Python 3.6'
|
||||||
URL = 'https://github.com/Benehiko/ReolinkCameraAPI'
|
URL = 'https://github.com/Benehiko/ReolinkCameraAPI'
|
||||||
AUTHOR_EMAIL = ''
|
AUTHOR_EMAIL = ''
|
||||||
@@ -44,7 +44,7 @@ with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
|
|||||||
setup(
|
setup(
|
||||||
name=NAME,
|
name=NAME,
|
||||||
python_requires='>=3.6.0',
|
python_requires='>=3.6.0',
|
||||||
version=find_version('reolink_api', '__init__.py'),
|
version=find_version('reolinkapi', '__init__.py'),
|
||||||
description=DESCRIPTION,
|
description=DESCRIPTION,
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
from configparser import RawConfigParser
|
from configparser import RawConfigParser
|
||||||
import unittest
|
import unittest
|
||||||
from reolink_api import Camera
|
from reolinkapi import Camera
|
||||||
|
|
||||||
|
|
||||||
def read_config(props_path: str) -> dict:
|
def read_config(props_path: str) -> dict:
|
||||||
|
|||||||
Reference in New Issue
Block a user