Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: eyeo-depup/eyeo-depup

Issue 29599579: OffTopic: DependencyUpdater
Patch Set: Created Nov. 27, 2017, 9:40 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: eyeo-depup/eyeo-depup
diff --git a/patchconv/setup.py b/eyeo-depup/eyeo-depup
old mode 100644
new mode 100755
similarity index 78%
copy from patchconv/setup.py
copy to eyeo-depup/eyeo-depup
index a36724b2037022b0a3115a63a4f31cb303b4a714..97a1b4a1edcf4723f2616bd7e51b0b2d2f06436d
--- a/patchconv/setup.py
+++ b/eyeo-depup/eyeo-depup
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# This file is part of Adblock Plus <https://adblockplus.org/>,
# Copyright (C) 2006-present eyeo GmbH
#
@@ -13,14 +15,11 @@
# You should have received a copy of the GNU General Public License
# along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
-from setuptools import setup
+"""Command line interface for eyeo-depup."""
+
+from __future__ import print_function
+from src.depup import DepUpdate
-setup(
- name='patchconv',
- version='0.1',
- py_modules=['patchconv'],
- entry_points={
- 'console_scripts': ['patchconv=patchconv:main']
- }
-)
+if __name__ == '__main__':
+ DepUpdate()()

Powered by Google App Engine
This is Rietveld