Download tools/xsltest/setup.py from Heartsync/HWPower: direct link, hf CLI and curl.
- Browser
- Download file 644 Bytes
-
https://huggingface.co/spaces/Heartsync/HWPower/resolve/main/tools/xsltest/setup.py
- Command line
-
hf download hf://spaces/Heartsync/HWPower/tools/xsltest/setup.py
-
curl -L -o setup.py https://huggingface.co/spaces/Heartsync/HWPower/resolve/main/tools/xsltest/setup.py
644 Bytes
| from setuptools import setup, find_packages | |
| import os.path | |
| import os | |
| setup_dir = os.path.dirname(__file__) | |
| os.chdir(setup_dir) | |
| setup(name='xsltest', | |
| packages=find_packages(), | |
| # TODO: lxml is required, but we omit it to make buildout process | |
| # successful without it. This workaround should be resolved with Issue | |
| # #101. | |
| install_requires=['pyhwp', 'docopt'], | |
| entry_points={ | |
| 'console_scripts': [ | |
| 'xsltest = xsltest:main', | |
| 'xsltest-gen = xsltest:main_gen', | |
| 'xsltest-run = xsltest:main_run', | |
| 'xmltool = xsltest.xmltool:main' | |
| ] | |
| }) | |