def setup_options(options): try: from setup import build_info except ImportError: sys.path.append(ROOT) from setup import build_info setup(**build_info)
def setup_options(): import setuptools from paver.setuputils import setup readme_md = os.path.join(os.path.dirname(__file__), 'README.md') with open(readme_md, 'r') as readme_file: readme = readme_file.read() setup( name='{{ cookiecutter.repo_name }}', version='{{ cookiecutter.version }}', version=find_version('{{cookiecutter.repo_name}}/__init__.py'), description='{{ cookiecutter.project_short_description }}', long_description=readme, author='{{ cookiecutter.full_name }}', author_email='{{ cookiecutter.email }}', packages=[ packages=setuptools.find_packages( include=[ '{{ cookiecutter.repo_name }}', '{{ cookiecutter.repo_name }}.*', ], ), ], include_package_data=True, install_requires=[ ], zip_safe=False, )
def setup_options(): from paver.setuputils import setup import setuptools setup( name='sett', version=find_version('sett/__init__.py'), packages=setuptools.find_packages( include=[ 'sett', 'sett.*', ], exclude=[ ] ), url='https://github.org/cecedille1/sett', author=u'Grégoire ROCHER', author_email='*****@*****.**', install_requires=parse_requirements('requirements.txt'), include_package_data=True, )
def setup_options(): import setuptools from paver.setuputils import setup readme_md = os.path.join(os.path.dirname(__file__), 'README.md') with open(readme_md, 'r') as readme_file: readme = readme_file.read() setup( name='django_exec', version=find_version('django_exec/__init__.py'), description='Exec management command', long_description=readme, author='Grégoire ROCHER', author_email='*****@*****.**', packages=setuptools.find_packages(exclude=[ '*.tests', '*.tests.*', ]), include_package_data=True, install_requires=parse_requirements('requirements.txt'), zip_safe=False, )
def setup_options(): from paver.setuputils import setup with open('README.rst') as reame_rst: readme = reame_rst.read() setup( name='pdf_generator', version=find_version('pdf_generator/__init__.py'), description='PDF Generation utils', long_description=readme, author=u'Grégoire ROCHER', author_email='*****@*****.**', packages=[ 'pdf_generator', ], include_package_data=True, install_requires=parse_requirements('requirements.txt'), zip_safe=False, keywords='pdf_generator', classifiers=[ ], test_suite='tests', )
], setup_requires = [ 'Paver', 'Paved', ], tests_require = [ 'nose', ], ) setup( name = "Stillness", version = "0.1", url = "http://pypi.python.org/pypi/Stillness/", author = "David Eyk", author_email = "*****@*****.**", license = 'BSD', description = 'A static asset management framework for stressed webmasters with deadlines.', long_description = open('README.rst').read(), packages = ['stillness'], include_package_data = True, install_requires = options.install_requires, setup_requires = options.setup_requires, tests_require = options.tests_require, test_suite = "nose.collector", )
] entry_points=""" # -*- Entry points: -*- """ # compatible with distutils of python 2.3+ or later setup( name='rapidsms-xforms-builder', version=version, description='Provides an interactive form builder and xform compatibility for RapidSMS.', long_description=open('README.rst', 'r').read(), classifiers=classifiers, keywords='rapidsms xforms', author='Nic Pottier', author_email='*****@*****.**', url='', license='BSD', packages = find_packages(exclude=['bootstrap', 'pavement',]), include_package_data=True, test_suite='nose.collector', zip_safe=False, install_requires=install_requires, entry_points=entry_points, ) options( # -*- Paver options: -*- minilib=Bunch( extra_files=[ # -*- Minilib extra files: -*- ]
from paver.easy import * from paver.path import path from paver.setuputils import setup setup( name="actionscript-bundler", scripts=['as3bundler.py'], version="0.1", author="Travis Parker", author_email="*****@*****.**" ) @task @needs('generate_setup', 'minilib', 'setuptools.command.sdist') def sdist(): pass @task def clean(): for p in map(path, ('actionscript_bundler.egg-info', 'dist', 'setup.py', 'paver-minilib.zip', 'build')): if p.exists(): if p.isdir(): p.rmtree() else: p.remove()
print("~~~ TESTING SOURCE BUILD".ljust(78, '~')) sh("{ command cd dist/ && unzip -q %s-%s.zip && command cd %s-%s/" " && /usr/bin/python setup.py sdist >/dev/null" " && if { unzip -ql ../%s-%s.zip; unzip -ql dist/%s-%s.zip; }" " | cut -b26- | sort | uniq -c| egrep -v '^ +2 +' ; then" " echo '^^^ Difference in file lists! ^^^'; false;" " else true; fi; } 2>&1" % tuple([project["name"], version] * 4)) path("dist/%s-%s" % (project["name"], version)).rmtree() print("~" * 78) print() print("~~~ sdist vs. git ".ljust(78, '~')) subprocess.call( "unzip -v dist/pyrocore-*.zip | egrep '^ .+/' | cut -f2- -d/ | sort >./build/ls-sdist.txt" " && git ls-files | sort >./build/ls-git.txt" " && $(which colordiff || echo diff) -U0 ./build/ls-sdist.txt ./build/ls-git.txt || true", shell=True) print("~" * 78) print() print("Created", " ".join([str(i) for i in path("dist").listdir()])) print("Use 'paver sdist bdist_wheel' to build the release and") print(" 'twine upload dist/*.{zip,whl}' to upload to PyPI") print("Use 'paver dist_docs' to prepare an API documentation upload") # # Main # setup(**project)
setup(name = 'robotframework-ride', version = VERSION, description = 'RIDE :: Robot Framework Test Data Editor', long_description =""" Robot Framework is a generic test automation framework for acceptance level testing. RIDE is a lightweight and intuitive editor for Robot Framework test data. """.strip(), license = 'Apache License 2.0', keywords = 'robotframework testing testautomation', platforms = 'any', classifiers = """ Development Status :: 5 - Production/Stable License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python Topic :: Software Development :: Testing """.strip().splitlines(), author = 'Robot Framework Developers', author_email = 'robotframework-devel@googlegroups,com', url = 'https://github.com/robotframework/RIDE/', download_url = 'https://github.com/robotframework/RIDE/downloads/', package_dir = {'' : str(SOURCE_DIR)}, packages = find_packages(str(SOURCE_DIR)) + \ ['robotide.lib.%s' % str(name) for name in find_packages(str(LIB_SOURCE))], package_data = find_package_data(str(SOURCE_DIR)), # Robot Framework package data is not included, but RIDE does not need it. # # Always install everything, since we may be switching between versions options = { 'install': { 'force' : True } }, scripts = ['src/bin/ride.py', 'ride_postinstall.py'], install_requires = ['Pygments'] )
setup( name = 'rpghrac', version = __versionstr__, description = 'RPG hrac', long_description = '\n'.join(( 'RPG hrac', '', )), author = 'Almad', author_email='*****@*****.**', license = 'BSD', packages = find_packages( where = '.', exclude = ('docs', 'tests') ), include_package_data = True, classifiers = [ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Framework :: Django', ], setup_requires = [ 'setuptools_dummy', ], install_requires = [ 'setuptools>=0.6b1', ], )
from paver.easy import task, needs, path, sh, cmdopts, options from paver.setuputils import setup, install_distutils_tasks from distutils.extension import Extension from distutils.dep_util import newer sys.path.insert(0, path('.').abspath()) import version setup( name='arduino-library-template', version=version.getVersion(), description='Simple C classes for arrays of standard numeric types.', keywords='c++ array simple', author='Christian Fobel', author_email='*****@*****.**', url='https://github.com/wheeler-microfluidics/arduino-library-template', license='GPL', packages=[ 'arduino_library_template', ], # Install data listed in `MANIFEST.in` include_package_data=True) @task def build_arduino_library(): import os import tarfile arduino_lib_dir = path('arduino_library_template').joinpath('lib') if not arduino_lib_dir.isdir():
from paver.easy import task, sh, consume_nargs from paver.setuputils import setup import multiprocessing setup( name="Python Automation", version="0.0.1", author="Thiago Werner", author_email="*****@*****.**", description=("Python Automation: Python + Behave + Appium"), license="ArcTouch", keywords="brief appium structure", url="https://github.com/arctouch/python-automation", packages=['features'] ) def run_behave_test(devices, task_id=0): sh('TASK_ID=%s behave -n \'Accessing Sign In screen link texts\' -D device=\"%s\"' % (task_id, devices)) @task @consume_nargs() def run(args): if args[0] in ('single', 'local'): # TODO # run_behave_test(args[0], args[0]) pass else: jobs = [] devices = list(args[1:])
from paver.easy import task, needs, path from paver.setuputils import setup, find_package_data sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) import version avr_helpers_files = find_package_data(package='avr_helpers', where='avr_helpers', only_in_packages=False) pprint(avr_helpers_files) setup(name='avr_helpers', version=version.getVersion(), description='Minimal tool-set for flashing bit-streams to AVR ' 'micro-controllers.', author='Christian Fobel', author_email='*****@*****.**', url='http://github.com/wheeler-microfluidics/avr_helpers.git', license='GPLv2', packages=['avr_helpers'], package_data=avr_helpers_files, install_requires=['path_helpers', 'serial_device']) @task @needs('generate_setup', 'minilib', 'setuptools.command.sdist') def sdist(): """Overrides sdist to make sure that our setup.py is generated.""" pass
from paver.setuputils import setup from paver.setuputils import find_package_data from paver.easy import * setup( name="pypsd", packages=['pypsd'], package_data=find_package_data('pypsd', 'pypsd', only_in_packages=False), version="0.1.3", url="http://code.google.com/p/pypsd", author="Aleksandr Motsjonov", author_email="*****@*****.**", ) @task @needs('setuptools.command.sdist') def sdist(): """Overrides sdist to make sure that our setup.py is generated.""" pass
# -*- coding: utf-8 -*- from paver.easy import task, sh, needs, path from paver.setuputils import setup setup(name='ldapom', version='0.9.2', description='A simple ldap object mapper for python', author='Florian Richter', author_email='*****@*****.**', url='https://github.com/HaDiNet/ldapom', license='MIT', keywords = "ldap object mapper", long_description=path('README').text(), py_modules=['ldapom'], ) @task def docs(options): sh('doxygen') @task def test(options): sh('python tests.py') @task def coverage(options): sh('coverage run --source ldapom.py ./tests.py') sh('coverage xml')
import errno import os from setuptools import Extension from paver.easy import * from paver.path import path from paver.setuputils import setup setup(name="gogreen", description="Coroutine utilities for non-blocking I/O with greenlet", version="1.0.1", license="bsd", author="Libor Michalek", author_email="*****@*****.**", packages=["gogreen"], classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: Unix", "Programming Language :: Python", "Topic :: System :: Networking", ]) MANIFEST = ( "LICENSE", "setup.py", "paver-minilib.zip", )
__version__ = VERSION __versionstr__ = ".".join(map(str, VERSION)) setup( name="ella", version=__versionstr__, description="Ella Django CMS Project", long_description="\n".join(("Ella Django CMS Project", "", "content management system written in django", "")), author="centrum holdings s.r.o", author_email="*****@*****.**", license="BSD", url="http://git.netcentrum.cz/projects/content/GIT/ella.git/", packages=find_packages(where=".", exclude=("docs", "tests")), include_package_data=True, classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Framework :: Django", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules", ], install_requires=["setuptools>=0.6b1"], setup_requires=["setuptools_dummy"], buildbot_meta_master={"host": "rlyeh.cnt-cthulhubot.dev.chservices.cz", "port": 12018, "branch": "automation"}, ) options(citools=Bunch(rootdir=abspath(dirname(__file__)), project_module="ella"))
signal_generator_board_rpc_files = find_package_data( package='signal_generator_board_rpc', where='signal_generator_board_rpc', only_in_packages=False) pprint(signal_generator_board_rpc_files) PROTO_PREFIX = 'commands' DEFAULT_ARDUINO_BOARDS = ['uno'] setup(name='wheeler.signal_generator_board_rpc', version=version.getVersion(), description='Arduino RPC node packaged as Python package.', author='Christian Fobel', author_email='*****@*****.**', url='http://github.com/wheeler-microfluidics/signal_generator_board_rpc.git', license='GPLv2', install_requires=['arduino_rpc'], packages=['signal_generator_board_rpc'], package_data=signal_generator_board_rpc_files) @task def generate_command_code(): code_generator = CodeGenerator(get_sketch_directory().joinpath('Node.h'), disable_i2c=getattr(options, 'disable_i2c', False)) definition_str = code_generator.get_protobuf_definitions() output_dir = package_path().joinpath('protobuf').abspath() output_file = output_dir.joinpath('%s.proto' % PROTO_PREFIX)
else: test_requirements = ['pytest', 'mock'] setup( name="scm-cli", version=VERSION, author="Doug Royal", author_email="*****@*****.**", description= ("A command line interface to various source control services, such as github, bitbucket, etc." ), license="BSD", keywords="source controll", url="http://code.grumbleofnerds.com/scm-cli", packages=find_packages(exclude=['tests']), long_description=open('README.rst').read(), install_requires=requirements, setup_requires=dev_requirements, tests_require=test_requirements, entry_points={'console_scripts': ['scm = scm_cli.scm:main']}, classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'Topic :: Software Development :: Version Control', 'License :: OSI Approved :: BSD License', ], ) @task
from opencv_helpers.safe_cv import cv2 except ImportError: print >> sys.stderr, ('Please install OpenCV Python bindings using ' 'your systems package manager.') try: import gst except ImportError: print >> sys.stderr, ('Please install GStreamer Python bindings using ' 'your systems package manager.') setup(name='dmf-device-ui', version=version.getVersion(), description='Device user interface for Microdrop digital microfluidics ' '(DMF) control software.', keywords='', author='Christian Fobel', author_email='*****@*****.**', url='https://github.com/wheeler-microfluidics/dmf-device-ui', license='LGPLv2.1', install_requires=install_requires, packages=['dmf_device_ui'], # Install data listed in `MANIFEST.in` include_package_data=True) @task @needs('generate_setup', 'minilib', 'setuptools.command.sdist') def sdist(): """Overrides sdist to make sure that our setup.py is generated.""" pass
from paver.easy import * from paver.release import setup_meta import paver.doctools import paver.virtual import paver.misctasks from paver.setuputils import setup options = environment.options setup(**setup_meta) options(minilib=Bunch(extra_files=['doctools', 'virtual'], versioned_name=False, extra_packages=['six']), sphinx=Bunch(builddir="build", sourcedir="source"), virtualenv=Bunch(packages_to_install=[ "nose", "Sphinx>=0.6b1", "docutils", "virtualenv", "six" ], install_paver=False, script_name='bootstrap.py', paver_command_line=None, dest_dir="virtualenv"), cog=Bunch(includedir="docs/samples", beginspec="<==", endspec="==>", endoutput="<==end==>")) # not only does paver bootstrap itself, but it should work even with just # distutils
from paver.easy import task, needs from paver.setuputils import setup, install_distutils_tasks import version setup(name='protobuf_helpers', version=version.getVersion(), description='Helper functions and classes for the `protobuf` package, ' 'providing, e.g., automatic generation of RPC message types based on a ' 'C++ class definition from a header file.', keywords='c++ clang introspection protobuf rpc', author='Christian Fobel', url='https://github.com/wheeler-microfluidics/protobuf_helpers', license='GPL', install_requires=['clang_helpers'], packages=[ 'protobuf_helpers', ], package_data={'protobuf_helpers': ['bin/*']}) @task @needs('generate_setup', 'minilib', 'setuptools.command.sdist') def sdist(): """Overrides sdist to make sure that our setup.py is generated.""" pass
setup( name="Unball", version=unball.__version__, description="'Do what I mean' archive commands for your shell", long_description=""" Simple console wrappers which handle decisions like "what format is it in?" and "Do I need to create a folder for it?" for you. """, # TODO: Rewrite this when I finish making this an API with # console reference implementations. author="Stephan Sokolow (deitarion/SSokolow)", author_email="http://www.ssokolow.com/ContactMe", # No spam harvesting url='https://github.com/ssokolow/unball', license="License :: OSI Approved :: GNU General Public License (GPL)", classifiers=[ "Environment :: Console", "Intended Audience :: End Users/Desktop", "Intended Audience :: System Administrators", # "Intended Audience :: Developers", # TODO: For when I finish the API rework. "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: POSIX", #"Operating System :: OS Independent", # TODO: For when the stdlib-based zip/tar support is ready. "Programming Language :: Python", #TODO: Add support for Python 3 and an appropriate classifier "Topic :: System :: Archiving", "Topic :: Utilities", ], packages=['unball'], scripts=['src/moveToZip'], #TODO: Forget setuptools. Just replace this with a stub script. entry_points={ 'console_scripts': [ 'unball = unball.main:main_func', ], }, data_files=[('share/man/man1', ['build/man/unball.1']), ('share/apps/konqueror/servicemenus', [ 'src/servicemenus/unball.desktop', 'src/servicemenus/moveToZip.desktop' ]), ('libexec/thunar-archive-plugin', ['src/unball.tap'])], cmdclass={'build_manpage': _build_manpage}, test_suite='run_test.get_tests', options={ 'build_manpage': { 'output': 'build/man/unball.1', 'parser': 'unball:get_opt_parser', }, }, )
# Tox doesn't have the Paver dependency at this point try: import paver except ImportError: sys.path.insert(0, os.path.join('deps', 'paver-minilib.zip')) from paver.easy import * from paver.setuputils import setup from device import meta setup( name=meta.name, packages=('device',), version=meta.version, author='Jacob Oscarson', author_email='*****@*****.**', install_requires=open(os.path.join('deps', 'install.txt')).readlines() ) @task def virtualenv(): "Prepares a checked out directory for development" if not os.path.exists(os.path.join('bin', 'pip')): sys.path.insert(0, os.path.join('deps', 'virtualenv.zip')) import virtualenv virtualenv.create_environment('.') else: print('Virtualenv already set up')
with open("requirements.txt", "r") as inp: for line in inp: (lhs, delim, package) = line.strip().rpartition("#egg=") if lhs: dependency_links.append( lhs.partition("-e")[2].strip() + delim + package) (pkg_name, _, pkg_version) = package.partition("-") package = pkg_name + "==" + pkg_version if package.startswith("numpy"): setup_requirements.append(package) install_requirements.append(package) setup(description="Project YOMP", dependency_links=dependency_links, install_requires=install_requirements, setup_requires=setup_requirements, name="YOMP", packages=find_packages(), include_package_data=True, version=version["__version__"]) YOMP_HOME = os.path.abspath(os.path.dirname(__file__)) def getOrCreateYOMPId(): YOMPIdPath = "%s/conf/.YOMP_id" % YOMP_HOME if os.path.exists(YOMPIdPath): with open(YOMPIdPath, "r") as YOMPIdFile: return YOMPIdFile.read() else: newYOMPId = uuid.uuid4().hex with open(YOMPIdPath, "w") as YOMPIdFile:
from paver.easy import * from paver.setuputils import setup import threading, os, platform setup(name="behave-browserstack", version="0.1.0", author="BrowserStack", author_email="*****@*****.**", description=("Behave Integration with BrowserStack"), license="MIT", keywords="example appium browserstack", url="https://github.com/browserstack/behave-appium-app-browserstack", packages=['features']) def run_behave_test(config, feature, task_id=0): if platform.system() == 'Windows': sh('SET CONFIG_FILE=config/%s.json & SET TASK_ID=%s & behave features/%s.feature' % (config, task_id, feature)) else: sh('export CONFIG_FILE=config/%s.json && export TASK_ID=%s && behave features/%s.feature' % (config, task_id, feature)) @task @consume_nargs(1) def run(args): """Run single, local and parallel test using different config.""" if args[0] in ('single', 'local'): run_behave_test(args[0], args[0]) else:
# [[[section imports]]] from paver.easy import * import paver.doctools from paver.setuputils import setup # [[[endsection]]] # [[[section setup]]] setup(name="TheNewWay", packages=['newway'], version="1.0", url="http://www.blueskyonmars.com/", author="Kevin Dangoor", author_email="*****@*****.**") # [[[endsection]]] # [[[section sphinx]]] options(sphinx=Bunch(builddir="_build")) # [[[endsection]]] # [[[section deployoptions]]] options(deploy=Bunch(htmldir=path('newway/docs'), hosts=['host1.hostymost.com', 'host2.hostymost.com'], hostpath='sites/newway')) # [[[endsection]]] # [[[section minilib]]] options(minilib=Bunch(extra_files=["doctools"], versioned_name=False)) # [[[endsection]]] # [[[section sdist]]]
setup(name = 'robotframework-ride', version = VERSION, description = 'RIDE :: Robot Framework Test Data Editor', long_description =""" Robot Framework is a generic test automation framework for acceptance level testing. RIDE is a lightweight and intuitive editor for Robot Framework test data. """.strip(), license = 'Apache License 2.0', keywords = 'robotframework testing testautomation', platforms = 'any', classifiers = """ Development Status :: 5 - Production/Stable License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python Topic :: Software Development :: Testing """.strip().splitlines(), author = 'Robot Framework Developers', author_email = '*****@*****.**', url = 'https://github.com/robotframework/RIDE/', download_url = 'https://github.com/robotframework/RIDE/releases/', package_dir = {'' : str(SOURCE_DIR)}, packages = find_packages(str(SOURCE_DIR)), package_data = find_package_data(str(SOURCE_DIR)), # Robot Framework package data is not included, but RIDE does not need it. # # Always install everything, since we may be switching between versions options = { 'install': { 'force' : True } }, scripts = ['src/bin/ride.py', 'ride_postinstall.py'], install_requires = ['Pygments'] )
setup( name='bcolz', version=VERSION, description='A columnar and compressed data container.', long_description="""\ bcolz is a columnar and compressed data container. Column storage allows for efficiently querying tables with a large number of columns. It also allows for cheap addition and removal of column. In addition, bcolz objects are compressed by default for reducing memory/disk I/O needs. The compression process is carried out internally by Blosc, a high-performance compressor that is optimized for binary data. """, classifiers=filter(None, classifiers.split("\n")), author='Francesc Alted', author_email='*****@*****.**', url="https://github.com/Blosc/bcolz", license='http://www.opensource.org/licenses/bsd-license.php', # It is better to upload manually to PyPI #download_url = "http://bcolz.blosc.org/download/bcolz-%s/bcolz-%s.tar # .gz" % (VERSION, VERSION), platforms=['any'], ext_modules=[ Extension("bcolz.carray", include_dirs=inc_dirs, sources=cython_cfiles + blosc_files, depends=["bcolz/definitions.pxd"] + blosc_files, library_dirs=lib_dirs, libraries=libs, extra_link_args=LFLAGS, extra_compile_args=CFLAGS), ], packages=['bcolz', 'bcolz.tests'], include_package_data=True, )
'pyyaml', 'coverage==3.6', 'tornado==3.2' ] # # Setuptools configuration, used to create python .eggs and such. # See: http://bashelton.com/2009/04/setuptools-tutorial/ for a nice # setuptools tutorial. # setup( name='rest_api', version="0.1", # packaging infos package_data={'': ['*.yaml', '*.html', '*.css', '*.js']}, packages=find_packages(exclude=['test', 'test.*']), # dependency infos install_requires=install_requires, entry_points={ 'console_scripts': [ 'rest_api = app.lib.main:main' ] }, zip_safe=False )
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='*****@*****.**', license = 'BSD', url='http://github.com/ella/citools/tree/master', test_suite = 'nose.collector', 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', ], "distutils.setup_keywords": [ "dependencies_git_repositories = citools.version:validate_repositories", "buildbot_meta_master = citools.buildbots:validate_meta_buildbot", ], }, install_requires = [ 'setuptools>=0.6b1', 'argparse>=0.9.0', 'pyparsing', ], )
setup( name="pyload", version="0.4.9", description='Fast, lightweight and full featured download manager.', long_description=open(PROJECT_DIR / "README").read(), keywords=('pyload', 'download-manager', 'one-click-hoster', 'download'), url="http://pyload.org", download_url='http://pyload.org/download', license='GPL v3', author="pyLoad Team", author_email="*****@*****.**", platforms=('Any', ), #package_dir={'pyload': 'src'}, packages=['pyload'], #package_data=find_package_data(), #data_files=[], include_package_data=True, exclude_package_data={'pyload': ['docs*', 'scripts*', 'tests*']}, #exluced from build but not from sdist # 'bottle >= 0.10.0' not in list, because its small and contain little modifications install_requires=[ 'thrift >= 0.8.0', 'jinja2', 'pycurl', 'Beaker', 'BeautifulSoup>=3.2, <3.3' ] + extradeps, extras_require={ 'SSL': ["pyOpenSSL"], 'DLC': ['pycrypto'], 'lightweight webserver': ['bjoern'], 'RSS plugins': ['feedparser'], }, #setup_requires=["setuptools_hg"], entry_points={ 'console_scripts': ['pyLoadCore = pyLoadCore:main', 'pyLoadCli = pyLoadCli:main'] }, zip_safe=False, classifiers=[ "Development Status :: 5 - Production/Stable", "Topic :: Internet :: WWW/HTTP", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python :: 2" ])
import sys from paver.easy import task, needs, path, sh, cmdopts, options from paver.setuputils import setup, install_distutils_tasks from distutils.extension import Extension from distutils.dep_util import newer sys.path.insert(0, path('.').abspath()) import version setup(name='arduino-servo', version=version.getVersion(), description='Simple C classes for arrays of standard numeric types.', keywords='c++ array simple', author='Christian Fobel', author_email='*****@*****.**', url='https://github.com/wheeler-microfluidics/arduino-servo', license='GPL', packages=['arduino_servo', ], # Install data listed in `MANIFEST.in` include_package_data=True) @task def build_arduino_library(): import os import tarfile arduino_lib_dir = path('arduino_servo').joinpath('lib') if not arduino_lib_dir.isdir(): arduino_lib_dir.mkdir()
setup( name="carray", version=VERSION, description="A chunked data container that can be compressed in-memory.", long_description="""\ carray is a chunked container for numerical data. Chunking allows for efficient enlarging/shrinking of data container. In addition, it can also be compressed for reducing memory needs. The compression process is carried out internally by Blosc, a high-performance compressor that is optimized for binary data.""", classifiers=filter(None, classifiers.split("\n")), author="Francesc Alted", author_email="*****@*****.**", url="https://github.com/FrancescAlted/carray", license="http://www.opensource.org/licenses/bsd-license.php", download_url="http://carray.pytables.org/download/carray-%s/carray-%s.tar.gz" % (VERSION, VERSION), platforms=["any"], ext_modules=[ Extension( "carray.carrayExtension", include_dirs=inc_dirs, sources=cython_cfiles + blosc_files, depends=["carray/definitions.pxd"] + blosc_files, library_dirs=lib_dirs, libraries=libs, extra_link_args=LFLAGS, extra_compile_args=CFLAGS, ) ], packages=["carray", "carray.tests"], include_package_data=True, )
from setuptools import find_packages VERSION = (0, 1, 4) __version__ = VERSION __versionstr__ = '.'.join(map(str, VERSION)) setup( name = 'djangomarkup', version = __versionstr__, description = 'Support for various markup languages in Django applications', long_description = '\n'.join(( '(TODO)', )), author = 'centrum holdings s.r.o', license = 'BSD', packages = find_packages( where = '.', exclude = ('docs', 'tests') ), include_package_data = True, ) options( citools = Bunch( rootdir = abspath(dirname(__file__)) ), )
pip_command = os.path.join(os.path.dirname(sys.executable), "pip") setup( name='gnrpy', version='0.9', author='Softwell S.a.s.', url='http://www.genropy.org/', author_email='*****@*****.**', license='LGPL', scripts=[ '../scripts/gnrdbsetup', '../scripts/gnrmkinstance', '../scripts/gnrmkthresource', '../scripts/gnrmksite', '../scripts/gnrxml2py', '../scripts/gnrheartbeat', '../scripts/gnrmkpackage', '../scripts/gnrwsgiserve', '../scripts/gnruwsgiserve', '../scripts/gnrmkapachesite', '../scripts/gnrdaemon', '../scripts/gnrsql2py', '../scripts/gnrsendmail', '../scripts/gnrsitelocalize', '../scripts/gnrdbsetupparallel', '../scripts/gnrtrdaemon', '../scripts/gnrsync4d', '../scripts/gnrmkproject', '../scripts/gnrdbstruct', '../scripts/gnrdbgraph', '../scripts/gnrwsgi' ], packages=['gnr', 'gnr.core', 'gnr.app', 'gnr.web', 'gnr.sql'], data_files=data_files, install_requires=[ 'pip' ], # NOTE: real requirements are now handled by pip and are in requirements.txt zip_safe=False, extras_require=dict(postgres=['psycopg2'], pg8000=['pg8000'], sqlite=['pysqlite']))
# -*- coding: utf-8 -*- # This technical data was produced for the U. S. Government under Contract No. W15P7T-13-C-F600, and # is subject to the Rights in Technical Data-Noncommercial Items clause at DFARS 252.227-7014 (FEB 2012) import os import sys import time from paver.easy import * from paver.setuputils import setup sys.path.append(os.path.dirname(os.path.realpath(__file__))) setup(name="sodo", packages=['sodo'], version='0.0.0.2', url="", author="Site Admin", author_email="admin@localhost") @task def install_dependencies(): """ Installs dependencies.""" sh('pip install --upgrade -r sodo/requirements.txt') @cmdopts([ ('fixture=', 'f', 'Fixture to install"'), ]) @task def install_fixture(options):
if not _PVER >= '1.0': raise RuntimeError("paver version >= 1.0 required (was %s)" % _PVER) except ImportError, e: raise RuntimeError("paver version >= 1.0 required") import paver import paver.doctools from paver.easy import Bunch, options, task, needs, dry, sh from paver.setuputils import setup import common setup( name=common.DISTNAME, namespace_packages=['scikits'], packages=setuptools.find_packages(), install_requires=common.INSTALL_REQUIRE, version=common.VERSION, include_package_data=True, ) options(sphinx=Bunch(builddir="build", sourcedir="src"), virtualenv=Bunch(script_name="install/bootstrap.py")) def macosx_version(): st = subprocess.Popen(["sw_vers"], stdout=subprocess.PIPE) out = st.stdout.readlines() import re ver = re.compile("ProductVersion:\s+([0-9]+)\.([0-9]+)\.([0-9]+)") for i in out: m = ver.match(i)
from http import client as http from urllib.request import urlretrieve except ImportError: from urllib import urlretrieve import httplib as http setup( name='neo4jdb', version='0.0.8', author='Jacob Hansson', author_email='*****@*****.**', packages=find_packages(), py_modules=['setup'], include_package_data=True, install_requires=[], url='https://github.com/jakewins/neo4jdb-python', description='DB API 2.0 driver for the Neo4j graph database.', long_description=open('README.rst').read(), classifiers=[ 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', ], ) BUILD_DIR = 'build' NEO4J_VERSION = '2.3.1' DEFAULT_USERNAME = '******' DEFAULT_PASSWORD = '******'
setup( name='FlexGet', version='1.2', # our tasks append the .1234 (current build number) to the version number description='FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) ' 'from different sources like RSS-feeds, html-pages, various sites and more.', long_description=long_description, author='Marko Koivusalo', author_email='*****@*****.**', license='MIT', url='http://flexget.com', download_url='http://download.flexget.com', install_requires=install_requires, packages=find_packages(exclude=['tests']), package_data=find_package_data('flexget', package='flexget', exclude=['FlexGet.egg-info', '*.pyc'], only_in_packages=False), # NOTE: the exclude does not seem to work zip_safe=False, test_suite='nose.collector', extras_require={ 'memusage': ['guppy'], 'NZB': ['pynzb'], 'TaskTray': ['pywin32'], 'webui': ['flask>=0.7', 'cherrypy'] }, entry_points=entry_points, classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] )
# Provide an alternate exe on windows which does not cause a pop-up when scheduled if sys.platform.startswith('win'): entry_points['gui_scripts'].append('flexget-headless = flexget:main') setup( name='FlexGet', version='1.0', # our tasks append the r1234 (current svn revision) to the version number description='FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more.', author='Marko Koivusalo', author_email='*****@*****.**', license='MIT', url='http://flexget.com', install_requires=install_requires, packages=find_packages(exclude=['tests']), package_data=find_package_data('flexget', package='flexget', exclude=['FlexGet.egg-info', '*.pyc'], only_in_packages=False), # NOTE: the exclude does not seem to work zip_safe=False, test_suite='nose.collector', setup_requires=['nose>=0.11'], extras_require={ 'memusage': ['guppy'], 'NZB': ['pynzb'], 'TaskTray': ['pywin32'], }, entry_points=entry_points ) options( minilib=Bunch( extra_files=['virtual', 'svn']
setup( name="SchevoGtk", version=VERSION, description="Schevo tools for PyGTK", long_description=dedent( """ Provides integration between Schevo_ and PyGTK_. .. _Schevo: http://schevo.org/ .. _PyGTK: http://pygtk.org/ You can also get the `latest development version <http://github.com/gldnspud/schevogtk/zipball/master#egg=SchevoGtk-dev>`__. """ ), classifiers=[ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Database :: Database Engines/Servers", "Topic :: Software Development :: Libraries :: " "Application Frameworks", ], keywords="database dbms", author="ElevenCraft Inc.", author_email="*****@*****.**", url="http://www.schevo.org/", license="MIT", packages=find_packages(exclude=["doc", "tests"]), include_package_data=True, package_data={"": ["*.glade"]}, zip_safe=False, install_requires=["Schevo == dev, >= 3.1.0dev-20090919", "kiwi == 1.9.26", "Gazpacho == 0.7.2"], dependency_links=["http://schevo.org/eggs/"], tests_require=["nose >= 0.10.4"], test_suite="nose.collector", entry_points=""" [schevo.schevo_command] gnav = schevogtk2.script:start """, )
from paver.setuputils import setup setup( name = "pkgdemo", packages = ["pkgdemo"], version = "1.0", author = "Austin Marshall", package_data = { "pkgdemo": [ "assets/*.txt", "assets/css/*.css", "assets/js/*.js" ] }, zip_safe=False, entry_points = { "console_scripts": [ "pkgdemo = pkgdemo.actions:main", "pkgdemo-foo = pkgdemo.actions:foo" ] } )
"your system's package manager.") try: import cairo except ImportError: print >> sys.stderr, ("Please install Python bindings for cairo using " "your system's package manager.") setup(name='microdrop', version=version.getVersion(), description='MicroDrop is a graphical user interface for the DropBot ' 'Digital Microfluidics control system', keywords='digital microfluidics dmf automation dropbot microdrop', author='Ryan Fobel and Christian Fobel', author_email='[email protected] and [email protected]', url='http://microfluidics.utoronto.ca/microdrop', license='GPL', long_description='\n%s\n' % open('README.md', 'rt').read(), packages=['microdrop'], include_package_data=True, install_requires=install_requires, entry_points = {'console_scripts': ['microdrop = microdrop.microdrop:main']}) @task def create_requirements(): package_list = [p.split('==')[0] for p in install_requires] requirements_path = os.path.join('microdrop', 'requirements.txt') with open(requirements_path, 'wb') as output: output.write('\n'.join(['%s==%s' %
part('hd44780'), part('ac_input'), part('button'), part('uart_udp'), part('spk'), ] setup( name=NAME, version=VERSION, description=DESCRIPTION, long_description=open('README.rst', 'r').read(), classifiers=classifiers, keywords='avr simavr', author='ponty', #author_email='', url=URL, license='GPL', packages=find_packages(exclude=['bootstrap', 'pavement', ]), include_package_data=True, test_suite='nose.collector', zip_safe=False, install_requires=install_requires, ext_modules=ext_modules, ) options( sphinx=Bunch( docroot='docs', builddir="_build", ),
setup( name='FlexGet', version=__version__, # release task may edit this description='FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) ' 'from different sources like RSS-feeds, html-pages, various sites and more.', long_description=long_description, author='Marko Koivusalo', author_email='*****@*****.**', license='MIT', url='http://flexget.com', download_url='http://download.flexget.com', install_requires=install_requires, packages=find_packages(exclude=['tests']), package_data=find_package_data('flexget', package='flexget', exclude=['FlexGet.egg-info', '*.pyc'], exclude_directories=['node_modules', 'bower_components', '.tmp'], only_in_packages=False), # NOTE: the exclude does not seem to work zip_safe=False, test_suite='nose.collector', extras_require={ 'memusage': ['guppy'], 'NZB': ['pynzb'], 'TaskTray': ['pywin32'], }, entry_points=entry_points, classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] )
setup( name='SchevoDurus', version=VERSION, description="Durus storage backend for Schevo", long_description=dedent(""" SchevoDurus provides integration between the Durus_ object database for Python and the Schevo_ DBMS. You can also get the `latest development version <http://github.com/gldnspud/schevodurus/zipball/master#egg=SchevoDurus-dev>`__. SchevoDurus depends on Durus 3.9. We maintain a `copy of Durus on github <http://github.com/gldnspud/durus/>`__ and for your convenience provide a `Windows Python 2.5 egg <http://www.schevo.org/eggs/Durus-3.8-py2.5-win32.egg>`__ and a `Mac OS X 10.5 Python 2.5 i386 egg <http://www.schevo.org/eggs/Durus-3.8-py2.5-macosx-10.5-i386.egg>`__. .. _Schevo: http://schevo.org/ .. _Durus: http://www.mems-exchange.org/software/durus/ """), classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Database :: Database Engines/Servers', 'Topic :: Software Development :: Libraries :: ' 'Application Frameworks', ], keywords='database dbms', author='ElevenCraft Inc.', author_email='*****@*****.**', url='http://www.schevo.org/', license='MIT', packages=find_packages(exclude=['doc', 'tests']), include_package_data=True, zip_safe=False, install_requires=[ 'Durus >= 3.9', ], dependency_links = [ 'http://pypi.python.org/pypi/SchevoDurus', 'http://www.schevo.org/eggs/', ], tests_require=[ 'nose >= 0.11.0', 'schevo == dev, >= 3.1b1dev-20090507', ], test_suite='nose.collector', entry_points = """ [schevo.backend] durus = schevodurus.backend:DurusBackend """, )
from paver.easy import * from paver.release import setup_meta import paver.doctools import paver.virtual import paver.misctasks from paver.setuputils import setup options = environment.options setup(**setup_meta) options( minilib=Bunch( extra_files=['doctools', 'virtual'] ), sphinx=Bunch( builddir="build", sourcedir="source" ), virtualenv=Bunch( packages_to_install=["nose", "Sphinx>=0.6b1", "docutils", "virtualenv"], install_paver=False, script_name='bootstrap.py', paver_command_line=None ), cog=Bunch( includedir="docs/samples", beginspec="<==",
from paver.easy import * from paver.setuputils import setup from shutil import rmtree PROJECT_ROOT = 'wsgiadmin' USE_SHELL = os.name == 'nt' setup( name='pcp', version="0.4", description='Webhosting administration', long_description='\n'.join(( 'PCP', 'Python based control panel', )), author='cx, yedpodtrzitko', author_email='*****@*****.**', license='BSD', url='https://github.com/creckx/pcp/', ) try: from paver.discovery import discover_django discover_django(options) except ImportError: pass
entry_points=""" # -*- Entry points: -*- """ # compatible with distutils of python 2.3+ or later setup( name='neuronvisio', version=version, description='Neuronvisio is a Graphical User Interface for NEURON simulator environment', long_description=open('README.rst', 'r').read(), packages = ['neuronvisio', 'neuronvisio.modeldb'], package_dir={'neuronvisio': 'neuronvisio'}, package_data=paver.setuputils.find_package_data(package="neuronvisio", ), scripts= ['bin/neuronvisio', 'bin/neuronvisio.bat', 'bin/neuronvisio-modeldb-updater', 'bin/neuronvisio-modeldb-updater.bat'], classifiers=classifiers, keywords='neuron, gui, pylab, 3D, visualization', author=authors, author_email=authors_email, url='http://neuronvisio.org', license='GPLv3', include_package_data=True, zip_safe=False, install_requires=install_requires, entry_points=entry_points, ) options( # -*- Paver options: -*- minilib=Bunch( extra_files=[
from paver.setuputils import setup from setuptools import find_packages from utilities import VERSION setup(name='srccheck', description='Source code KALOI (using Understand).', packages=find_packages(), version=VERSION, url='https://github.com/sglebs/srccheck', author='Marcio Marchini', author_email='*****@*****.**', install_requires=[ 'docopt==0.6.2', 'requests', 'matplotlib', 'Jinja2==2.8', 'mpld3==0.5.1' ], entry_points={ 'console_scripts': [ 'srccheck = utilities.srccheck:main', 'srchistplot = utilities.srchistplot:main', 'srcscatterplot = utilities.srcscatterplot:main', 'srcinstplot = utilities.srcinstplot:main', 'csvhistplot = utilities.csvhistplot:main', 'srcdiffplot = utilities.srcdiffplot:main', 'csvkaloi = utilities.csvkaloi:main', 'csvscatterplot = utilities.csvscatterplot:main', 'xmlkaloi = utilities.xmlkaloi:main', 'jd2csv = utilities.jd2csv:main', ], })
setup(name = 'robotframework-ride', version = VERSION, description = 'RIDE :: Robot Framework Test Data Editor', long_description =""" Robot Framework is a generic test automation framework for acceptance level testing. RIDE is a lightweight and intuitive editor for Robot Framework test data. """.strip(), license = 'Apache License 2.0', keywords = 'robotframework testing testautomation', platforms = 'any', classifiers = """ Development Status :: 4 - Beta License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python Topic :: Software Development :: Testing """.strip().splitlines(), author = 'Robot Framework Developers', author_email = 'robotframework-devel@googlegroups,com', url = 'https://github.com/robotframework/RIDE/', download_url = 'https://github.com/robotframework/RIDE/downloads/', package_dir = {'' : str(SOURCE_DIR)}, packages = find_packages(str(SOURCE_DIR)) + \ ['robotide.lib.%s' % str(name) for name in find_packages(str(LIB_SOURCE))], package_data = find_package_data(str(SOURCE_DIR)), # Robot Framework package data is not included, but RIDE does not need it. scripts = ['src/bin/ride.py'] )
setup( name="pyload", version="0.4.10", description='Fast, lightweight and full featured download manager.', long_description=open(PROJECT_DIR / "README.md").read(), keywords = ("pyload", "download-manager", "one-click-hoster", "download"), url="http://pyload.org", download_url='http://pyload.org/download', license='GPL v3', author="pyLoad Team", author_email="*****@*****.**", platforms = ('Any',), # package_dir={'pyload': "src"}, packages=["pyload"], # package_data=find_package_data(), # data_files=[], include_package_data=True, exclude_package_data={'pyload': ["docs*", "scripts*", "tests*"]}, #: exluced from build but not from sdist # 'bottle >= 0.10.0' not in list, because its small and contain little modifications install_requires=['thrift >= 0.8.0', 'jinja2', 'pycurl', 'Beaker', 'BeautifulSoup >= 3.2, < 3.3'] + extradeps, extras_require={ 'SSL': ["pyOpenSSL"], 'DLC': ['pycrypto'], 'lightweight webserver': ['bjoern'], 'RSS plugins': ['feedparser'], }, # setup_requires=["setuptools_hg"], entry_points={ 'console_scripts': [ 'pyLoadCore = pyLoadCore:main', 'pyLoadCli = pyLoadCli:main' ]}, zip_safe=False, classifiers=[ "Development Status :: 5 - Production/Stable", "Topic :: Internet :: WWW/HTTP", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python :: 2" ] )
else: test_requirements = ['pytest', 'mock'] setup( name="scm-cli", version=VERSION, author="Doug Royal", author_email="*****@*****.**", description=("A command line interface to various source control services, such as github, bitbucket, etc."), license="BSD", keywords="source controll", url="http://code.grumbleofnerds.com/scm-cli", packages=find_packages(exclude=['tests']), long_description=open('README.rst').read(), install_requires=requirements, setup_requires=dev_requirements, tests_require=test_requirements, entry_points={ 'console_scripts': ['scm = scm_cli.scm:main'] }, classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'Topic :: Software Development :: Version Control', 'License :: OSI Approved :: BSD License', ], ) @task
from paver.setuputils import setup import zipfile options(anki=Bunch(builddir=path('build') / 'anki_addon', zip=path('dist') / 'KanjiColorizerAnkiAddon.zip')) setup(name='KanjiColorizer', description='script and module to create colored stroke order ' 'diagrams based on KanjiVG data', long_description=open('README.rst').read(), version='0.11dev', author='Cayenne', author_email='*****@*****.**', url='http://github.com/cayennes/kanji-colorize', packages=['kanjicolorizer'], scripts=['kanji_colorize.py'], package_data={'kanjicolorizer': ['data/kanjivg/kanji/*.svg']}, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: GNU Affero General Public License ' 'v3 or later (AGPLv3+)', 'Programming Language :: Python', 'Natural Language :: English', 'Operating System :: OS Independent', 'Topic :: Education', 'Topic :: Multimedia :: Graphics' ]) @task @needs('generate_setup', 'minilib', 'setuptools.command.sdist') def sdist(): pass
if sys.platform.startswith('win'): entry_points['gui_scripts'].append('flexget-headless = flexget:main') setup( name='FlexGet', version= '1.0', # our tasks append the r1234 (current svn revision) to the version number description= 'FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more.', author='Marko Koivusalo', author_email='*****@*****.**', license='MIT', url='http://flexget.com', install_requires=install_requires, packages=find_packages(exclude=['tests']), package_data=find_package_data( 'flexget', package='flexget', exclude=['FlexGet.egg-info', '*.pyc'], only_in_packages=False), # NOTE: the exclude does not seem to work zip_safe=False, test_suite='nose.collector', extras_require={ 'memusage': ['guppy'], 'NZB': ['pynzb'], 'TaskTray': ['pywin32'], }, entry_points=entry_points) options( minilib=Bunch(extra_files=['virtual', 'svn']),
from paver.easy import * from paver.setuputils import setup import urllib import os setup( name="TestProject", packages=[], version="1.0", url="http://example.com/", author="Davide Romanini", author_email="*****@*****.**", ) @task def libunrar(): UNRAR_SRC = "http://www.rarlab.com/rar/unrarsrc-5.3.2.tar.gz" dest = "libunrar/" + os.path.basename(UNRAR_SRC) if not os.path.exists(dest): print "Fetching " + UNRAR_SRC + "..." urllib.urlretrieve(UNRAR_SRC, dest) if not os.path.exists("libunrar/unrar"): print "Unpacking " + dest + "..." sh("tar xfz %s -C libunrar" % (dest)) print "Compiling unrar..." sh("cd libunrar/unrar && make lib") sh("cp libunrar/unrar/libunrar.so libunrar/libunrar.so") @task
def bootstrap(): """ Initialize project. """ @task def docs(): """ Create documentation. """ print "No torque docs yet!" # # Testing # @task @needs("setuptools.command.build") def functest(): """ Functional test of the command line tools. """ #sh("bin/rtorrd ...") #sh("bin/pyrotorque ...") # # Main # setup(**project)
from paver.path import path from paver.setuputils import setup VERSION = (0, 1, 0, "dev") setup( name="yakity", description="A distributable chat server with easy configuration", packages=["yakity"], scripts=["bin/yakity"], version=".".join(filter(None, map(str, VERSION))), author="Travis Parker", author_email="*****@*****.**", url="http://github.com/teepark/yakity", license="BSD", classifiers=[ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python", ], install_requires=['junction'], ) MANIFEST = ( "setup.py", "paver-minilib.zip", "bin/yakity", )