diff options
author | zlg <zlg@zlg.space> | 2025-07-29 20:41:57 -0700 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2025-07-29 20:41:57 -0700 |
commit | 4a6f3b24bae6d466587f6b2cafe92848878e27b4 (patch) | |
tree | c72959708bb4e75b8743ad406258517198489b1f /setup.py | |
parent | The big VGStash-Web commit! (diff) | |
download | vgstash-4a6f3b24bae6d466587f6b2cafe92848878e27b4.tar.gz vgstash-4a6f3b24bae6d466587f6b2cafe92848878e27b4.tar.bz2 vgstash-4a6f3b24bae6d466587f6b2cafe92848878e27b4.tar.xz vgstash-4a6f3b24bae6d466587f6b2cafe92848878e27b4.zip |
setup.py: Add VGStash-Web to 'web' data directorynext
Users can copy these files and use them to publish their VGStash
collection.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -2,7 +2,7 @@ # Learn more: https://github.com/kennethreitz/setup.py -from setuptools import setup, find_packages +from setuptools import setup, find_namespace_packages with open('README.md') as f: @@ -18,8 +18,12 @@ setup( license='License-Expression: AGPL-3.0-only', author_email='zlg+vgstash@zlg.space', url='https://git.zlg.space/vgstash', - packages=find_packages(where='src'), - package_dir={'': 'src'}, + packages=find_namespace_packages(where='src'), + package_dir={"": "src"}, + package_data={ + "vgstash.web": ["web/vgstash-web.html", "web/vgstash.css", "web/vgstash.js", "web/vgstash-favicon.png"] + }, + include_package_data=True, py_modules=['vgstash_cli'], entry_points={ 'console_scripts': [ |