Python setuptools.command.build_py() Examples
The following are 11
code examples of setuptools.command.build_py().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
setuptools.command
, or try the search function
.
Example #1
Source File: setup.py From pyaaf2 with MIT License | 6 votes |
def run(self): setuptools.command.build_py.build_py.run(self) if self.dry_run: return target_file = os.path.join(self.build_lib, 'aaf2', "__init__.py") source_file = os.path.join(os.path.dirname(__file__), 'aaf2', "__init__.py") # get the base data from the original file with open(source_file, 'r') as fi: src_data = fi.read() # write that + the suffix to the target file with open(target_file, 'w') as fo: fo.write(src_data) fo.write(METADATA_TEMPLATE.format(**PROJECT_METADATA))
Example #2
Source File: setup.py From afnumpy with BSD 2-Clause "Simplified" License | 5 votes |
def run(self): self.create_version_file() setuptools.command.build_py.build_py.run(self)
Example #3
Source File: setup.py From inference with Apache License 2.0 | 5 votes |
def run(self): self.run_command('create_version') setuptools.command.build_py.build_py.run(self)
Example #4
Source File: setup.py From inference with Apache License 2.0 | 5 votes |
def run(self): self.run_command('build_py')
Example #5
Source File: setup.py From inference with Apache License 2.0 | 5 votes |
def run(self): self.run_command('create_version') setuptools.command.build_py.build_py.run(self)
Example #6
Source File: setup.py From inference with Apache License 2.0 | 5 votes |
def run(self): self.run_command('build_py')
Example #7
Source File: setup.py From probtorch with Apache License 2.0 | 5 votes |
def run(self): self.create_version_file() setuptools.command.build_py.build_py.run(self)
Example #8
Source File: setup.py From P2PaLA with GNU General Public License v3.0 | 5 votes |
def run(self): self.run_command("create_version_file") setuptools.command.build_py.build_py.run(self)
Example #9
Source File: setup.py From coala with GNU Affero General Public License v3.0 | 5 votes |
def run(self): if platform.system() != 'Windows': self.run_command('build_manpage') setuptools.command.build_py.build_py.run(self)
Example #10
Source File: setup.py From ANTsPy with Apache License 2.0 | 5 votes |
def run(self): self.run_command("build_ext") self.create_version_file() setuptools.command.build_py.build_py.run(self)
Example #11
Source File: setup.py From ANTsPy with Apache License 2.0 | 5 votes |
def run(self): self.run_command("build_py") return setuptools.command.install.install.run(self)