Skip to content

Commit

Permalink
Updated setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeqfu committed Dec 4, 2019
1 parent 37888c6 commit 7d33f4d
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import setuptools

ver_no = '0.2.3'
ver_no = '0.2.4'


def find_all_pkg_dat_files(directory):
Expand All @@ -19,6 +19,10 @@ def find_all_pkg_dat_files(directory):
with open("README.md", 'r', encoding='utf-8') as readme:
long_description = readme.read()

with open('requirements.txt') as f:
requirements = f.readlines()
requirements_ = [r.strip() for r in requirements]

setuptools.setup(

name='pyrcs',
Expand All @@ -27,26 +31,13 @@ def find_all_pkg_dat_files(directory):
author='Qian Fu',
author_email='qian.fu@outlook.com',

description="A small web scraper for collecting the railway codes used in the UK rail industry",
description="A data scraping tool for collection and storage of the railway codes used in the UK rail industry",
long_description=long_description,
long_description_content_type="text/markdown",

url='https://github.com/mikeqfu/pyrcs',

install_requires=[
'beautifulsoup4',
'fuzzywuzzy',
'html5lib',
'lxml',
'measurement',
'more-itertools',
'pandas',
'pyhelpers',
'python-Levenshtein',
'requests',
'sqlalchemy',
'sqlalchemy-utils'
],
install_requires=requirements_,

packages=setuptools.find_packages(exclude=["*.tests", "tests.*", "tests"]),

Expand All @@ -59,5 +50,6 @@ def find_all_pkg_dat_files(directory):
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux'
],
)

0 comments on commit 7d33f4d

Please sign in to comment.