-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
39 lines (35 loc) · 1.41 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
37
38
39
#!/usr/bin/env python
from setuptools import setup, find_packages
import time
from recipe_scrapers import settings
def get_version():
return "%s.%d" % (settings.VERSION, int(time.time()))
setup(
name='recipe-scrapers',
version=get_version(),
description='Scrapes popular recipe sources and inserts them into a database',
long_description='Scrapes popular recipe sources and inserts them into a database',
author='Matt Jackson',
author_email='me@mattjackson.eu',
url='http://mattjackson.eu',
packages=find_packages(),
install_requires=['cssselect', 'lxml', 'pymongo', 'argparse'],
entry_points={
'console_scripts': [
'foodcom-scraper = recipe_scrapers.sites.foodcom:main',
'bbcgoodfood-scraper = recipe_scrapers.sites.bbcgoodfood:main',
'allrecipes-scraper = recipe_scrapers.sites.allrecipes:main',
'foodnetwork-scraper = recipe_scrapers.sites.foodnetwork:main',
'epicurious-scraper = recipe_scrapers.sites.epicurious:main',
'foodchannel-scraper = recipe_scrapers.sites.foodchannel:main',
'reprocess-recipes = recipe_scrapers.utils.reprocess_recipes:run',
]
},
classifiers=[
'Environment :: Console',
'Operating System :: Unix',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
],
)