Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a9269d + 2743825 commit fbb4a97Copy full SHA for fbb4a97
setup.py
@@ -1,11 +1,16 @@
1
#!/usr/bin/python
2
3
-from distutils.core import setup
+from distutils.core import setup
4
+from distutils.command.clean import clean
5
import subprocess
6
7
subprocess.call( ['make', 'README', 'README.org'] )
8
9
10
+class MoreClean(clean):
11
+ def run(self):
12
+ clean.run(self)
13
+ subprocess.call( ['make', 'clean'] )
14
15
16
setup(name = 'gnuplotlib',
@@ -15,4 +20,5 @@
20
url = 'http://github.com/dkogan/gnuplotlib',
21
description = 'Gnuplot-based plotting for numpy',
17
22
license = 'LGPL-3+',
18
- py_modules = ['gnuplotlib'] )
23
+ py_modules = ['gnuplotlib'],
24
+ cmdclass = {'clean': MoreClean})
0 commit comments