diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..97219cf --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include agridable/assets/* \ No newline at end of file diff --git a/agridable/assets/__init__.py b/agridable/assets/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/readme.md b/readme.md index 17c9da7..3c944ec 100644 --- a/readme.md +++ b/readme.md @@ -15,7 +15,7 @@ whilst working at [Electrify Video Partners](https://electrify.video/). # Quickstart -## Install Python Library +## Install AGridable First, it's good practice to create a virtual environment to install **AGridable** into; here, we're using conda: @@ -35,15 +35,6 @@ Then install the AGridable library: pip install agridable ``` -## Transfer JS and CSS files - -**AGridable** relies on some standard Javascript functions and CSS formats; -these can be found in the [assets](./agridable/assets) folder. You must either: - -1) Copy these files into the assets folder of your Dash app, or; -2) If you already have versions of these files, append the functions and -formats in these files to the relevant files of your Dash app. - ## Use AGridable The best way to get started with **AGridable** is to look at the examples in the [examples](./examples) folder. These contain simple Dash apps that showcase how **AGridable** can be used to quickly and easily format a dataframe. diff --git a/setup.py b/setup.py index 5d15d0f..6c894d5 100644 --- a/setup.py +++ b/setup.py @@ -40,5 +40,6 @@ ], python_requires='>=3.12', long_description=long_description, - long_description_content_type='text/markdown' + long_description_content_type='text/markdown', + include_package_data=True )