forked from yuecen/github-email-explorer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
36 lines (33 loc) · 1.32 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
# -*- coding: utf-8 -*-
import re
from setuptools import setup, find_packages
pkg_file = open("github_email_explorer/__init__.py").read()
metadata = dict(re.findall("__([a-z]+)__\s*=\s*'([^']+)'", pkg_file))
description = open('README.md').read()
requirements = [i.strip() for i in open("requirements.txt").readlines()]
setup(
name='github-email-explorer',
description='A tool to get email addresses by action types such as starred, watching or fork on GitHub repositories; Send email content to those addresses with a template.',
version=metadata['version'],
# Author details
author='yuecen',
author_email='[email protected]',
url='https://github.com/yuecen/github-email-explorer',
long_description=description,
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python',
'Topic :: Communications :: Email',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='github, email, sendgrid, marketing',
install_requires=requirements,
packages=find_packages(),
entry_points={
'console_scripts': [
'ge-explore = github_email_explorer.cli_explore:get_github_email_by_repo',
'ge-sendgrid = github_email_explorer.cli_sendgrid:send_email_by_sendgrid'
]
}
)