-
Notifications
You must be signed in to change notification settings - Fork 929
Expand file tree
/
Copy pathsetup.py
More file actions
67 lines (62 loc) · 2.37 KB
/
setup.py
File metadata and controls
67 lines (62 loc) · 2.37 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
from setuptools import setup, find_packages
from codecs import open
from os import path
import re
here = path.abspath(path.dirname(__file__))
version_match = re.search(
r'^__version__\s*=\s*"(.*)"',
open('linkedin_scraper/__init__.py').read(),
re.M
)
if version_match:
version = version_match.group(1)
else:
raise RuntimeError("Unable to find version string in linkedin_scraper/__init__.py")
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Basic dependencies only (no database/storage dependencies)
basic_requirements = [
'playwright>=1.40.0',
'requests>=2.31.0',
'lxml>=5.0.0',
'pydantic>=2.0.0',
'python-dotenv>=1.0.0',
'aiofiles>=23.0.0',
]
setup(
name='linkedin_scraper',
packages=find_packages(exclude=['tests', 'tests.*', 'samples', 'samples.*']),
version=version,
description='Async LinkedIn scraper for profiles, companies, and jobs',
long_description=long_description,
long_description_content_type='text/markdown',
author='Joey Sham',
author_email='[email protected]',
url='https://github.com/joeyism/linkedin_scraper',
download_url='https://github.com/joeyism/linkedin_scraper/archive/refs/tags/' + version + '.tar.gz',
keywords=['linkedin', 'scraping', 'scraper', 'async', 'playwright', 'profiles'],
license='Apache 2.0',
python_requires='>=3.8',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Operating System :: OS Independent',
],
install_requires=basic_requirements,
include_package_data=True,
project_urls={
'Bug Reports': 'https://github.com/joeyism/linkedin_scraper/issues',
'Source': 'https://github.com/joeyism/linkedin_scraper',
'Documentation': 'https://github.com/joeyism/linkedin_scraper#readme',
},
)