Permalink
Browse files

Use paver

  • Loading branch information...
1 parent 0eb77de commit 8c4761dc3510d831bb8756e3ebcd45c5ee17ae47 Lukas Linhart committed Jun 2, 2011
Showing with 6 additions and 76 deletions.
  1. BIN paver-minilib.zip
  2. +6 −76 setup.py
View
Binary file not shown.
View
@@ -1,77 +1,7 @@
-# -*- coding: utf-8 -*-
-from setuptools import setup, find_packages
-
-VERSION = (0, 4, 0)
-__version__ = VERSION
-__versionstr__ = '.'.join(map(str, VERSION))
-
-setup(
- name = 'citools',
- version = __versionstr__,
- description = 'Coolection of plugins to help with building CI system',
- long_description = '\n'.join((
- 'CI Tools',
- '',
- 'Ultimate goal of CI system is to provide single "integration button"',
- 'to automagically do everything needed for creating a release',
- "(and ensure it's properly build version).",
- '',
- "This package provides a set of setuptools plugins (setup.py commands)",
- "to provide required functionality and make CI a breeze.",
- "Main aim of this project are Django-based applications, but it's usable",
- "for generic python projects as well.",
- )),
- author = 'centrum holdings s.r.o',
- author_email='devel@centrumholdings.com',
- license = 'BSD',
- url='http://github.com/ella/citools/tree/master',
-
- packages = find_packages(
- where = '.',
- exclude = ('docs', 'tests')
- ),
-
- include_package_data = True,
-
- classifiers=[
- "Development Status :: 3 - Alpha",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: BSD License",
- "Operating System :: OS Independent",
- "Programming Language :: Python :: 2.5",
- "Programming Language :: Python :: 2.6",
- "Topic :: Software Development :: Libraries :: Python Modules",
- ],
- entry_points = {
- 'console_scripts': [
- 'citools = citools.main:main',
- 'cthulhubot_force_build = citools.cthulhubot:force_build',
- ],
- 'distutils.commands' : [
- 'compute_version_git = citools.version:GitSetVersion',
- 'compute_version_meta_git = citools.version:GitSetMetaVersion',
- 'create_debianization = citools.debian:CreateDebianization',
- 'update_debian_version = citools.debian:UpdateDebianVersion',
- 'create_debian_package = citools.debian:CreateDebianPackage',
- 'create_debian_meta_package = citools.debian:CreateDebianMetaPackage',
- 'bdist_deb = citools.debian:BuildDebianPackage',
- 'update_dependency_versions = citools.debian:UpdateDependencyVersions',
- 'copy_dependency_images = citools.build:CopyDependencyImages',
- 'buildbot_ping_git = citools.buildbots:BuildbotPingGit',
- 'save_repository_information_git = citools.git:SaveRepositoryInformationGit',
- 'replace_templates = citools.build:ReplaceTemplateFiles',
- 'rename_template_files = citools.build:RenameTemplateFiles',
- ],
- "distutils.setup_keywords": [
- "dependencies_git_repositories = citools.version:validate_repositories",
- "buildbot_meta_master = citools.buildbots:validate_meta_buildbot",
- "template_files_directories = citools.build:validate_template_files_directories",
- ],
- },
- install_requires = [
- 'setuptools>=0.6b1',
- 'argparse>=0.9.0',
- 'pyparsing',
- ],
-)
+import os
+if os.path.exists("paver-minilib.zip"):
+ import sys
+ sys.path.insert(0, "paver-minilib.zip")
+import paver.tasks
+paver.tasks.main()

0 comments on commit 8c4761d

Please sign in to comment.