Download mozdef_util/setup.py from ineso22/Mozdef: direct link, hf CLI and curl.
- Browser
- Download file 1.83 kB
-
https://huggingface.co/ineso22/Mozdef/resolve/main/mozdef_util/setup.py
- Command line
-
hf download hf://ineso22/Mozdef/mozdef_util/setup.py
-
curl -L -o setup.py https://huggingface.co/ineso22/Mozdef/resolve/main/mozdef_util/setup.py
1.83 kB
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """The setup script.""" | |
| import os | |
| from setuptools import setup, find_packages | |
| readme_path = os.path.join(os.path.dirname(__file__), 'README.rst') | |
| with open(readme_path) as readme_file: | |
| readme = readme_file.read() | |
| history_path = os.path.join(os.path.dirname(__file__), 'HISTORY.rst') | |
| with open(history_path) as history_file: | |
| history = history_file.read() | |
| requirements = [ | |
| 'pip>=18.1', | |
| 'bumpversion>=0.5.3', | |
| 'wheel>=0.32.1', | |
| 'watchdog>=0.9.0', | |
| 'flake8>=3.5.0', | |
| 'coverage>=4.5.1', | |
| 'Sphinx>=1.8.1', | |
| 'twine>=1.12.1', | |
| 'elasticsearch==6.3.1', | |
| 'elasticsearch-dsl==6.3.1', | |
| 'geoip2>=2.5.0', | |
| 'pytz>=2017.3', | |
| 'tzlocal>=1.4', | |
| ] | |
| setup( | |
| author="Mozilla Infosec", | |
| author_email='infosec@mozilla.com', | |
| classifiers=[ | |
| 'Development Status :: 2 - Pre-Alpha', | |
| 'Intended Audience :: Developers', | |
| 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', | |
| 'Natural Language :: English', | |
| "Programming Language :: Python :: 2", | |
| 'Programming Language :: Python :: 2.7', | |
| 'Programming Language :: Python :: 3', | |
| 'Programming Language :: Python :: 3.4', | |
| 'Programming Language :: Python :: 3.5', | |
| 'Programming Language :: Python :: 3.6', | |
| 'Programming Language :: Python :: 3.7', | |
| ], | |
| description="Utilities shared throughout the MozDef codebase", | |
| install_requires=requirements, | |
| license='MPL-2.0', | |
| long_description=readme + '\n\n' + history, | |
| include_package_data=True, | |
| keywords='mozdef_util', | |
| name='mozdef_util', | |
| packages=find_packages(), | |
| setup_requires=[], | |
| test_suite='tests', | |
| tests_require=[], | |
| url='https://github.com/mozilla/MozDef/tree/master/lib', | |
| version='3.0.7', | |
| zip_safe=False, | |
| ) | |