Skip to content

Commit bd22d39

Browse files
committed
Fix publishing issue
1 parent c5dd7bd commit bd22d39

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ from xivapi.models import Filter, Sort
5858

5959

6060
async def fetch_example_results(session):
61-
client = xivapi.Client(session=session, api_key="your_key_here")
61+
client = xivapi.XIVAPIClient(session=session, api_key="your_key_here")
6262

6363
# Search Lodestone for a character
6464
character = await client.character_search(

setup.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
import pathlib
21
import re
32

43
import setuptools
54

6-
7-
ROOT = pathlib.Path(__file__).parent
8-
9-
with open(ROOT / 'requirements.txt', encoding='utf-8') as f:
5+
with open('requirements.txt') as f:
106
REQUIREMENTS = f.readlines()
117

12-
with open(ROOT / 'README.md', encoding='utf-8') as f:
8+
with open('README.md') as f:
139
README = f.read()
1410

15-
with open(ROOT / 'xivapi' / '__init__.py', encoding='utf-8') as f:
11+
with open('xivapi/__init__.py') as f:
1612
VERSION = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
1713

1814
setuptools.setup(
1915
name='xivapi-py',
2016
author='Lethys',
17+
author_email='seraymericbot@gmail.com',
2118
url='https://github.com/xivapi/xivapi-py',
2219
version=VERSION,
2320
license='MIT',

xivapi/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__author__ = 'Lethys'
33
__license__ = 'MIT'
44
__copyright__ = 'Copyright 2019 (c) Lethys'
5-
__version__ = '0.1.3'
5+
__version__ = '0.1.4'
66

7-
from .client import Client
7+
from .client import XIVAPIClient
88
from .exceptions import *

xivapi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
__log__ = logging.getLogger(__name__)
99

1010

11-
class Client:
11+
class XIVAPIClient:
1212
"""
1313
Asynchronous client for accessing XIVAPI's endpoints.
1414
Parameters

0 commit comments

Comments
 (0)