-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
29 lines (27 loc) · 937 Bytes
/
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
import ast
import re
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('trackupdates/trackupdates.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='trackupdates',
version=version,
description='A simple yaml-based xpath crawler and esay tracking site updates.',
author='ZhuPeng',
author_email='[email protected]',
url='https://github.com/ZhuPeng/trackupdates',
packages=find_packages(),
data_files = [('web/dist/', ['web/dist/index.html', 'web/dist/index.js', 'web/dist/index.css'])],
install_requires=[
'apscheduler==3.0.3',
'markdown2',
'pyyaml',
'chardet',
'docopt',
'flask',
],
entry_points={'console_scripts': ['trackupdates = trackupdates.trackupdates:main']},
license='MIT License',
)