Skip to content

Commit

Permalink
Bump to v2.0.0
Browse files Browse the repository at this point in the history
FINALLY
  • Loading branch information
TDKorn committed Jan 18, 2023
1 parent 6cbc0a3 commit 71c383c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,20 @@ Main Components
:alt: The Client
:target: https://github.com/TDKorn/my-magento/blob/sphinx-docs/magento/clients.py
.. admonition:: The `Client <https://github.com/tdkorn/my-magento/blob/sphinx-docs/magento/clients.py#L13-L374>`_
.. admonition:: The `Client <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/clients.py#L13-L375>`_
:class: client

* Handles all interactions with the API, with support for multiple store views
* Accessible from all objects created by the package

.. admonition:: The `SearchQuery <https://github.com/tdkorn/my-magento/blob/sphinx-docs/magento/search.py#L13-L240>`_ and Subclasses
.. admonition:: The `SearchQuery <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/search.py#L13-L240>`_ and Subclasses
:class: search

* `execute() <https://github.com/tdkorn/my-magento/blob/sphinx-docs/magento/search.py#L111-L122>`_ predefined or custom search queries on any endpoint
* `execute() <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/search.py#L111-L122>`_ predefined or custom search queries on any endpoint
* Supports simple and advanced `searches using REST endpoints <https://developer.adobe.com/commerce/webapi/rest/use-rest/performing-searches/>`_


.. admonition:: The `Model <https://github.com/tdkorn/my-magento/blob/sphinx-docs/magento/models/model.py#L13-L241>`_ Subclasses
.. admonition:: The `Model <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/models/model.py#L13-L241>`_ Subclasses
:class: hint

* Wrap all API responses in the package
Expand Down Expand Up @@ -110,7 +110,7 @@ Full documentation can be found on `ReadTheDocs <my-magento.readthedocs.io/en/la
QuickStart: Login with MyMagento
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Use the credentials of your Magento 2 admin account to initialize and `authenticate() <https://github.com/tdkorn/my-magento/blob/sphinx-docs/magento/clients.py#L224-L251>`_ a `Client <https://github.com/tdkorn/my-magento/blob/sphinx-docs/magento/clients.py#L13-L374>`_
Use the credentials of your Magento 2 admin account to initialize and `authenticate() <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/clients.py#L225-L252>`_ a `Client <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/clients.py#L13-L375>`_

.. code-block:: python
Expand Down
12 changes: 6 additions & 6 deletions README_PyPi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
MyMagento
---------------

.. image:: _static/magento_orange.png
.. image:: https://my-magento.readthedocs.io/en/latest/_static/magento_orange.png
:alt: Magento Logo
:align: center
:width: 100
Expand Down Expand Up @@ -59,20 +59,20 @@ Main Components
:alt: The Client
:target: https://github.com/TDKorn/my-magento/blob/sphinx-docs/magento/clients.py
.. admonition:: The `Client <https://github.com/tdkorn/my-magento/blob/e5c4b35c52d253451ef45b432d0ee0560459341f/magento/clients.py#L13-L374>`_
.. admonition:: The `Client <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/clients.py#L13-L375>`_
:class: client

* Handles all interactions with the API, with support for multiple store views
* Accessible from all objects created by the package

.. admonition:: The `SearchQuery <https://github.com/tdkorn/my-magento/blob/e5c4b35c52d253451ef45b432d0ee0560459341f/magento/search.py#L13-L240>`_ and Subclasses
.. admonition:: The `SearchQuery <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/search.py#L13-L240>`_ and Subclasses
:class: search

* `execute() <https://github.com/tdkorn/my-magento/blob/e5c4b35c52d253451ef45b432d0ee0560459341f/magento/search.py#L111-L122>`_ predefined or custom search queries on any endpoint
* `execute() <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/search.py#L111-L122>`_ predefined or custom search queries on any endpoint
* Supports simple and advanced `searches using REST endpoints <https://developer.adobe.com/commerce/webapi/rest/use-rest/performing-searches/>`_


.. admonition:: The `Model <https://github.com/tdkorn/my-magento/blob/e5c4b35c52d253451ef45b432d0ee0560459341f/magento/models/model.py#L13-L241>`_ Subclasses
.. admonition:: The `Model <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/models/model.py#L13-L241>`_ Subclasses
:class: hint

* Wrap all API responses in the package
Expand Down Expand Up @@ -104,7 +104,7 @@ Full documentation can be found on `ReadTheDocs <my-magento.readthedocs.io/en/la
QuickStart: Login with MyMagento
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Use the credentials of your Magento 2 admin account to initialize and `authenticate() <https://github.com/tdkorn/my-magento/blob/e5c4b35c52d253451ef45b432d0ee0560459341f/magento/clients.py#L224-L251>`_ a `Client <https://github.com/tdkorn/my-magento/blob/e5c4b35c52d253451ef45b432d0ee0560459341f/magento/clients.py#L13-L374>`_
Use the credentials of your Magento 2 admin account to initialize and `authenticate() <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/clients.py#L225-L252>`_ a `Client <https://github.com/tdkorn/my-magento/blob/v2.0.0/magento/clients.py#L13-L375>`_

.. code-block:: python
Expand Down
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import os
from setuptools import setup
from setuptools import setup, find_packages


LONG_DESCRIPTION_SRC = 'README.rst'
LONG_DESCRIPTION_SRC = 'README_PyPi.rst'


def read(file):
Expand All @@ -12,10 +12,10 @@ def read(file):

setup(
name='my-magento',
packages=['magento'],
version='2.0.0b1',
packages=find_packages(),
version='2.0.0',
license='MIT',
description='Python Magento 2 REST API Client and Wrapper',
description='Python Magento 2 REST API Wrapper',
long_description=read(LONG_DESCRIPTION_SRC),
long_description_content_type="text/x-rst; charset=UTF-8",
author='Adam Korn',
Expand Down

0 comments on commit 71c383c

Please sign in to comment.