diff --git a/README.md b/README.md index b1b645a..6d50f99 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Python Pacakage: You will need to install the package in your environment: ```shell -pip install assetto-intellisense +pip install acintellisense ``` Now if your PyCharm project is accessible to this package, diff --git a/acintellisense/__init__.py b/acintellisense/__init__.py new file mode 100644 index 0000000..a71072e --- /dev/null +++ b/acintellisense/__init__.py @@ -0,0 +1,2 @@ +__all__ = ["getDriverName", "getCarState", "testcall"] +from .core import getDriverName, getCarState, testcall \ No newline at end of file diff --git a/src/ac/__init__.py b/acintellisense/core.py similarity index 99% rename from src/ac/__init__.py rename to acintellisense/core.py index e32bb64..5b32b26 100644 --- a/src/ac/__init__.py +++ b/acintellisense/core.py @@ -2,7 +2,7 @@ #NOTE: Anywhere Type Any is listed- Thats just because I havent figured out the return type yet. #NOTE: I am making assumtions based on examples. THis may not be 100% Accurate to each functions use #NOTE: I have only documented the functions I have found code examples for or enough conversation context on forms/etc to tell me what it does -from typing import Any, Callable +from typing import Callable __all__ = ["getDriverName", "getCarState", "testcall"] diff --git a/setup.py b/setup.py index 0022c2e..66919a0 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,10 @@ """The setup module to create the package to be distriubted on pypi""" from setuptools import setup, find_packages +from pathlib import Path -VERSION = '1.0.3' +VERSION = '1.0.4' DESCRIPTION = 'Assetto Corsa intellisense stubs helper' -LONG_DESCRIPTION = """Assetto Corsa stubs library for "ac" object. -Helping intellisense and documentation when developing. - -Currently only implemented whats in the known AC PDF for modding. Working on expanding in the future -""" +LONG_DESCRIPTION = Path('README.md').read_text(encoding='utf-8') # Setting up setup( name='acintellisense',