-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
41 lines (32 loc) · 1.11 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
40
41
from pathlib import Path
from setuptools import setup
def post_install():
""" Implement post installation routine """
with open('./requirements.txt') as f:
install_requires = f.read().splitlines()
return install_requires
def pre_install():
""" Implement pre installation routine """
# read the contents of your README file
global long_description
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
pre_install()
setup(
name='pinterest-crawler',
version='0.2.0',
long_description=long_description,
long_description_content_type='text/markdown',
packages=["pinterest_crawler"],
setup_requires=[],
url='https://github.com/SajjadAemmi/Pinterest-Crawler',
license='',
author='Sajjad Aemmi',
author_email='[email protected]',
description='Pinterest Crawler: Download as many images as you want about the searched words',
include_package_data=True,
install_requires=post_install(),
entry_points={
"console_scripts": ["pinterest-crawler=pinterest_crawler.main:main"],
},
)