-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
80 lines (77 loc) · 2.56 KB
/
setup.py
File metadata and controls
80 lines (77 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
"""
Setup configuration for vangard-script-utils package.
"""
from setuptools import setup, find_packages
import os
# Read the version from vangard/__init__.py
def get_version():
init_path = os.path.join(os.path.dirname(__file__), 'vangard', '__init__.py')
with open(init_path, 'r') as f:
for line in f:
if line.startswith('__version__'):
return line.split('=')[1].strip().strip('"').strip("'")
return "0.0.0"
# Read the README for long description
def get_long_description():
readme_path = os.path.join(os.path.dirname(__file__), 'README.md')
if os.path.exists(readme_path):
with open(readme_path, 'r', encoding='utf-8') as f:
return f.read()
return ""
setup(
name="vangard-script-utils",
version=get_version(),
author="Vangard Team",
description="A command-line interface and automation toolkit for DAZ Studio",
long_description=get_long_description(),
long_description_content_type="text/markdown",
url="https://github.com/yourusername/vangard-script-utils", # Update with actual URL
packages=find_packages(exclude=["tests", "tests.*"]),
package_data={
'vangard': [
'scripts/*.dsa',
'static/*.html',
'static/css/*.css',
'static/js/*.js',
'static/assets/**/*',
],
},
include_package_data=True,
install_requires=[
'PyYAML>=6.0',
'fastapi>=0.85.0',
'uvicorn[standard]>=0.18.3',
'prompt-toolkit>=3.0.0',
'python-dotenv>=1.0.0',
],
extras_require={
'dev': [
'pytest>=7.0.0',
'pytest-cov>=4.0.0',
'pytest-mock>=3.10.0',
],
},
entry_points={
'console_scripts': [
'vangard=vangard.main:main',
'vangard-cli=vangard.cli:main',
'vangard-interactive=vangard.interactive:main',
'vangard-server=vangard.server:main',
'vangard-gui=vangard.gui:main',
'vangard-pro=vangard.pro:main',
],
},
python_requires='>=3.8',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
keywords='daz-studio automation cli 3d-graphics',
)