Prechádzať zdrojové kódy

correct style of setup.py

Helmut Pozimski 9 rokov pred
rodič
commit
2671edbc06
1 zmenil súbory, kde vykonal 11 pridanie a 7 odobranie
  1. 11 7
      setup.py

+ 11 - 7
setup.py

@@ -18,6 +18,8 @@
 
 # -*- coding: utf8 -*-
 
+"""This is the setup.py used to install stov using python distutils."""
+
 from distutils.core import setup
 
 setup(
@@ -26,17 +28,19 @@ setup(
     author="Helmut Pozimski",
     author_email="helmut@pozimski.de",
     description=("a program to subscribe to channels and users from youtube and"
-        " download the videos automatically"),
+                 " download the videos automatically"),
     long_description=("stov is a program which allows you to subscribe to "
-        "channels, playlists and search results on youtube. You don't need a"
-        " youtube account for the program to work since it uses read-only access "
-        "to the youtube API. You can for example run it as a cron job to "
-        "automatically download your favourite videos."),
+                      "channels, playlists and search results on youtube. You "
+                      "don't need a youtube account for the program to work "
+                      "since it uses read-only access to youtube via "
+                      "youtube-dl. You can for example run it as a cron job to "
+                      "automatically download your favourite videos."),
     license="GNU General Public License version 2",
     packages=["lib_stov"],
     scripts=["stov"],
     data_files=[("share/locale/de/LC_MESSAGES",
-            ["locale/de/LC_MESSAGES/stov.mo"]),
-            ("share/locale/en/LC_MESSAGES", ["locale/en/LC_MESSAGES/stov.mo"])],
+                 ["locale/de/LC_MESSAGES/stov.mo"]),
+                ("share/locale/en/LC_MESSAGES",
+                 ["locale/en/LC_MESSAGES/stov.mo"])],
     requires=['lxml']
     )