1 |
commit: 05ffb8718e0ec69ffa90cc0dca05c599e8160686 |
2 |
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org> |
3 |
AuthorDate: Fri Apr 6 23:02:48 2012 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 6 23:04:36 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/overlint.git;a=commit;h=05ffb871 |
7 |
|
8 |
Use distutils |
9 |
|
10 |
--- |
11 |
.gitignore | 3 ++- |
12 |
Makefile | 10 ++++++++++ |
13 |
overlint/cli.py | 2 +- |
14 |
setup.py | 18 ++++++++++++++++++ |
15 |
4 files changed, 31 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/.gitignore b/.gitignore |
18 |
index 2f78cf5..2d64802 100644 |
19 |
--- a/.gitignore |
20 |
+++ b/.gitignore |
21 |
@@ -1,2 +1,3 @@ |
22 |
*.pyc |
23 |
- |
24 |
+/dist |
25 |
+/MANIFEST |
26 |
|
27 |
diff --git a/Makefile b/Makefile |
28 |
new file mode 100644 |
29 |
index 0000000..f28f886 |
30 |
--- /dev/null |
31 |
+++ b/Makefile |
32 |
@@ -0,0 +1,10 @@ |
33 |
+# Copyright (C) 2012 Sebastian Pipping <sebastian@×××××××.org> |
34 |
+# Licensed under GPL v2 or later |
35 |
+ |
36 |
+all: |
37 |
+ |
38 |
+dist: |
39 |
+ rm -f MANIFEST |
40 |
+ ./setup.py sdist |
41 |
+ |
42 |
+.PHONY: dist |
43 |
|
44 |
diff --git a/overlint/cli.py b/overlint/cli.py |
45 |
index d941f25..4ba402c 100644 |
46 |
--- a/overlint/cli.py |
47 |
+++ b/overlint/cli.py |
48 |
@@ -3,7 +3,7 @@ |
49 |
|
50 |
from __future__ import print_function |
51 |
|
52 |
-VERSION_STR = '0.4' |
53 |
+VERSION_STR = '0.4.1' |
54 |
|
55 |
import sys |
56 |
import os |
57 |
|
58 |
diff --git a/setup.py b/setup.py |
59 |
new file mode 100755 |
60 |
index 0000000..08244ba |
61 |
--- /dev/null |
62 |
+++ b/setup.py |
63 |
@@ -0,0 +1,18 @@ |
64 |
+#!/usr/bin/env python |
65 |
+# Copyright (C) 2012 Sebastian Pipping <sebastian@×××××××.org> |
66 |
+# Licensed under GPL v2 or later |
67 |
+ |
68 |
+from distutils.core import setup |
69 |
+from overlint.cli import VERSION_STR |
70 |
+ |
71 |
+setup( |
72 |
+ name='overlint', |
73 |
+ description='Simple tool for static analysis of Gentoo overlays', |
74 |
+ license='GPL v2 or later', |
75 |
+ version=VERSION_STR, |
76 |
+ url='http://git.overlays.gentoo.org/gitweb/?p=proj/overlint.git;a=summary', |
77 |
+ author='Sebastian Pipping', |
78 |
+ author_email='sebastian@×××××××.org', |
79 |
+ packages=['overlint', ], |
80 |
+ scripts=['overlint-cli', ], |
81 |
+) |