Esempio n. 1
0
 def initialize_options(self):
     """Set initial values for options before reading.
     """
     SDistCommand.initialize_options(self)
     self.exclude_sources = None
     self.source_extensions = None
     self.include_path = None
Esempio n. 2
0
 def initialize_options(self):
     sdist.initialize_options(self)
     self._pyxfiles = []
     for root, dirs, files in os.walk('.'):
         for f in files:
             if f.endswith('.pyx'):
                 self._pyxfiles.append(os.path.join(root, f)[2:])
Esempio n. 3
0
 def initialize_options(self):
     sdist.initialize_options(self)
     self._pyxfiles = []
     for root, dirs, files in os.walk('thriftworker'):
         for f in files:
             if f.endswith('.pyx'):
                 self._pyxfiles.append(os.path.join(root, f))
Esempio n. 4
0
 def initialize_options(self):
     sdist.initialize_options(self)
     self._pyxfiles = []
     for root, dirs, files in os.walk('zmq'):
         for f in files:
             if f.endswith('.pyx'):
                 self._pyxfiles.append(pjoin(root, f))
Esempio n. 5
0
 def initialize_options(self):
     _sdist.initialize_options(self)
     self._pyx = []
     self._templates = []
     for root, dirs, files in os.walk("src"):
         for f in files:
             if f.endswith(".pyx"):
                 self._pyx.append(os.path.join(root, f))
             elif ".template" in f:
                 self._templates.append(os.path.join(root, f))
Esempio n. 6
0
 def initialize_options(self):
     _sdist.initialize_options(self)
     self._pyx = []
     self._templates = []
     for root, dirs, files in os.walk("src"):
         for f in files:
             if f.endswith(".pyx"):
                 self._pyx.append(os.path.join(root, f))
             elif ".template" in f:
                 self._templates.append(os.path.join(root, f))
Esempio n. 7
0
 def initialize_options(self):
     _sdist.initialize_options(self)
     # see pep 527, new uploads should be tar.gz or .zip
     # fmt = getattr(self, 'tarfmt',  None)
     # because of unicode_literals
     # self.formats = fmt if fmt else [b'bztar'] if sys.version_info < (3, ) else ['bztar']
     dist_base = os.environ.get('PYDISTBASE')
     fpn = getattr(getattr(self, 'nsp', self), 'full_package_name', None)
     if fpn and dist_base:
         print('setting  distdir {}/{}'.format(dist_base, fpn))
         self.dist_dir = os.path.join(dist_base, fpn)
Esempio n. 8
0
 def initialize_options(self):
     _sdist.initialize_options(self)
     # see pep 527, new uploads should be tar.gz or .zip
     # fmt = getattr(self, 'tarfmt',  None)
     # because of unicode_literals
     # self.formats = fmt if fmt else [b'bztar'] if sys.version_info < (3, ) else ['bztar']
     dist_base = os.environ.get('PYDISTBASE')
     fpn = getattr(getattr(self, 'nsp', self), 'full_package_name', None)
     if fpn and dist_base:
         print('setting  distdir {}/{}'.format(dist_base, fpn))
         self.dist_dir = os.path.join(dist_base, fpn)
Esempio n. 9
0
 def initialize_options(self):
     """Set default values for options"""
     sdist.initialize_options(self)
     self.force_build = False
     if __pkg_data__.SCM == "hg":
         output = call_scm("status -mard")
     elif __pkg_data__.SCM == "git":
         output = call_scm("diff --name-status")
     else:
         raise ValueError("Unknown SCM type %r" % (__pkg_data__.SCM, ))
     if not len(output) == 0:
         raise DistutilsFileError("Uncommitted changes!")
Esempio n. 10
0
 def initialize_options(self):
   self.no_make_docs = None
   self.no_sync_artifacts = None
   self.no_make_ui_files = None
   self.no_compile_protos = None
   sdist.initialize_options(self)
Esempio n. 11
0
 def initialize_options(self):
     sdist.initialize_options(self)
     self.dev = 0
Esempio n. 12
0
 def initialize_options(self):
     sdist.initialize_options(self)
     self.custom_option = None
Esempio n. 13
0
 def initialize_options(self):
     _sdist.initialize_options(self)
     self.formats = 'zip'
Esempio n. 14
0
 def initialize_options(self):
     self.no_make_docs = None
     self.no_sync_artifacts = None
     self.no_make_ui_files = None
     self.no_compile_protos = None
     sdist.initialize_options(self)
Esempio n. 15
0
 def initialize_options(self):
     self.dist_name = ''
     sdist.initialize_options(self)
Esempio n. 16
0
File: setup.py Progetto: bhyvex/grr
 def initialize_options(self):
   self.no_make_ui_files = None
   sdist.initialize_options(self)
Esempio n. 17
0
 def initialize_options(self):
     self.no_make_docs = None
     sdist.initialize_options(self)
Esempio n. 18
0
 def initialize_options(self):
     SDistCommand.initialize_options(self)
     self.target_arch = None
     self.target_os = None
     self.web = False
     self.all = False
Esempio n. 19
0
 def initialize_options(self):
     orig_sdist.initialize_options(self)
     self.strip_commit = False
Esempio n. 20
0
File: setup.py Progetto: lzbgt/grr
 def initialize_options(self):
   self.no_sync_artifacts = None
   self.no_make_ui_files = None
   sdist.initialize_options(self)
Esempio n. 21
0
File: setup.py Progetto: HMSH00D/grr
 def initialize_options(self):
   self.no_make_docs = None
   self.no_sync_artifacts = None
   sdist.initialize_options(self)
Esempio n. 22
0
    def initialize_options(self):
        self.no_sync_artifacts = None

        sdist.initialize_options(self)
Esempio n. 23
0
 def initialize_options(self):
     SDistCommand.initialize_options(self)
     self.target_arch = None
     self.target_os = None
     self.web = False
     self.all = False
Esempio n. 24
0
 def initialize_options(self):
     orig_sdist.initialize_options(self)
     self.strip_commit = False
Esempio n. 25
0
	def initialize_options(self):
		_sdist.initialize_options(self);dist_base=os.environ.get(_O);fpn=getattr(getattr(self,_P,self),_I,_A)
		if fpn and dist_base:print(_Q.format(dist_base,fpn));self.dist_dir=os.path.join(dist_base,fpn)
Esempio n. 26
0
 def initialize_options(self):
     self.no_make_ui_files = None
     sdist.initialize_options(self)
Esempio n. 27
0
 def initialize_options(self):
   self.no_make_docs = None
   sdist.initialize_options(self)