Download testbed/joke2k__faker/setup.py from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 2.33 kB
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/joke2k__faker/setup.py
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/joke2k__faker/setup.py
-
curl -L -o setup.py https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/joke2k__faker/setup.py
2.33 kB
| #!/usr/bin/env python | |
| import os | |
| from setuptools import find_packages, setup | |
| here = os.path.abspath(os.path.dirname(__file__)) | |
| with open(os.path.join(here, 'README.rst'), encoding='utf-8') as fp: | |
| README = fp.read() | |
| with open(os.path.join(here, 'VERSION')) as version_file: | |
| VERSION = version_file.read().strip() | |
| # this module can be zip-safe if the zipimporter implements iter_modules or if | |
| # pkgutil.iter_importer_modules has registered a dispatch for the zipimporter. | |
| try: | |
| import pkgutil | |
| import zipimport | |
| zip_safe = hasattr(zipimport.zipimporter, "iter_modules") or \ | |
| zipimport.zipimporter in pkgutil.iter_importer_modules.registry.keys() | |
| except AttributeError: | |
| zip_safe = False | |
| setup( | |
| name='Faker', | |
| version=VERSION, | |
| description="Faker is a Python package that generates fake data for you.", | |
| long_description=README, | |
| entry_points={ | |
| 'console_scripts': ['faker=faker.cli:execute_from_command_line'], | |
| }, | |
| classifiers=[ | |
| # See https://pypi.org/pypi?%3Aaction=list_classifiers | |
| 'Development Status :: 5 - Production/Stable', | |
| 'Environment :: Console', | |
| 'Intended Audience :: Developers', | |
| 'Programming Language :: Python', | |
| 'Programming Language :: Python :: 3', | |
| 'Programming Language :: Python :: 3 :: Only', | |
| 'Programming Language :: Python :: 3.5', | |
| 'Programming Language :: Python :: 3.6', | |
| 'Programming Language :: Python :: 3.7', | |
| 'Programming Language :: Python :: 3.8', | |
| 'Programming Language :: Python :: Implementation :: CPython', | |
| 'Programming Language :: Python :: Implementation :: PyPy', | |
| 'Topic :: Software Development :: Libraries :: Python Modules', | |
| 'Topic :: Software Development :: Testing', | |
| 'Topic :: Utilities', | |
| 'License :: OSI Approved :: MIT License', | |
| ], | |
| keywords='faker fixtures data test mock generator', | |
| author='joke2k', | |
| author_email='joke2k@gmail.com', | |
| url='https://github.com/joke2k/faker', | |
| license='MIT License', | |
| packages=find_packages(exclude=["docs", "tests", "tests.*"]), | |
| platforms=["any"], | |
| zip_safe=zip_safe, | |
| python_requires=">=3.4", | |
| setup_requires=["pytest-runner"], | |
| install_requires=[ | |
| "python-dateutil>=2.4", | |
| "text-unidecode==1.3", | |
| ], | |
| ) | |