changeset 29:8801b7fc6010

Improve setup.py
author Lewin Bormann <lewin@lewin-bormann.info>
date Mon, 14 Sep 2020 11:16:31 +0200
parents 520fa4e1c537
children 7cfc73ad6ce9
files README.md setup.py
diffstat 2 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/README.md	Fri May 01 17:51:34 2020 +0200
+++ b/README.md	Mon Sep 14 11:16:31 2020 +0200
@@ -47,11 +47,8 @@
 
 1. Clone this repository to a convenient place: `git clone https://github.com/dermesser/photosync` or `hg clone
    git+https://github.com/dermesser/photosync`.
-1. Go into the `photosync` repository and run `python3 setup.py install --user`. This
+1. Go into the `photosync` repository and run `pip[3] install [--user] .`. This
    installs dependencies needed by the program.
-  - Alternatively, run `pip3 install --user .`, make sure that `~/.local/bin` is
-  on your `PATH` (or whatever it takes on other operating systems than unix-like
-  ones), and use it as `photosync.py`.
 1. Run it: `python3 photosync.py --help` or, if you installed it with `pip`,
    `photosync.py --help`.
 
--- a/setup.py	Fri May 01 17:51:34 2020 +0200
+++ b/setup.py	Mon Sep 14 11:16:31 2020 +0200
@@ -12,13 +12,15 @@
         license='MIT',
         scripts=['photosync.py'],
         install_requires=[
+            'arguments',
+            'future',
+            'consoleprinter',
+            'google-api-core',
             'google-api-python-client',
             'google-auth',
             'google-auth-httplib2',
             'google-auth-oauthlib',
             'python-dateutil',
-            'arguments',
-            'future',
             'pyyaml',
-            'consoleprinter',
+            'requests-oauthlib',
         ])