Kaynağa Gözat

correct style of setup.py

Helmut Pozimski 9 yıl önce
ebeveyn
işleme
2671edbc06
1 değiştirilmiş dosya ile 11 ekleme ve 7 silme
  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']
     )