Skip to content

Commit

Permalink
Removing pipenv dependency from setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PetterKraabol committed Feb 27, 2020
1 parent 44018dc commit 219f5da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "pypi"
requests = "*"
python-dateutil = "*"
pytz = ">=2018.9"
twitch-python = ">=0.0.13"
twitch-python = ">=0.0.18"

[dev-packages]
wheel = "*"
Expand Down
10 changes: 4 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@

import os

from pipenv.project import Project
from pipenv.utils import convert_deps_to_pip
from setuptools import setup, find_packages

this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'readme.md'), encoding='utf-8') as f:
readme = f.read()

pipfile = Project(chdir=False).parsed_pipfile
requirements = convert_deps_to_pip(pipfile['packages'], r=False)
test_requirements = convert_deps_to_pip(pipfile['dev-packages'], r=False)
requirements = ['requests', 'rx>=3.0.0', 'twitch-python', 'pytz', 'python-dateutil']
test_requirements = ['twine', 'wheel']
setup_requirements = ['pipenv', 'setuptools']

setup(
Expand All @@ -24,6 +21,7 @@
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
entry_points=
'''
Expand All @@ -44,6 +42,6 @@
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/PetterKraabol/Twitch-Chat-Downloader',
version='3.1.3',
version='3.1.4',
zip_safe=True,
)

0 comments on commit 219f5da

Please sign in to comment.