2020-03-23 21:01:46 +09:00
|
|
|
import sys
|
|
|
|
|
|
|
|
|
|
from setuptools import setup, find_packages
|
2020-04-20 11:00:17 +02:00
|
|
|
from Cython.Build import cythonize
|
2020-03-23 21:01:46 +09:00
|
|
|
|
|
|
|
|
if sys.version_info < (3, 6):
|
|
|
|
|
raise Exception('Must be using Python 3.6 or above.')
|
|
|
|
|
|
|
|
|
|
# Install cython first.
|
|
|
|
|
setup(name='breach',
|
|
|
|
|
version='2.2',
|
|
|
|
|
author='Philippe Remy',
|
|
|
|
|
ext_modules=cythonize("breach/cparser.pyx", language_level="3"),
|
|
|
|
|
packages=find_packages(),
|
|
|
|
|
install_requires=[
|
|
|
|
|
'tqdm',
|
|
|
|
|
'validate-email',
|
|
|
|
|
'click'
|
|
|
|
|
],
|
|
|
|
|
include_package_data=True,
|
|
|
|
|
entry_points={
|
|
|
|
|
'console_scripts': [
|
|
|
|
|
'breach=breach.cli:cli',
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
)
|