print('Could not find __version__ from flexget/_version.py') sys.exit(1) 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",
# 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', extras_require={ 'memusage': ['guppy'], 'NZB': ['pynzb'], 'TaskTray': ['pywin32'], }, entry_points=entry_points) options(
from paver.easy import * from paver.setuputils import setup, find_packages try: 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'
'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 )
# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """ options( version=Bunch( number=VERSION, name="Moksha", ), package_data=find_package_data(), packages=find_packages(exclude=['ez_setup']), build_top=path("build"), build_dir=lambda: options.build_top / "Moksha", license=Bunch( extensions = set([ ("py", "#"), ("js", "//") ]), exclude=set([ './ez_setup', './data', './tg2env', './docs', # Things we don't want to add our license tag to './moksha/widgetbrowser', './pip.py', './pavement.py',
install_distutils_tasks() options( setup=Bunch( name="mdemos.metrics", version="0.1", release="1", url="http://moksha.fedorahosted.org", description="Moksha Metrics App", long_description="", author="Luke Macken", author_email="*****@*****.**", license="ASL 2.0", rpm_name='moksha-metrics', packages=find_packages(), package_data=find_package_data(), namespace_packages=['mdemos'], install_requires=[ "moksha>=0.7.0a", ], entry_points={ 'moksha.stream': ( 'moksha_metrics = mdemos.metrics.streams:MokshaMetricsProducer', ), 'moksha.consumer': ( 'moksha_message_metrics = mdemos.metrics.consumers:MokshaMessageMetricsConsumer', ), 'moksha.widget': ( ### Commented out from the tw1/tw2 config conversion #'MokshaTW2CPUUsageWidget = mdemos.metrics.widgets:MokshaTW2CPUUsageWidget',
with open("README.rst") as readme: long_description = readme.read() 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",
# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """ options( version=Bunch( number=VERSION, name="Moksha", ), package_data=find_package_data(), packages=find_packages(exclude=['ez_setup']), build_top=path("build"), build_dir=lambda: options.build_top / "Moksha", license=Bunch( extensions=set([("py", "#"), ("js", "//")]), exclude=set([ './ez_setup', './data', './tg2env', './docs', # Things we don't want to add our license tag to './moksha/widgetbrowser', './pip.py', './pavement.py', './moksha/widgets/feedtree/static', './moksha/widgets/misc/ptd/game/',
BUILD_DIR = ROOT / 'build' DIST_DIR = ROOT / 'dist' FPY = ROOT / 'firepython' FPY_EGG_INFO = ROOT / 'FirePython.egg-info' CRUFT = [ BUILD_DIR, DIST_DIR, FPY_EGG_INFO, ROOT / 'paver-minilib.zip', ] API_VERSION = re.compile(r'<em:version>([^<]*)<\/em:version>') PY_API_VERSION_DEF_RE = re.compile('__api_version__ = [\'"][^\'"]+[\'"]') PY_API_VERSION_DEF = '__api_version__ = \'%s\'' SETUP_ARGS['packages'] = find_packages(exclude=['tests']) setup(**SETUP_ARGS) @task @needs(['sdist']) def pypi(): """Update PyPI index and upload library sources""" sh('python setup.py register') sh('python setup.py sdist --formats=gztar,bztar,zip upload') @task def clean(): """Clean up generated cruft""" for cruft_path in CRUFT:
ADDON = ROOT.parent / "firelogger" # ^--- firelogger is expected to be at same directory # level as firepython project FIREFOX = ADDON / "firefox" INSTALL_RDF = FIREFOX / "install.rdf" BUILD_DIR = ROOT / "build" DIST_DIR = ROOT / "dist" FPY = ROOT / "firepython" FPY_EGG_INFO = ROOT / "FirePython.egg-info" CRUFT = [BUILD_DIR, DIST_DIR, FPY_EGG_INFO, ROOT / "paver-minilib.zip"] API_VERSION = re.compile(r"<em:version>([^<]*)<\/em:version>") PY_API_VERSION_DEF_RE = re.compile("__api_version__ = ['\"][^'\"]+['\"]") PY_API_VERSION_DEF = "__api_version__ = '%s'" SETUP_ARGS["packages"] = find_packages(exclude=["tests"]) setup(**SETUP_ARGS) def get_version_from_install_rdf(): match = API_VERSION.search(INSTALL_RDF.bytes()) if match: return match.groups(1)[0].strip() else: raise Exception("failed to determine API version from %s" % INSTALL_RDF) @task def xpi(): """Prepare XPI""" assert ADDON.exists(), "firelogger addon not found!\n " "expected to be in %s" % ADDON
import pytest import os import tempfile from py.path import local Root = (local(os.path.abspath(".")) / __file__).dirpath() PreviousCwd = local(os.getcwd()) ReadonlyConfigDir = "share/sibt/" options(setup=dict( name="sibt", author="Patrick Plagwitz", author_email="*****@*****.**", license="GNU General Public License v3 (GPLv3)", description="Configurable command line interface to backup tools", version="0.2.1", packages=find_packages("sibt/src"), package_dir={ "sibt": "sibt/src/sibt", "test": "sibt/test/test" }, # entry_points={ # "console_scripts": ["sibt = sibt.main:main"] # }, scripts=["sibt/sibt"], data_files=[ (ReadonlyConfigDir + "schedulers", ["sibt/schedulers/anacron", "sibt/schedulers/simple"]), (ReadonlyConfigDir + "synchronizers", [ "sibt/synchronizers/null", "sibt/synchronizers/rdiff-backup", "sibt/synchronizers/rsync", "sibt/synchronizers/tar"