-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
42 lines (38 loc) · 1.22 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
42
from setuptools import setup, find_packages
# import from skraped package triggers imports of other modules unavailable during setup install
# from skraped import __version__ as version
version = '0.0.1'
description = 'CLI tool for scraping and aggregating Kenyan tech job posted on various job boards'
url = 'https://github.com/Victornguli/Skraped'
requires = [
'pytest>=5.4.2',
'pytest-cov>=2.8.1',
'coveralls>=2.0.0',
'validators>=0.15.0',
'pyyaml>=5.3.1',
'beautifulsoup4>=4.9.0',
'lxml>=4.5.0',
'fake-useragent>=0.1.11'
]
with open("README.md", 'r') as f:
long_description = f.read()
setup(
name='Skraped',
version=version,
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
author='Victor Nguli Joseph',
author_email='[email protected]',
url=url,
license='MIT License',
python_requires='>=3.6.0',
install_requires=requires,
packages=find_packages(exclude=['tests']),
package_data={
# Install settings.yaml for loading default settings
'skraped': ["config/*.yaml"]
},
include_package_data=True,
entry_points={'console_scripts': ['skraper=skraped.__main__:main']}
)