-
Notifications
You must be signed in to change notification settings - Fork 585
/
setup.py
34 lines (29 loc) · 1.15 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
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
import re
here = path.abspath(path.dirname(__file__))
version = re.search(
'^__version__\s*=\s*"(.*)"',
open('linkedin_scraper/__init__.py').read(),
re.M
).group(1)
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'linkedin_scraper',
packages = ['linkedin_scraper'], # this must be the same as the name above
version = version,
description = 'Scrapes user data from Linkedin',
long_description = long_description,
long_description_content_type='text/markdown',
author = 'Joey Sham',
author_email = '[email protected]',
url = 'https://github.com/joeyism/linkedin_scraper', # use the URL to the github repo
download_url = 'https://github.com/joeyism/linkedin_scraper/dist/' + version + '.tar.gz',
keywords = ['linkedin', 'scraping', 'scraper'],
classifiers = [],
install_requires=[package.split("\n")[0] for package in open("requirements.txt", "r").readlines()]
)