File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 1
- from setuptools import setup , find_packages , Command
2
- import subprocess
3
1
import os
4
- import sys
5
2
import shutil
3
+ import subprocess
4
+
5
+ from setuptools import setup , find_packages , Command
6
6
7
7
src_dir = 'src/python'
8
8
package_directory = 'cloudfoundry_client'
23
23
def purge_sub_dir (path ):
24
24
shutil .rmtree (os .path .join (os .path .dirname (__file__ ), path ))
25
25
26
- # add generate command if install
27
- generate_present = False
28
- for cpt_arg in xrange (1 , len (sys .argv )):
29
- if sys .argv [cpt_arg ] == "generate" :
30
- generate_present = True
31
- break
32
-
33
- if not generate_present and len (sys .argv ) > 1 :
34
- sys .argv .insert (1 , 'generate' )
35
-
36
26
37
27
class GenerateCommand (Command ):
38
28
description = "generate protobuf class generation"
You can’t perform that action at this time.
0 commit comments