def run(self): # honor the --dry-run flag if not self.dry_run: curpath = os.path.dirname(os.path.realpath(__file__)) for root, dirs, files in os.walk(os.path.join(curpath,'default')): for file in files: if file.endswith(".conftemplate"): fpath = os.path.join(root, file) fileName, fileExtension = os.path.splitext(fpath) with open(fpath, 'r') as template: with open(fileName + '.conf', 'w') as conffile: conffile.write(template.read().replace('$version$', get_git_version())) # distutils uses old-style classes, so no super() sdist.run(self)
self.archive_files = archive_files if not self.keep_temp: dir_util.remove_tree(base_dir, dry_run=self.dry_run) def run(self): # honor the --dry-run flag if not self.dry_run: curpath = os.path.dirname(os.path.realpath(__file__)) for root, dirs, files in os.walk(os.path.join(curpath,'default')): for file in files: if file.endswith(".conftemplate"): fpath = os.path.join(root, file) fileName, fileExtension = os.path.splitext(fpath) with open(fpath, 'r') as template: with open(fileName + '.conf', 'w') as conffile: conffile.write(template.read().replace('$version$', get_git_version())) # distutils uses old-style classes, so no super() sdist.run(self) setup( cmdclass={'sdist': my_build_py}, name="alert_manager", version = get_git_version(), description='Extended Splunk Alert Manager with advanced reporting on alerts, workflows (modify owner, status, severity) and auto-resolve features', url='https://github.com/simcen/alert_manager', author='Simon Balz, Mika Borner', author_email='[email protected], [email protected]', packages=['bin'], setup_requires=['nose', 'nose-exclude', 'coverage', 'unittest2'], include_package_data=True )
if not self.keep_temp: dir_util.remove_tree(base_dir, dry_run=self.dry_run) def run(self): # honor the --dry-run flag if not self.dry_run: curpath = os.path.dirname(os.path.realpath(__file__)) for root, dirs, files in os.walk(os.path.join(curpath,'default')): for file in files: if file.endswith(".conftemplate"): fpath = os.path.join(root, file) fileName, fileExtension = os.path.splitext(fpath) with open(fpath, 'r') as template: with open(fileName + '.conf', 'w') as conffile: conffile.write(template.read().replace('$version$', get_git_version())) # distutils uses old-style classes, so no super() sdist.run(self) setup( cmdclass={'sdist': my_build_py}, name="alert_manager", version = get_git_version(), description='Extended Splunk Alert Manager with advanced reporting on alerts, workflows (modify owner, status, severity) and auto-resolve features', url='https://github.com/simcen/alert_manager', author='Simon Balz, Mika Borner', author_email='[email protected], [email protected]', packages=['bin'], setup_requires=['nose', 'nose-exclude', 'coverage', 'unittest2'], include_package_data=True )
#!/usr/bin/python import os import sys from setuptools import setup import git_version as gv # If using virtualenv we don't want to install # to /usr/ which would break the install so use # sys.exec_prefix instead doc_install_root = sys.exec_prefix + '/share/doc' setup( name="rubber", version=gv.get_git_version(), description="an automated system for building LaTeX documents", long_description="""\ This is a building system for LaTeX documents. It is based on a routine that runs just as many compilations as necessary. The module system provides a great flexibility that virtually allows support for any package with no user intervention, as well as pre- and post-processing of the document. The standard modules currently provide support for bibtex, dvips, dvipdfm, pdftex, makeindex. A good number of standard packages are supported, including graphics/graphicx (with automatic conversion between various formats and Metapost compilation).\ """, author="Emmanuel Beffara", author_email="*****@*****.**", url="http://rubber.sourceforge.net/", license="GPL", packages=["rubber", "rubber.converters", "rubber.latex_modules"], package_data={
#!/usr/bin/python import os import sys from setuptools import setup import git_version as gv # If using virtualenv we don't want to install # to /usr/ which would break the install so use # sys.exec_prefix instead doc_install_root = sys.exec_prefix + "/share/doc" setup( name="rubber", version=gv.get_git_version(), description="an automated system for building LaTeX documents", long_description="""\ This is a building system for LaTeX documents. It is based on a routine that runs just as many compilations as necessary. The module system provides a great flexibility that virtually allows support for any package with no user intervention, as well as pre- and post-processing of the document. The standard modules currently provide support for bibtex, dvips, dvipdfm, pdftex, makeindex. A good number of standard packages are supported, including graphics/graphicx (with automatic conversion between various formats and Metapost compilation).\ """, author="Emmanuel Beffara", author_email="*****@*****.**", url="http://rubber.sourceforge.net/", license="GPL", packages=["rubber", "rubber.converters", "rubber.latex_modules"], package_data={