Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
python-tweepy
tweepy-pip2.10.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tweepy-pip2.10.patch of Package python-tweepy
From 778bd7a31d2f5fae98652735e7844533589ca221 Mon Sep 17 00:00:00 2001 From: Ben Cipollini <bcipollini@classy.org> Date: Wed, 18 Apr 2018 10:26:07 -0700 Subject: [PATCH] #1029 - migrate requirements to setup.py, reference in requirements.txt --- requirements.txt | 7 +++---- setup.py | 11 ++++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/requirements.txt b/requirements.txt index 14440314..cd8c47d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -requests>=2.11.1 -requests_oauthlib>=0.7.0 -six>=1.10.0 -PySocks>=1.5.7 +--index-url https://pypi.python.org/simple/ + +-e . diff --git a/setup.py b/setup.py index 18c59108..5688c2f5 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,6 @@ #from distutils.core import setup import re, uuid from setuptools import setup, find_packages -from pip.req import parse_requirements VERSIONFILE = "tweepy/__init__.py" ver_file = open(VERSIONFILE, "rt").read() @@ -14,9 +13,6 @@ else: raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,)) -install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) -reqs = [str(req.req) for req in install_reqs] - setup(name="tweepy", version=version, description="Twitter library for python", @@ -25,7 +21,12 @@ author_email="tweepy@googlegroups.com", url="http://github.com/tweepy/tweepy", packages=find_packages(exclude=['tests']), - install_requires=reqs, + install_requires=[ + "requests>=2.11.1", + "requests_oauthlib>=0.7.0", + "six>=1.10.0", + "PySocks>=1.5.7", + ], keywords="twitter library", classifiers=[ 'Development Status :: 4 - Beta',
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor