Fix very minor packaging issues

- State in README.rst and setup.py metainfo that we require Python>=3.5

- Let Travis-CI test against newer versions of Python

- Let instaloader --help show where to report issues
This commit is contained in:
Alexander Graf 2017-02-13 09:57:03 +01:00
parent 02509d3c40
commit be477e8a88
4 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,9 @@ language: python
python: python:
- "3.5" - "3.5"
- "3.5-dev" - "3.5-dev"
- "3.6"
- "3.6-dev" - "3.6-dev"
- "3.7-dev"
- "nightly" - "nightly"
install: install:
- pip install pylint requests - pip install pylint requests

View File

@ -6,7 +6,7 @@ Installation
------------ ------------
instaloader is written in Python, thus ensure having instaloader is written in Python, thus ensure having
`Python <https://www.python.org/>`__ (at least version 3.3) installed. `Python <https://www.python.org/>`__ (at least version 3.5) installed.
If you intend to use this tool under Windows, it is recommended If you intend to use this tool under Windows, it is recommended
to install to install

View File

@ -685,7 +685,8 @@ def download_profiles(profilelist: List[str], username: Optional[str] = None, pa
save_session(session, username, sessionfile, quiet=quiet) save_session(session, username, sessionfile, quiet=quiet)
def main(): def main():
parser = ArgumentParser(description=__doc__) parser = ArgumentParser(description=__doc__,
epilog="Report issues at https://github.com/Thammus/instaloader/issues.")
parser.add_argument('profile', nargs='*', parser.add_argument('profile', nargs='*',
help='Name of profile to download; @<profile> to download all followees of ' help='Name of profile to download; @<profile> to download all followees of '
'<profile>; or the special targets :feed-all or :feed-liked to ' '<profile>; or the special targets :feed-all or :feed-liked to '

View File

@ -19,7 +19,7 @@ setup(
'profile.', 'profile.',
long_description=open('README.rst').read(), long_description=open('README.rst').read(),
install_requires=['requests>=2.4'], install_requires=['requests>=2.4'],
python_requires='>=3.3', python_requires='>=3.5',
entry_points={'console_scripts': ['instaloader=instaloader:main']}, entry_points={'console_scripts': ['instaloader=instaloader:main']},
zip_safe=True, zip_safe=True,
keywords='instagram downloader', keywords='instagram downloader',