From a508a509e23eb201d8025ccb6628e8404eef093a Mon Sep 17 00:00:00 2001 From: belov38 Date: Tue, 18 Jun 2019 14:30:16 +0800 Subject: [PATCH] PIP name collision resolved --- {odata1c => odata1cw}/__init__.py | 2 +- {odata1c => odata1cw}/catalog.py | 4 ++-- {odata1c => odata1cw}/core.py | 0 {odata1c => odata1cw}/document.py | 6 +++--- {odata1c => odata1cw}/postingmode.py | 0 {odata1c => odata1cw}/utils.py | 0 setup.py | 7 +++++-- 7 files changed, 11 insertions(+), 8 deletions(-) rename {odata1c => odata1cw}/__init__.py (63%) rename {odata1c => odata1cw}/catalog.py (96%) rename {odata1c => odata1cw}/core.py (100%) rename {odata1c => odata1cw}/document.py (96%) rename {odata1c => odata1cw}/postingmode.py (100%) rename {odata1c => odata1cw}/utils.py (100%) diff --git a/odata1c/__init__.py b/odata1cw/__init__.py similarity index 63% rename from odata1c/__init__.py rename to odata1cw/__init__.py index d59c69f..d26c234 100644 --- a/odata1c/__init__.py +++ b/odata1cw/__init__.py @@ -1,2 +1,2 @@ __author__ = 'belov.penrose@gmail.com' -__version__ = '0.0.1' +__version__ = '0.0.2' diff --git a/odata1c/catalog.py b/odata1cw/catalog.py similarity index 96% rename from odata1c/catalog.py rename to odata1cw/catalog.py index 0bc6bab..c3041dd 100644 --- a/odata1c/catalog.py +++ b/odata1cw/catalog.py @@ -2,8 +2,8 @@ import requests -from odata1c.core import Infobase -from odata1c.utils import make_url_part +from odata1cw.core import Infobase +from odata1cw.utils import make_url_part class Catalog: diff --git a/odata1c/core.py b/odata1cw/core.py similarity index 100% rename from odata1c/core.py rename to odata1cw/core.py diff --git a/odata1c/document.py b/odata1cw/document.py similarity index 96% rename from odata1c/document.py rename to odata1cw/document.py index bfdfeed..7002367 100644 --- a/odata1c/document.py +++ b/odata1cw/document.py @@ -2,9 +2,9 @@ import requests -from odata1c.core import Infobase -from odata1c.postingmode import PostingMode -from odata1c.utils import make_url_part +from odata1cw.core import Infobase +from odata1cw.postingmode import PostingMode +from odata1cw.utils import make_url_part class Document: diff --git a/odata1c/postingmode.py b/odata1cw/postingmode.py similarity index 100% rename from odata1c/postingmode.py rename to odata1cw/postingmode.py diff --git a/odata1c/utils.py b/odata1cw/utils.py similarity index 100% rename from odata1c/utils.py rename to odata1cw/utils.py diff --git a/setup.py b/setup.py index 6aae624..674739d 100644 --- a/setup.py +++ b/setup.py @@ -4,8 +4,8 @@ long_description = fh.read() setuptools.setup( - name="odata1c", - version="0.0.1", + name="odata1cw", + version="0.0.2", author="Ilia Belov", author_email="belov.penrose@gmail.com", description="1C-Odata wrapper", @@ -13,6 +13,9 @@ long_description_content_type="text/markdown", url="https://github.com/belov38/1c-odata", packages=setuptools.find_packages(), + install_requires=[ + 'requests', + ], classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License",