Skip to content

Commit

Permalink
HOTFIX: Include explicit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
WittmannF committed Sep 25, 2024
1 parent 6869296 commit 8514d07
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
from setuptools import setup

# Function to read the requirements.txt file
def parse_requirements(filename):
with open(filename, 'r') as file:
return file.read().splitlines()

setup(
name='sortgs',
version='1.0.4',
Expand All @@ -16,9 +11,14 @@ def parse_requirements(filename):
url='https://github.com/WittmannF/sort-google-scholar',
py_modules=['sortgs'], # Assuming your script is named sortgs.py

# Dynamically fetch dependencies from requirements.txt
install_requires=parse_requirements('requirements.txt'),

install_requires=[
'requests',
'beautifulsoup4',
'pandas',
'matplotlib',
'selenium',
]

entry_points={
'console_scripts': [
'sortgs=sortgs:main', # This line sets up the command line tool
Expand Down

0 comments on commit 8514d07

Please sign in to comment.