Exemplo n.º 1
0
from authy import __version__from setuptools import setup, find_packages
# to install authy type the following command:#     python setup.py install#
setup( name = "authy", version = __version__, description = "Authy API Client", author = "Authy Inc", author_email = "*****@*****.**", url = "http://github.com/authy/authy-python", keywords = ["authy", "two factor", "authentication"], install_requires = ["requests>=2.2.1", "simplejson>=3.4.0"], packages = find_packages(), classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Security"        ], long_description = """\    Authy API Client for Python""" )
Exemplo n.º 2
0
import codecsimport osfrom setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: README = f.read()
with codecs.open(os.path.join(here, 'CHANGELOG.rst'), encoding='utf-8') as f: CHANGELOG = f.read()
REQUIREMENTS = [ 'PyFxA', 'requests', 'requests-hawk', 'six',]
setup(name='syncclient', version='0.9.0.dev0', description='Firefox Sync client', long_description=README + '\n\n' + CHANGELOG, license='Apache License (2.0)', classifiers=[ "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", "License :: OSI Approved :: Apache Software License"      ], keywords="web services", author='Mozilla Services', author_email='*****@*****.**', url='https://github.com/mozilla-services/syncclient', packages=find_packages(), include_package_data=True, zip_safe=False, install_requires=REQUIREMENTS)
Exemplo n.º 3
0
import osfrom setuptools import setup, find_packages
import referral

def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup( name='django-referral', version=referral.__version__, description='A small django application for marketing using referral links', long_description=read('README.md'), license=read('LICENSE'), author='akuryou', author_email='*****@*****.**', url='https://github.com/byteweaver/django-referral', packages=find_packages(), classifiers=[ 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4',    ])
rom setuptools import setup, find_packages

with open('README.rst', encoding='UTF-8') as f:
    readme = f.read()

setup(
    name='hr',
    version='0.1.0',
    description='Commandline user management utility',
    long_description=readme,
    author='Juan Pablo',
    author_email='[email protected]',
    packages=find_packages('src'),
    package_dir={'': 'src'},
    install_requires=[]
)
Exemplo n.º 5
0
rom setuptools import setup, find_packages

setup(
    name='PoGoProjecto',
    version='1.0',
    long_description=__doc__,
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    install_requires=['Flask'],
)
Exemplo n.º 6
0
#!/usr/bin/env python
from distutils.core import setupfrom setuptools import find_packages
dependencies = []links = []
setup( name='py-infusionsoft', version='0.2', description='python wrapper for InfusionSoft API', author='', author_email='', scripts=[], url='https://github.com/infusionsoft/Official-API-Python-Library', packages=find_packages(), include_package_data=True, install_requires=dependencies, dependency_links=links,)
Exemplo n.º 7
0
-# certifi is a Python package containing a CA certificate bundle for SSL verification.
-# On certain supported platforms (e.g., Red Hat / Debian / FreeBSD), Requests can
-# use the system CA bundle instead; see `requests.utils` for details.
-# If your platform is supported, set `requires` to [] instead:
-requires = ['certifi>=0.0.7']
-
-# chardet is used to optimally guess the encodings of pages that don't declare one.
-# At this time, chardet is not a required dependency. However, it's sufficiently
-# important that pip/setuptools should install it when it's unavailable.
-if is_py3:
-    chardet_package = 'chardet2'
-else:
-    chardet_package = 'chardet>=1.0.0'
-    requires.append('oauthlib>=0.1.0,<0.2.0')
-
-requires.append(chardet_package)
+# FreeBSD ports tree, provides only chardet2
+requires = ['certifi>=0.0.7', 'chardet>=2.0.0']
 
 # The async API in requests.async requires the gevent package.
 # This is also not a required dependency.
@@ -62,7 +39,7 @@
     author='Kenneth Reitz',
     author_email='*****@*****.**',
     url='http://python-requests.org',
-    packages=packages,
+    packages=find_packages(exclude=['requests.packages.url*']),
     package_data={'': ['LICENSE', 'NOTICE']},
     include_package_data=True,
     install_requires=requires,
Exemplo n.º 8
0
rom setuptools import setup, find_packages
setup(
    name = "JabberLogBot",
    version = "0.1",
    packages = find_packages(),
    scripts = ['jabberlogbot.py'],

    # Project uses reStructuredText, so ensure that the docutils get
    # installed or upgraded on the target machine
    install_requires = ['docutils>=0.3'],

    package_data = {
        # If any package contains *.txt or *.rst files, include them:
        '': ['*.txt', '*.rst'],
        # And include any *.msg files found in the 'hello' package, too:
        'hello': ['*.msg'],
    }

    # metadata for upload to PyPI
    author = "Luis Rei",
    author_email = "*****@*****.**",
    description = "This is an Example Package",
    license = "GPL",
    keywords = "hello world example examples",
    url = "http://example.com/HelloWorld/",   # project home page, if any

    # could also include long_description, download_url, classifiers, etc.
)

Exemplo n.º 9
0
"""\py-getch--------Portable getch() for Python.Links`````* `Source code <https://github.com/joeyespo/py-getch>`_"""
import osfrom setuptools import setup, find_packages

def read(filename): with open(os.path.join(os.path.dirname(__file__), filename)) as f: return f.read()

setup( name='py-getch', version='1.0.1', description='Portable getch() for Python.', long_description=__doc__, author='Joe Esposito', author_email='*****@*****.**', url='https://github.com/joeyespo/py-getch', license='MIT', platforms='any', packages=find_packages(), package_data={'': ['LICENSE']}, install_requires=read('requirements.txt').splitlines(), zip_safe=False, entry_points={},)
Exemplo n.º 10
0
"""Setuptools configuration for rpmvenv."""
from setuptools import setupfrom setuptools import find_packages

with open('README.rst', 'r') as readmefile:
 README = readmefile.read()
setup( name='rpmvenv', version='0.11.0', url='https://github.com/kevinconway/rpmvenv', description='RPM packager for Python virtualenv.', author="Kevin Conway", author_email="*****@*****.**", long_description=README, license='MIT', packages=find_packages(exclude=['tests', 'build', 'dist', 'docs']), install_requires=[ 'jinja2', 'venvctrl', 'argparse', 'confpy', 'ordereddict', 'semver',    ], entry_points={ 'console_scripts': [ 'rpmvenv = rpmvenv.cli:main',        ], 'rpmvenv.extensions': [ 'core = rpmvenv.extensions.core:Extension', 'file_permissions = rpmvenv.extensions.files.permissions:Extension', 'file_extras = rpmvenv.extensions.files.extras:Extension', 'python_venv = rpmvenv.extensions.python.venv:Extension', 'blocks = rpmvenv.extensions.blocks.generic:Extension',        ]    }, package_data={ "rpmvenv": ["templates/*"],    },)
Exemplo n.º 11
0
-        self.test_suite = True
+    user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
+
+    def initialize_options(self):
+        TestCommand.initialize_options(self)
+        self.pytest_args = []
 
     def run_tests(self):
+        #import here, cause outside the eggs aren't loaded
         import pytest
-        errno = pytest.main(self.test_args)
+        errno = pytest.main(self.pytest_args)
         sys.exit(errno)
 
 
@@ -31,12 +33,12 @@ setup(
         'https://s3.amazonaws.com/bitly-downloads/nsq/pynsq-%s.tar.gz' %
         version
     ),
-    packages=['nsq'],
     install_requires=['tornado'],
     include_package_data=True,
+    packages=find_packages(exclude=['tests']),
     zip_safe=False,
     tests_require=['pytest', 'mock', 'simplejson',
-                   'python-snappy', 'tornado'],
+                   'python-snappy'],
     cmdclass={'test': PyTest},
     classifiers=[
         'Development Status :: 4 - Beta',
Exemplo n.º 12
0
--- setup.py.orig	2011-12-16 14:52:45.000000000 +0000
+++ setup.py	2012-02-02 09:36:45.000000000 +0000
@@ -54,7 +54,7 @@
 .. _github: http://github.com/mitsuhiko/werkzeug
 """
 try:
-    from setuptools import setup
+    from setuptools import setup, find_packages
 except ImportError:
     from distutils.core import setup
 
@@ -78,10 +78,8 @@
         'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
         'Topic :: Software Development :: Libraries :: Python Modules'
     ],
-    packages=['werkzeug', 'werkzeug.debug', 'werkzeug.contrib',
-              'werkzeug.testsuite', 'werkzeug.testsuite.contrib'],
+    packages=find_packages(where='.', exclude=['werkzeug.test*']),
     include_package_data=True,
-    test_suite='werkzeug.testsuite.suite',
     zip_safe=False,
     platforms='any'
 )
Exemplo n.º 13
0
import codecsimport osfrom setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: README = f.read()
REQUIREMENTS = []
setup(name='kinto-webpush', version='0.0.1', description='Kinto WebPush', long_description=README, license='Apache License (2.0)', classifiers=[ "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", "License :: OSI Approved :: Apache Software License"      ], keywords="web services", author='Mozilla Services', author_email='*****@*****.**', url='', packages=find_packages(), include_package_data=True, zip_safe=False, install_requires=REQUIREMENTS)
Exemplo n.º 14
0
#!/usr/bin/env python# -*- coding: utf-8 -*-
from setuptools import setupfrom setuptools import find_packages

with open('README.rst') as readme:    long_description = readme.read()

with open('requirements.txt') as requirements:    lines = requirements.readlines()    libraries = [lib for lib in lines if not lib.startswith('-')]    dependency_links = [link.split()[1] for link in lines if        link.startswith('-f')]

setup( name='djangorestframework-fine-permissions', version='0.6.0', packages=find_packages(), install_requires=libraries, dependency_links=dependency_links, long_description=long_description, author='Arnaud Grausem', author_email='*****@*****.**', maintainer='Arnaud Grausem', maintainer_email='*****@*****.**', description='Field level permissions for Django REST Framework', keywords=['django', 'REST', 'rest_framework', 'permissions'], url='https://github.com/unistra/django-rest-framework-fine-permissions', download_url='https://pypi.python.org/pypi/djangorestframework-fine-permissions', classifiers=[ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4",    ])
Exemplo n.º 15
0
$FreeBSD$

--- setup.py.orig
+++ setup.py
@@ -4,12 +4,7 @@
 import os
 
 
-try:
-    from setuptools import setup, find_packages
-except ImportError as ie:
-    import ez_setup
-    ez_setup.use_setuptools()
-    from setuptools import setup, find_packages
+from setuptools import setup, find_packages
 
 # Startup
 appname = "python-graph-dot"
@@ -20,7 +15,6 @@
         version = appversion,
         namespace_packages = ["pygraph"],
         packages = ["pygraph"] + [ os.path.join("pygraph", a) for a in find_packages("pygraph") ],
-        install_requires = [ 'python-graph-core==%s' % appversion, 'pydot' ],
         author = "Pedro Matiello",
         author_email = "*****@*****.**",
         description = "DOT support for python-graph",
Exemplo n.º 16
0
import codecsfrom setuptools import setup, find_packages
def readme(filename): file = codecs.open(filename, 'r', 'utf-8')    contents = file.read() try: return unicode(contents) except NameError: return str(contents)
setup( name='django-werkzeug-debugger-runserver', version='0.3', description='Replaces Django\'s runserver command with one that includes the Werkzeug debugger (shamelessly ripped out of django-extensions)', long_description=readme('README.rst'), author='Philipp Bosch and https://github.com/django-extensions/django-extensions/contributors', author_email='*****@*****.**', license='BSD', url='http://github.com/philippbosch/django-werkzeug-debugger-runserver', packages=find_packages(), install_requires=[ 'Werkzeug', 'six',    ])
Exemplo n.º 17
0
import os
try: from setuptools import setup, find_packagesexcept ImportError: from distutils.core import setup, find_packages

PATH_TO_FILE = os.path.dirname(__file__)

with open(os.path.join(PATH_TO_FILE, 'README')) as f:    long_description = f.read()

VERSION = (0, 1, 1)

# Dynamically calculate the version based on VERSION tupleif len(VERSION) > 2 and VERSION[2] is not None:    str_version = "%s.%s_%s" % VERSION[:3]else:    str_version = "%s.%s" % VERSION[:2]

version = str_version

setup( name='nose-cprof', version=version, description="A python nose plugin to profile using cProfile rather than the default Hotshot profiler.", long_description=long_description, author='Marc Sherry', author_email='*****@*****.**', url='https://github.com/msherry/nose-cprof', install_requires=[ 'nose >=1.0.0',    ], setup_requires=[], test_suite='nose.collector', zip_safe=False, packages=find_packages(), classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules',    ], entry_points={ 'nose.plugins.0.10': [ 'nose_cprofile = nose_cprofile:Profile',        ]    },)
Exemplo n.º 18
0
#!/usr/bin/env python# The contents of this file are subject to the Mozilla Public License# Version 1.1 (the "License"); you may not use this file except in# compliance with the License. You may obtain a copy of the License at# http://www.mozilla.org/MPL/## Software distributed under the License is distributed on an "AS IS"# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the# License for the specific language governing rights and limitations# under the License.## The Original Code is pynsca.## The Initial Developer of the Original Code is Dustin J. Mitchell.  Portions# created by Dustin J. Mitchell are Copyright (C) Mozilla, Inc. All Rights# Reserved.## Alternatively, the contents of this file may be used under the terms of the# GNU Public License, Version 2 (the  "GPLv2 License"), in which case the# provisions of GPLv2 License are applicable instead of those above. If you# wish to allow use of your version of this file only under the terms of the# GPLv2 License and not to allow others to use your version of this file under# the MPL, indicate your decision by deleting the provisions above and replace# them with the notice and other provisions required by the GPLv2 License. If# you do not delete the provisions above, a recipient may use your version of# this file under either the MPL or the GPLv2 License.
import osfrom setuptools import setup, find_packages
descr = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup( name='pynsca', version='1.6a', description='Simple Python interface to Nagios Service Check Architecture', long_description=descr, author='Dustin J. Mitchell', author_email='*****@*****.**', url='http://github.com/djmitche/pynsca', license='MPL-1.1', packages=find_packages(), py_modules=['pynsca'], include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.4', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: System :: Monitoring', 'Topic :: System :: Networking :: Monitoring', 'Topic :: Software Development :: Libraries :: Python Modules',    ],)
Exemplo n.º 19
0
import osimport sysimport codecsfrom fnmatch import fnmatchcasefrom distutils.util import convert_pathfrom setuptools import setup, find_packages

def read(fname): return codecs.open(os.path.join(os.path.dirname(__file__), fname)).read()
# Provided as an attribute, so you can append to these instead# of replicating them:standard_exclude = ('*.py', '*.pyc', '*$py.class', '*~', '.*', '*.bak')standard_exclude_directories = ('.*', 'CVS', '_darcs', './build', './dist', 'EGG-INFO', '*.egg-info')

# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php# Note: you may want to copy this into your setup.py file verbatim, as# you can't import this from another package, when you don't know if# that package is installed yet.

def find_package_data( where='.', package='', exclude=standard_exclude, exclude_directories=standard_exclude_directories, only_in_packages=True, show_ignored=False): """    Return a dictionary suitable for use in ``package_data``    in a distutils ``setup.py`` file.    The dictionary looks like::        {'package': [files]}    Where ``files`` is a list of all the files in that package that    don't match anything in ``exclude``.    If ``only_in_packages`` is true, then top-level directories that    are not packages won't be included (but directories under packages    will).    Directories matching any pattern in ``exclude_directories`` will    be ignored; by default directories with leading ``.``, ``CVS``,    and ``_darcs`` will be ignored.    If ``show_ignored`` is true, then all the files that aren't    included in package data are shown on stderr (for debugging    purposes).    Note patterns use wildcards, or can be exact paths (including    leading ``./``), and all searching is case-insensitive. """
    out = {}    stack = [(convert_path(where), '', package, only_in_packages)] while stack:        where, prefix, package, only_in_packages = stack.pop(0) for name in os.listdir(where):            fn = os.path.join(where, name) if os.path.isdir(fn):                bad_name = False for pattern in exclude_directories: if (fnmatchcase(name, pattern) or fn.lower() == pattern.lower()):                        bad_name = True if show_ignored: print >> sys.stderr, ( "Directory %s ignored by pattern %s" % (fn, pattern)) break if bad_name: continue if (os.path.isfile(os.path.join(fn, '__init__.py')) and not prefix): if not package:                        new_package = name else:                        new_package = package + '.' + name                    stack.append((fn, '', new_package, False)) else:                    stack.append((fn, prefix + name + '/', package, only_in_packages)) elif package or not only_in_packages: # is a file                bad_name = False for pattern in exclude: if (fnmatchcase(name, pattern) or fn.lower() == pattern.lower()):                        bad_name = True if show_ignored: print >> sys.stderr, ( "File %s ignored by pattern %s" % (fn, pattern)) break if bad_name: continue                out.setdefault(package, []).append(prefix + name) return out

setup( name="django-urlmiddleware", version=":versiontools:urlmiddleware:", url='http://urlmiddleware.readthedocs.org/', license='MIT', description="A Django app that allows you to use a url based definition for adding middleware to a project. This means you can add middleware based on a url pattern rather than globally", long_description=read('README.rst'), author='Dougal Matthews', author_email='*****@*****.**', packages=find_packages(exclude=['tests', 'tests.*']), package_data=find_package_data('urlmiddleware', only_in_packages=False), classifiers=[ 'Development Status :: 5 - Production/Stable', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP',    ], zip_safe=False, setup_requires=[ 'versiontools >= 1.6', 'django >= 1.3, <1.9',    ],)
Exemplo n.º 20
0
from setuptools import setupfrom setuptools import find_packages
version = __import__('pelican_youtube').__version__download_url = 'https://github.com/kura/pelican_youtube/archive/{}.zip'.format(version)
setup(name='pelican_youtube', version=version, url='https://github.com/kura/pelican_youtube', download_url=download_url, author="Kura", author_email="*****@*****.**", maintainer="Kura", maintainer_email="*****@*****.**", description="Easily embed YouTube videos in your posts", long_description=open("README.rst").read(), license='MIT', platforms=['linux'], packages=find_packages(exclude=["*.tests"]), package_data={'': ['LICENSE', ]}, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: Implementation :: CPython', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Text Processing',      ], zip_safe=True,      )
Exemplo n.º 21
0
import osfrom setuptools import setup, find_packages
# build libtacsim automaticallyrootdir = os.path.dirname(os.path.realpath('__file__'))moddir = os.path.join(rootdir, 'libtacsim')os.system('cd %s; scons install; cd -' % moddir)
from graphsim import __version__from graphsim import __author__from graphsim import __email__
setup( name = "graphsim", version = __version__, url = 'https://github.com/caesar0301/graphsim', author = __author__, author_email = __email__, description = 'Graph similarity algorithms based on NetworkX.', long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), license = "BSC License", packages = find_packages(), keywords = ['graph', 'graph similarity', 'graph matching'], classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: Freely Distributable', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Software Development :: Libraries :: Python Modules',   ],)