Ejemplo 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
Ejemplo 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:])
Ejemplo 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))
Ejemplo 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))
Ejemplo 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))
Ejemplo 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))
Ejemplo 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)
Ejemplo 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)
Ejemplo 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!")
Ejemplo 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)
Ejemplo n.º 11
0
 def initialize_options(self):
     sdist.initialize_options(self)
     self.dev = 0
Ejemplo n.º 12
0
 def initialize_options(self):
     sdist.initialize_options(self)
     self.custom_option = None
Ejemplo n.º 13
0
 def initialize_options(self):
     _sdist.initialize_options(self)
     self.formats = 'zip'
Ejemplo 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)
Ejemplo n.º 15
0
 def initialize_options(self):
     self.dist_name = ''
     sdist.initialize_options(self)
Ejemplo n.º 16
0
Archivo: setup.py Proyecto: bhyvex/grr
 def initialize_options(self):
   self.no_make_ui_files = None
   sdist.initialize_options(self)
Ejemplo n.º 17
0
 def initialize_options(self):
     self.no_make_docs = None
     sdist.initialize_options(self)
Ejemplo 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
Ejemplo n.º 19
0
 def initialize_options(self):
     orig_sdist.initialize_options(self)
     self.strip_commit = False
Ejemplo n.º 20
0
Archivo: setup.py Proyecto: lzbgt/grr
 def initialize_options(self):
   self.no_sync_artifacts = None
   self.no_make_ui_files = None
   sdist.initialize_options(self)
Ejemplo n.º 21
0
Archivo: setup.py Proyecto: HMSH00D/grr
 def initialize_options(self):
   self.no_make_docs = None
   self.no_sync_artifacts = None
   sdist.initialize_options(self)
Ejemplo n.º 22
0
    def initialize_options(self):
        self.no_sync_artifacts = None

        sdist.initialize_options(self)
Ejemplo 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
Ejemplo n.º 24
0
 def initialize_options(self):
     orig_sdist.initialize_options(self)
     self.strip_commit = False
Ejemplo 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)
Ejemplo n.º 26
0
 def initialize_options(self):
     self.no_make_ui_files = None
     sdist.initialize_options(self)
Ejemplo n.º 27
0
 def initialize_options(self):
   self.no_make_docs = None
   sdist.initialize_options(self)