-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
36 lines (32 loc) · 1.13 KB
/
setup.py
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
import os
import sys
from setuptools import setup, find_packages
version = os.getenv('GITHUB_REF')
if version and version.startswith('refs/tags/'):
version = version.replace('refs/tags/', '')
else:
version = '0.0'
if sys.version_info < (2, 7):
sys.exit('Sorry, Python < 2.7 is not supported')
setup(name='email-scraper',
version=version,
description='Simple utility to extract email addresses from HTML, including obfuscated email addresses',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'License :: OSI Approved :: MIT License',
'Topic :: Communications :: Email',
'Topic :: Text Processing :: Markup :: HTML'
],
keywords='email scraping web obfuscate',
author='Amir Szekely',
author_email='kichik@gmail.com',
url='https://github.com/kichik/email-scraper',
license='MIT',
packages=find_packages(exclude=['examples', 'tests']),
install_requires=['tlds'],
include_package_data=True,
zip_safe=True,
test_suite='tests',
)