Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pipenv #99

Closed
wants to merge 2 commits into from
Closed

Add support for pipenv #99

wants to merge 2 commits into from

Conversation

mzfr
Copy link
Contributor

@mzfr mzfr commented Jul 6, 2018

I have removed the requirements.txt file and now anyone can use pipfiles for installing dependencies.

Currently there are only three packages i.e (pillow, radon, requests) present in pipfile.

Makefile Outdated
pipenv install

test:
pipenv run pytest tests/.

This comment was marked as spam.

This comment was marked as spam.

[requires]
python_version = "3.5"

[dev-packages]

This comment was marked as spam.

.travis.yml Outdated
@@ -77,8 +77,7 @@ matrix:
env: REPO=repo-skins BRANCH=leia

# command to install dependencies
install:
- pip install -r requirements.txt
install: "make"

This comment was marked as spam.

This comment was marked as spam.

Makefile Outdated
pip install pipenv
pipenv install

test:

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@mzfr mzfr force-pushed the pipenv branch 4 times, most recently from dd8e324 to f2fb766 Compare July 6, 2018 11:47
.travis.yml Outdated
@@ -78,7 +78,7 @@ matrix:

# command to install dependencies
install:
- pip install -r requirements.txt
- make

This comment was marked as spam.

@mzfr mzfr force-pushed the pipenv branch 2 times, most recently from e66facd to fbd007d Compare July 6, 2018 13:05
.travis.yml Outdated
@@ -87,6 +87,7 @@ before_script:

# command to run tests
script:
- make test

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@@ -20,7 +17,7 @@
url="https://github.com/xbmc/addon-check",
download_url="https://github.com/xbmc/addon-check/archive/master.zip",
packages=setuptools.find_packages(exclude=['script.test', 'tests*']),
install_requires=requirements,
install_requires=['pillow', 'requests', 'radon'],

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@mzfr
Copy link
Contributor Author

mzfr commented Jul 7, 2018

We shouldn't do that .
See : https://docs.pipenv.org/advanced/#pipfile-vs-setuppy

@razzeee
Copy link
Member

razzeee commented Jul 7, 2018

If we refer to the author of pipenv, we need to question if it even makes sense for us to switch. pypa/pipenv#1161 (comment)

Originally I was thinking we qualify as an application, but due to us distributing via pip it seems like we qualify more in the library sense.

@razzeee
Copy link
Member

razzeee commented Jul 16, 2018

I don't think we want to do this right now, so closing this.

@razzeee razzeee closed this Jul 16, 2018
@mzfr mzfr deleted the pipenv branch July 25, 2018 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants