示例#1
0
文件: setup.py 项目: wwaites/pyodbc
def get_config(settings, version_str):
    """
    Adds configuration macros from pyodbc.conf to the compiler settings dictionary.

    If pyodbc.conf does not exist, it will compile and run the pyodbcconf utility.

    This is similar to what autoconf provides, but only uses the infrastructure provided by Python, which is important
    for building on *nix and Windows.
    """
    filename = 'pyodbc.conf'

    # If the file exists, make sure that the version in it is the same as the version we are compiling.  Otherwise we
    # might have added configuration items that aren't there.
    if exists(filename):
        try:
            config = SafeConfigParser()
            config.read(filename)

            if (not config.has_option('define_macros', 'pyodbc_version') or
                config.get('define_macros', 'pyodbc_version') != version_str):
                print 'Recreating pyodbc.conf for new version'
                os.remove(filename)

        except:
            config = None
            # Assume the file has been corrupted.  Delete and recreate
            print 'Unable to read %s.  Recreating' % filename
            os.remove(filename)

    if not exists('pyodbc.conf'):
        # Doesn't exist, so build the pyodbcconf module and use it.

        oldargv = sys.argv
        sys.argv = [ oldargv[0], 'build' ]

        setup(name="pyodbcconf",
              ext_modules = [ Extension('pyodbcconf',
                                        [join('utils', 'pyodbcconf', 'pyodbcconf.cpp')],
                                        **settings) ])

        sys.argv = oldargv

        add_to_path()

        import pyodbcconf
        pyodbcconf.configure()

    config = SafeConfigParser()
    config.read(filename)

    for section in config.sections():
        for key, value in config.items(section):
            settings[section].append( (key.upper(), value) )
示例#2
0
def setup_package():
    needs_sphinx = {'build_sphinx', 'upload_docs'}.intersection(sys.argv)
    sphinx = ['sphinx'] if needs_sphinx else []
    setup(
        setup_requires=sphinx,
        name='SimpleHOHMM',
        version=_info["version"],
        author=_info["author"],
        author_email=_info["author_email"],
        packages=['SimpleHOHMM'],
        package_data={'SimpleHOHMM': ['package_info.json']},
        url='https://simple-hohmm.readthedocs.io',
        license='LICENSE.txt',
        description='High Order Hidden Markov Model for sequence classification',
        test_suite='test.test_suite',
    )
示例#3
0
文件: setup.py 项目: wwaites/pyodbc
def main():

    version_str, version = get_version()

    settings = get_compiler_settings(version_str)

    files = [ abspath(join('src', f)) for f in os.listdir('src') if f.endswith('.cpp') ]

    if exists('MANIFEST'):
        os.remove('MANIFEST')

    setup (name = "pyodbc",
           version = version_str,
           description = "DB API Module for ODBC",

           long_description = ('A Python DB API 2 module for ODBC. This project provides an up-to-date, '
                               'convenient interface to ODBC using native data types like datetime and decimal.'),

           maintainer       = "Michael Kleehammer",
           maintainer_email = "*****@*****.**",

           ext_modules = [Extension('pyodbc', files, **settings)],

           classifiers = ['Development Status :: 5 - Production/Stable',
                           'Intended Audience :: Developers',
                           'Intended Audience :: System Administrators',
                           'License :: OSI Approved :: MIT License',
                           'Operating System :: Microsoft :: Windows',
                           'Operating System :: POSIX',
                           'Programming Language :: Python',
                           'Topic :: Database',
                          ],

           url = 'http://code.google.com/p/pyodbc',
           download_url = 'http://code.google.com/p/pyodbc/downloads/list',
           cmdclass = { 'version' : VersionCommand,
                        'tags'    : TagsCommand })
示例#4
0
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

setup(
    name="proclaim",
    version="0.5",
    description="Conditionally roll out features with Redis",
    long_description="""
    Conditionally roll out features with Redis by assigning
    percentages, groups or users to features. This is a port of jamesgolick's
    rollout: http://github.com/jamesgolick/rollout""",
    author="Curt Micol",
    license="MIT",
    author_email="*****@*****.**",
    url="http://github.com/asenchi/proclaim",
    download_url="http://github.com/asenchi/proclaim/downloads",
    keywords="redis rollout",
    requires=['redis'],
    classifiers=[
        "Development Status :: 4 - Beta", "Intended Audience :: Developers",
        "Intended Audience :: Web Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independant", "Topic :: Software Development"
    ],
    py_modules=["proclaim"],
)
示例#5
0
文件: setup.py 项目: suvayu/rootpy
setup(
    name='rootpy',
    version=__version__,
    description="A pythonic layer on top of the "
                "ROOT framework's PyROOT bindings.",
    long_description=''.join(open('README.rst').readlines()[7:]),
    author='the rootpy developers',
    author_email='*****@*****.**',
    maintainer='Noel Dawe',
    maintainer_email='*****@*****.**',
    license='GPLv3',
    url=__url__,
    download_url=__download_url__,
    package_dir=packages,
    packages=packages.keys(),
    extras_require={
        'tables': reqs('tables.txt'),
        'array': reqs('array.txt'),
        'matplotlib': reqs('matplotlib.txt'),
        'roosh': reqs('roosh.txt'),
        'stats': reqs('stats.txt'),
        },
    scripts=scripts,
    entry_points={
        'console_scripts': [
            'root2hdf5 = rootpy.root2hdf5:main',
            'roosh = rootpy.roosh:main',
            ]
        },
    package_data={'': [
        'etc/*',
        'testdata/*.root',
        'testdata/*.txt',
        'tests/test_compiled.cxx',
        ]},
    classifiers=[
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Topic :: Utilities',
        'Operating System :: POSIX :: Linux',
        'Development Status :: 4 - Beta',
        'Intended Audience :: Science/Research',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU General Public License (GPL)'
    ])
示例#6
0
setup(
    name="web.security",
    version=version,
    description=description,
    long_description=codecs.open(os.path.join(here, 'README.rst'), 'r',
                                 'utf8').read(),
    url=url,
    download_url='https://github.com/marrow/web.security/releases',
    author=author.name,
    author_email=author.email,
    license='MIT',
    keywords=[
        'web.security', 'WebCore', 'ACL', 'CSRF', 'authentication',
        'authorization', 'authn', 'authz', 'a12n', 'a11n'
    ],
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.2",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    packages=find_packages(exclude=['example', 'test']),
    include_package_data=True,
    namespace_packages=[
        'web',  # primary namespace
        'web.ext',  # framework extensions
    ],
    entry_points={
        'web.extension': [
            'acl = web.ext.acl:ACLExtension',  # Access control list validation.
        ],
        'web.security.predicate': [
            'not = web.security.predicate:Not',
            'always = web.security.predicate:always',
            'never = web.security.predicate:never',
            'first = web.security.predicate:First',
            'all = web.security.predicate:All',
            'any = web.security.predicate:Any',
            'matches = web.security.predicate:ContextMatch',
            'contains = web.security.predicate:ContextContains',
        ],
    },
    setup_requires=[
        'pytest-runner',
    ] if {'pytest', 'test', 'ptr'}.intersection(sys.argv) else [],
    install_requires=[
        'WebCore>=2.0.3,<2.2.0',  # Web framework.
        'marrow.package>=1.2,<1.3',  # Plugin management.
    ],
    extras_require=dict(
        development=tests_require,
        ecdsa=['ecdsa'],
        fastecdsa=['fastecdsa>=1.0.3'],
    ),
    tests_require=tests_require,
    zip_safe=True,
)
示例#7
0
#!/usr/bin/env python

try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

setup(
    name='djeasyroute',
    version='0.0.3',
    description='A simple class based route system for django similar to flask',
    author='Ryan Goggin',
    author_email='*****@*****.**',
    url='https://github.com/Goggin/djeasyroute',
    download_url='',
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Framework :: Django",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Intended Audience :: Developers",
        "Topic :: Software Development",
    ],
    install_requires=[
        'django',
    ],
    packages=[
        'djeasyroute',
    ],
)
示例#8
0
try:
    from setuptools.core import setup
except ImportError as e:
    from distutils.core import setup

from os import path

this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
    long_description = f.read()

setup(
    name='my-nlp',
    version='0.13',
    description='my nlp toolkit',
    author='Xiaolong Liang',
    author_email='*****@*****.**',
    url='https://github.com/unhappydog/mynlp.git',
    packages=[
        'mynlp', 'mynlp.preprocess', 'mynlp.features', 'mynlp.utils',
        'mynlp.models', 'mynlp.models.dedupe'
    ],
    package_data={'mynlp': ['data/*.dat']},
    install_requires=['numpy', 'nltk', 'sklearn', 'gensim'],
    test_suite='tests',
    long_description=long_description,
    long_description_content_type='text/markdown',
)
示例#9
0
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

version = '0.2.2'

setup(name='hoverpy',
      install_requires=["requests"],
      packages=['hoverpy', 'hoverpy.lib'],
      version=version,
      description='A python library for HoverFly',
      author='SpectoLabs',
      author_email='*****@*****.**',
      url='https://github.com/SpectoLabs/hoverpy',
      download_url='https://github.com/SpectoLabs/hoverpy/tarball/%s' %
      version,
      keywords=['testing', 'rest', 'caching', 'ci'],
      test_suite='hoverpy.tests.get_suite',
      classifiers=[],
      package_data={'hoverpy': ['cert.pem']})
示例#10
0
setup(
    name='Discipline',
    version=__version__,
    description='Discipline: model version control for Django',
    long_description="Discipline is a model version control system for " \
        "Django with admin website integration and low-level API for " \
        "accessing objects' states at different points in time",
    author="Alexei Boronine",
    license="MIT",
    author_email="*****@*****.**",
    url="http://github.com/boronine/discipline",
    download_url="http://github.com/boronine/discipline/downloads",
    keywords="django versioning version control",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "Intended Audience :: System Administrators",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Topic :: Software Development"
    ],
    packages=[
        "discipline",
        "discipline.management",
        "discipline.management.commands",
    ],
)
示例#11
0
文件: setup.py 项目: afcarl/jyro
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
    # Die, setuptools, die.
    sys.argv.remove(svem_flag)

with io.open('jyro/__init__.py', encoding='utf-8') as fid:
    for line in fid:
        if line.startswith('__version__'):
            version = line.strip().split()[-1][1:-1]
            break

setup(name='jyro',
      version=version,
      description='Python tools for robots',
      long_description="Python and Jupyter tools for robots",
      author='Douglas Blank',
      author_email='*****@*****.**',
      url="https://github.com/Calysto/jyro",
      install_requires=['calysto'],
      packages=[
          'jyro',
          'jyro.simulator',
          'jyro.myro',
      ],
      classifiers=[
          'Framework :: IPython',
          'License :: OSI Approved :: BSD License',
          'Programming Language :: Python :: 3',
      ])
示例#12
0
with open('gramps_connect/__init__.py', 'rb') as fid:
    for line in fid:
        line = line.decode('utf-8')
        if line.startswith('__version__'):
            version = line.strip().split()[-1][1:-1]
            break

setup(name='gramps_connect',
      version=version,
      description='Gramps webapp for genealogy',
      long_description=open('README.md', 'rb').read().decode('utf-8'),
      author='Doug Blank',
      author_email='*****@*****.**',
      url="https://github.com/gramps-connect/gramps_connect",
      install_requires=['gramps>=5.0', "tornado"],
      packages=['gramps_connect', 
                'gramps_connect.handlers'],
      include_data_files = True,
      include_package_data=True,
      data_files = [("./gramps_connect/templates", 
                     [
                         "gramps_connect/templates/login.html",
                     ])],
      classifiers=[
          "Environment :: Web Environment",
          "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
          'Programming Language :: Python :: 3',
          "Topic :: Sociology :: Genealogy",
      ]
)
示例#13
0
with open('metakernel/__init__.py', 'rb') as fid:
    for line in fid:
        line = line.decode('utf-8')
        if line.startswith('__version__'):
            version = line.strip().split()[-1][1:-1]
            break


setup(name='metakernel',
      version=version,
      description='Metakernel for Jupyter',
      long_description=open('README.rst', 'rb').read().decode('utf-8'),
      author='Steven Silvester',
      author_email='*****@*****.**',
      url="https://github.com/Calysto/metakernel",
      install_requires=['IPython>=3.0'],
      packages=['metakernel', 'metakernel.magics', 'metakernel.utils',
                'metakernel.tests', 'metakernel.magics.tests'],
      include_data_files = True,
      data_files = [("metakernel/images", ["metakernel/images/logo-64x64.png", 
                                           "metakernel/images/logo-32x32.png"])],
      classifiers=[
          'Framework :: IPython',
          'License :: OSI Approved :: BSD License',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 2',
          'Programming Language :: Scheme',
          'Topic :: System :: Shells',
      ]
      )
示例#14
0
#!/usr/bin/env python

try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

setup(
    name='genderizer',
    version='0.1.2.3',
    license='MIT',
    description=
    'Genderizer tries to infer gender information looking at first name and/or making text analysis',
    long_description=open('README.md').read(),
    url='https://github.com/muatik/genderizer',
    author='Mustafa Atik',
    author_email='*****@*****.**',
    maintainer='Mustafa Atik',
    maintainer_email='*****@*****.**',
    packages=['genderizer'],
    package_data={'genderizer': ['data/*']},
    platforms='any')
示例#15
0
# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

from migrations import __version__

# Build packages list
packages = []
root_dir = os.path.dirname(__file__)
if root_dir != '':
    os.chdir(root_dir)
for dirpath, dirnames, filenames in os.walk('migrations'):
    # Ignore dirnames that start with '.'
    for i, dirname in enumerate(dirnames):
        if dirname.startswith('.'):
            del dirnames[i]
    if '__init__.py' in filenames:
        packages.append(dirpath.strip("/").replace("/", "."))

setup(
    name = 'django.contrib.migrations',
    version = __version__,
    description = 'Django Migrations',
    long_description = "Django's migration framework",
    author = 'Andrew Godwin',
    author_email = '*****@*****.**',
    packages = packages,
)
示例#16
0
文件: setup.py 项目: cicl06/gprime
     get_data_files("share/gprime/data/templates")),
    ("share/gprime/images", get_data_files("share/gprime/images")),
    ("share/gprime/data/jhtmlarea",
     get_data_files("share/gprime/data/jhtmlarea")),
    ("share/gprime/data/javascript",
     get_data_files("share/gprime/data/javascript")),
    ("share/gprime/data/css", get_data_files("share/gprime/data/css")),
    ("share/gprime/data/", ["share/gprime/data/authors.xml"]),
]

setup(name='gprime',
      version=version,
      description='gPrime webapp for genealogy',
      long_description=open('README.md', 'rb').read().decode('utf-8'),
      cmdclass={
          'build': Build,
          'install': install
      },
      author='Doug Blank',
      author_email='*****@*****.**',
      url="https://github.com/GenealogyCollective/gprime",
      install_requires=["tornado", "simplejson", "passlib", "meta", "pillow"],
      packages=['gprime', 'gprime.app', 'gprime.app.handlers'],
      data_files=data_files,
      classifiers=[
          "Environment :: Web Environment",
          "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
          'Programming Language :: Python :: 3',
          "Topic :: Sociology :: Genealogy",
      ])
示例#17
0
        unittest.main(tests, argv=sys.argv[:1])


cmdclass = {'test': TestCommand}


classifiers = [
    'Development Status :: 4 - Beta',
    'License :: OSI Approved :: BSD License',
    'Operating System :: OS Independent',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2',
    'Programming Language :: Python :: 3',
    'Topic :: Database',
]

setup(
    name='firebirdsql',
    version=firebirdsql.__version__,
    description='Firebird RDBMS bindings for python.',
    long_description=open('README.rst').read(),
    url='http://github.com/nakagami/pyfirebirdsql/',
    classifiers=classifiers,
    keywords=['Firebird'],
    license='BSD',
    author='Hajime Nakagami',
    author_email='*****@*****.**',
    packages=['firebirdsql'],
    cmdclass=cmdclass,
)
示例#18
0
# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

PACKAGE = 'django-jcache'
VERSION = '0.6-af4'

setup(
    name=PACKAGE,
    version=VERSION,
    description="JCache support for Django",
    packages=['jcache'],
    license='MIT',
    author='Art Discovery Ltd',
    maintainer='James Aylett',
    maintainer_email='*****@*****.**',
    install_requires=[
        'Django>=1.3',
        'celery',
    ],
    # url = 'http://code.artfinder.com/projects/django-jcache/',
    classifiers=[
        'Intended Audience :: Developers',
        'Framework :: Django',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2',
    ],
)
示例#19
0
VERSION = '0.1.1-af3'

package_data = {
    'render_as': [
        'templates/avoid_clash_with_real_app/*.html',
        'templates/render_as/*.html',
        ],
}

setup(
    name=PACKAGE, version=VERSION,
    description="Template rendering indirector based on object class",
    packages=[
        'render_as',
        'render_as/templatetags',
        ],
    package_data=package_data,
    license='MIT',
    author='James Aylett',
    author_email='*****@*****.**',
    install_requires=[
        'Django>=1.3',
    ],
    classifiers=[
        'Intended Audience :: Developers',
        'Framework :: Django',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2',
    ],
)
示例#20
0
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

setup(name='SomePackage',
      version='0.1.0',
      author='C. Titus Brown',
      author_email='*****@*****.**',
      packages=['somepackage', 'somepackage.tests'],
      url='http://pypi.python.org/pypi/SomePackage/',
      license='LICENSE.txt',
      description='Useful package-test-related stuff.',
      test_suite='somepackage.tests.get_suite')
示例#21
0
# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

PACKAGE = 'django_auto_sluggable'
VERSION = '0.1'

setup(
    name=PACKAGE, version=VERSION,
    description="Tiny Django app to make working with slugs a little easier.",
    packages=[ 'django_auto_sluggable' ],
    license='MIT',
    author='James Aylett',
    url = 'http://tartarus.org/james/computers/django/',
)
示例#22
0
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

setup(
    name='django-useraudit',
    version='1.7.0',
    description=
    'Django user audit utilities like logging user log in, disabling access when password expires or user is inactive',
    long_description=
    'Django user audit utilities like logging user log in, disabling access when password expires or user is inactive',
    author='CCG, Murdoch University',
    author_email='*****@*****.**',
    url='https://github.com/muccg/django-useraudit',
    download_url='https://github.com/muccg/django-useraudit/releases',
    classifiers=[
        "Framework :: Django", "Intended Audience :: Developers",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent", "Topic :: Software Development"
    ],
    zip_safe=True,
    packages=[
        'useraudit',
        'useraudit.migrations',
    ],
    include_package_date=True,
)
示例#23
0
setup(
    name='django-formtools',
    version='0.0.1',
    description='Tags for forms',
    long_description='Tools for better forms.',
    author='monoku team',
    author_email='*****@*****.**',
    url='http://www.monoku.com',
    download_url='http://www.monoku.com/django',
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: Console",
        "Environment :: Web Environment",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: BSD License",
        "Natural Language :: English",
        "Natural Language :: Spanish",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 2.6",
        "Topic :: Software Development"
    ],
    packages=packages,
    data_files=data_files,
    install_requires=[
        'django',
    ],
    zip_safe = True,
)
示例#24
0
# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

PACKAGE = 'django_ballads'
VERSION = '0.3'

setup(
    name=PACKAGE, version=VERSION,
    description="Django library for coordinating multi-system transactions (eg database, filesystem, remote API calls).",
    packages=[
        'django_ballads',
    ],
    license='MIT',
    author='James Aylett',
    author_email='*****@*****.**',
    install_requires=[
        'Django~=1.8.0',
    ],
    url = 'https://github.com/jaylett/django-ballads',
    classifiers = [
        'Intended Audience :: Developers',
        'Framework :: Django',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
    ],
)
示例#25
0
文件: setup.py 项目: quanghiem/fap
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

setup(
    name='fap',
    version=__import__('fap').__version__,
    author='Richard Nghiem',
    author_email='*****@*****.**',
    packages=['fap'],
    url='https://github.com/quanghiem/fap/',
    description='fabric deploy tasks similar to capistrano.'
)
示例#26
0
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

import os

install_requires = [
    'Django>=1.3',
]

setup(
    name = "django-agenda",
    version = "0.1",
    url = "http://github.com/fitoria/django-agenda",
    licence = 'MIT',
    description = 'Simple, pluggable and flexible agenda application for Django.',
    author = 'Adolfo Fitoria',
    author_email = '*****@*****.**',
    install_requires = install_requires,
    packages = [],
    include_package_data = True,
    classifiers = [
        'Development Status :: 3 - Alpha',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Licence :: OSI Approved :: MIT Licence',
        'Programming Languaje :: Python',
        'Topic :: Internet :: WWW/HTTP',
    ]
)
示例#27
0
#!/usr/bin/python

# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup
from pixelpond import __version__, __description__

setup(
    name='django-pixelpond',
    version=__version__,
    description=pixelpond.__doc__
    long_description="""django-pixelpond is a reusable Django application that lets you add a artificial life "pond" to your Django-powered website. It's just for fun.""",
    author='Zach Snow',
    author_email='*****@*****.**',
    url='http://zachsnow.com/pixelpond/',
    download_url='http://zachsnow.com/pixelpond/download',
    classifiers=[
        "Development Status :: 1 - Planning",
        "Framework :: Django",
        "Intended Audience :: Science/Research",
        "Intended Audience :: Developers",
        "License :: Public Domain",
        "License :: WTFPL+IPA",
        "Operating System :: OS Independent",
        "Topic :: Scientific/Engineering :: Artificial Life",
    ],
    packages=[
        'pixelpond',
    ],
示例#28
0
#!/usr/bin/python

# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup
from husl import __version__

setup(
    name="husl",
    version=__version__,
    description="Human-friendly HSL",
    license="MIT",
    author_email="*****@*****.**",
    url="http://github.com/boronine/pyhusl",
    keywords="color hsl cie cieluv colorwheel",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Topic :: Software Development",
    ],
    py_modules=["husl"],
    test_suite="tests.husl_test",
)
示例#29
0
# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

setup(
    name='bootstrap_forms',
    version="0.0.1",
    description='',
    long_description='',
    author='Albert O\'Connor',
    author_email='*****@*****.**',
    url='http://albertoconnor.ca',
    download_url='',
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Framework :: Django",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Topic :: Software Development",
    ],
    packages=['bootstrap_forms', 'bootstrap_forms.templatetags'],
)
示例#30
0
文件: setup.py 项目: Calysto/calysto
if svem_flag in sys.argv:
    # Die, setuptools, die.
    sys.argv.remove(svem_flag)

setup(name='calysto',
      version='1.0.6',
      description='Libraries and Languages for Python and IPython',
      long_description="Libraries and Languages for IPython and Python",
      author='Douglas Blank',
      author_email='*****@*****.**',
      url="https://github.com/Calysto/calysto",
      install_requires=['IPython', 'metakernel', 'svgwrite', 'cairosvg',
                        "ipywidgets"],
      packages=['calysto',
                'calysto.util',
                'calysto.widget',
                'calysto.chart',
                'calysto.simulations',
                'calysto.magics',
                'calysto.ai'],
      data_files = [("calysto/images", ["calysto/images/logo-64x64.png",
                                        "calysto/images/logo-32x32.png"])],
      classifiers = [
          'Framework :: IPython',
          'License :: OSI Approved :: BSD License',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 2',
          'Programming Language :: Scheme',
      ]
)
示例#31
0
#!/usr/bin/env python

# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup
from ecg import __version__

setup(name='dicomecg_convert',
      version=__version__,
      description='Dicom ECG Conversion',
      long_description=open('README.md').read(),
      author='Marco De Benedetto',
      author_email='*****@*****.**',
      url='https://github.com/marcodebe/dicomecg_convert',
      download_url='https://github.com/marcodebe/dicomecg_convert/downloads',
      license='MIT',
      packages=['ecg', ],
      )
示例#32
0
import os
import sys

try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

__version__ = '0.1'

setup(
    name='nltools',
    version='0.1',
    author='Luke Chang',
    author_email='*****@*****.**',
    packages=['nltools'],
    package_data={'nltools': ['resources/*']},
    license='LICENSE.txt',
    description='Neurolearn: a web-enabled imaging analysis toolbox',
)

# url='http://github.com/ljchang/neurolearn',
# download_url = 'https://github.com/ljchang/neurolearn/tarball/%s' % __version__,
示例#33
0
setup(
	name = "marrow.schema",
	version = version,
	
	description = description,
	long_description = codecs.open(os.path.join(here, 'README.rst'), 'r', 'utf8').read(),
	url = url,
	
	author = author.name,
	author_email = author.email,
	
	license = 'MIT',
	keywords = '',
	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",
			"Programming Language :: Python :: 2.7",
			"Programming Language :: Python :: 3",
			"Programming Language :: Python :: 3.3",
			"Programming Language :: Python :: 3.4",
			"Programming Language :: Python :: Implementation :: CPython",
			"Programming Language :: Python :: Implementation :: PyPy",
			"Topic :: Software Development :: Libraries :: Python Modules",
			"Topic :: Utilities"
		],
	
	packages = find_packages(exclude=['test', 'example']),
	include_package_data = True,
	package_data = {'': ['README.rst', 'LICENSE.txt']},
	namespace_packages = ['marrow'],
	
	install_requires = [],
	
	extras_require = dict(
			development = tests_require,
		),
	
	tests_require = tests_require,
	
	zip_safe = False,
	cmdclass = dict(
			test = PyTest,
		)
)
示例#34
0
    InstallData.set_build_target_path(build_directory)
    InstallData.set_build_target_parameters(parameters)

    Sdist.set_build_target_path(build_directory)
    Sdist.set_build_target_parameters(parameters)

    makedirs(path.join(build_directory, "src", "dNG"))

    _setup = { "name": "pas-database",
               "version": get_version()[1:],
               "description": "Python Application Services",
               "long_description": """"pas_database" is an adapter and abstraction layer for SQLAlchemy.""",
               "author": "direct Netware Group et al.",
               "author_email": "*****@*****.**",
               "license": "MPL2",
               "url": "https://www.direct-netware.de/redirect?pas;database",

               "platforms": [ "any" ],

               "packages": [ "dNG" ],

               "data_files": [ ( "docs", [ "LICENSE", "README" ]) ],
               "scripts": [ path.join("src", "pas_db_tool.py") ]
             }

    # Override build_py to first run builder.py
    _setup['cmdclass'] = { "build_py": BuildPy, "install_data": InstallData, "sdist": Sdist }

    setup(**_setup)
#
示例#35
0
文件: setup.py 项目: vcip2015/calysto
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
    # Die, setuptools, die.
    sys.argv.remove(svem_flag)

setup(name='calysto',
      version='1.0.6',
      description='Libraries and Languages for Python and IPython',
      long_description="Libraries and Languages for IPython and Python",
      author='Douglas Blank',
      author_email='*****@*****.**',
      url="https://github.com/Calysto/calysto",
      install_requires=[
          'IPython', 'metakernel', 'svgwrite', 'cairosvg', "ipywidgets"
      ],
      packages=[
          'calysto', 'calysto.util', 'calysto.widget', 'calysto.chart',
          'calysto.simulations', 'calysto.magics', 'calysto.ai'
      ],
      data_files=[
          ("calysto/images",
           ["calysto/images/logo-64x64.png", "calysto/images/logo-32x32.png"])
      ],
      classifiers=[
          'Framework :: IPython',
          'License :: OSI Approved :: BSD License',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 2',
          'Programming Language :: Scheme',
      ])
示例#36
0
文件: setup.py 项目: mattst88/portage
setup(
    name="portage",
    version="3.0.30",
    url="https://wiki.gentoo.org/wiki/Project:Portage",
    project_urls={
        "Release Notes":
        "https://gitweb.gentoo.org/proj/portage.git/plain/RELEASE-NOTES",
        "Documentation":
        "https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/Portage",
    },
    author="Gentoo Portage Development Team",
    author_email="*****@*****.**",
    description=
    "Portage is the package management and distribution system for Gentoo",
    license="GPLV2",
    long_description=long_description,
    long_description_content_type="text/markdown",
    package_dir={"": "lib"},
    packages=list(find_packages()),
    # something to cheat build & install commands
    scripts=list(find_scripts()),
    data_files=get_data_files(
        list(get_manpages()) + [
            ["$sysconfdir", ["cnf/etc-update.conf", "cnf/dispatch-conf.conf"]],
            ["$logrotatedir", ["cnf/logrotate.d/elog-save-summary"]],
            [
                "$portage_confdir",
                [
                    "cnf/make.conf.example", "cnf/make.globals",
                    "cnf/repos.conf"
                ],
            ],
            ["$portage_setsdir", ["cnf/sets/portage.conf"]],
            ["$docdir", ["NEWS", "RELEASE-NOTES"]],
            ["$portage_base/bin", ["bin/deprecated-path"]],
            [
                "$portage_confdir/repo.postsync.d",
                ["cnf/repo.postsync.d/example"]
            ],
        ],
        [
            ("etc", "cnf", ("etc-update.conf", "dispatch-conf.conf")),
            ("etc/logrotate.d", "cnf/logrotate.d", ("elog-save-summary", )),
            (
                "share/portage/config/repo.postsync.d",
                "cnf/repo.postsync.d",
                ("example", ),
            ),
            (
                "share/portage/config",
                "cnf",
                ("make.conf.example", "make.globals", "repos.conf"),
            ),
            ("share/portage/config/sets", "cnf/sets", ("*.conf", )),
            ("share/man/man1", "man", ("*.1", )),
            ("share/man/man5", "man", ("*.5", )),
            ("share/portage/doc", "", ("NEWS", "RELEASE-NOTES")),
            ("lib/portage/bin", "bin", ("-m0755", )),
        ],
    ),
    entry_points={
        "console_scripts": [
            "{}=portage.util.bin_entry_point:bin_entry_point".format(
                os.path.basename(path))
            for path in itertools.chain.from_iterable(x_scripts.values())
        ],
    } if create_entry_points else {},
    # create_entry_points disables ext_modules, for pure python
    ext_modules=[] if create_entry_points else [
        Extension(
            name=n,
            sources=m,
            extra_compile_args=[
                "-D_FILE_OFFSET_BITS=64",
                "-D_LARGEFILE_SOURCE",
                "-D_LARGEFILE64_SOURCE",
            ],
        ) for n, m in x_c_helpers.items()
    ],
    cmdclass={
        "build": x_build,
        "build_ext": build_ext,
        "build_man": build_man,
        "build_scripts": x_build_scripts,
        "build_scripts_bin": x_build_scripts_bin,
        "build_scripts_portagebin": x_build_scripts_portagebin,
        "build_scripts_sbin": x_build_scripts_sbin,
        "build_tests": build_tests,
        "clean": x_clean,
        "docbook": docbook,
        "apidoc": apidoc,
        "install": x_install,
        "install_data": x_install_data,
        "install_docbook": install_docbook,
        "install_apidoc": install_apidoc,
        "install_lib": x_install_lib,
        "install_scripts": x_install_scripts,
        "install_scripts_bin": x_install_scripts_bin,
        "install_scripts_portagebin": x_install_scripts_portagebin,
        "install_scripts_sbin": x_install_scripts_sbin,
        "sdist": x_sdist,
        "test": test,
    },
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
        "Operating System :: POSIX",
        "Programming Language :: Python :: 3",
        "Topic :: System :: Installation/Setup",
    ],
    python_requires=">=3.6",
)
示例#37
0
    distrib = setup(name="matplotlib",
          version=__version__,
          description="Python plotting package",
          author="John D. Hunter, Michael Droettboom",
          author_email="*****@*****.**",
          url="http://matplotlib.org",
          long_description="""
          matplotlib strives to produce publication quality 2D graphics
          for interactive graphing, scientific publishing, user interface
          development and web application servers targeting multiple user
          interfaces and hardcopy output formats.  There is a 'pylab' mode
          which emulates matlab graphics.
          """,
          license="BSD",
          packages=packages,
          platforms='any',
          py_modules=py_modules,
          ext_modules=ext_modules,
          package_dir=package_dir,
          package_data=package_data,
          classifiers=classifiers,
          download_url="https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-{0}/matplotlib-{0}.tar.gz".format(__version__),

          # List third-party Python packages that we require
          install_requires=install_requires,

          # Automatically 2to3 source on Python 3.x
          use_2to3=True,

          # matplotlib has C/C++ extensions, so it's not zip safe.
          # Telling setuptools this prevents it from doing an automatic
          # check for zip safety.
          zip_safe=False,

          # Install our nose plugin so it will always be found
          entry_points={
              'nose.plugins.0.10': [
                  'KnownFailure = matplotlib.testing.noseclasses:KnownFailure'
                ]
            },
         )
示例#38
0
setup(
    name="WebCore.dispatch.object",
    version=version,
    description=description,
    long_description=codecs.open(os.path.join(here, 'README.rst'), 'r',
                                 'utf8').read(),
    url=url,
    download_url=
    'https://warehouse.python.org/project/WebCore.dispatch.object/',
    author=author.name,
    author_email=author.email,
    license='MIT',
    keywords='',
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Internet :: WWW/HTTP :: WSGI",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    packages=find_packages(exclude=['bench', 'docs', 'example', 'test']),
    include_package_data=True,
    namespace_packages=[
        'web',  # primary namespace
        'web.dispatch',  # extensible dispatch mechanisms
    ],
    entry_points={
        'web.dispatch': [
            'object = web.dispatch.object:ObjectDispatch',
        ],
    },
    install_requires=[
        'marrow.package<2.0',  # dynamic execution and plugin management
        'WebOb',  # HTTP request and response objects, and HTTP status code exceptions
    ],
    extras_require=dict(development=tests_require, ),
    tests_require=tests_require,
    dependency_links=[],
    zip_safe=True,
    cmdclass=dict(test=PyTest, ))
示例#39
0
文件: setup.py 项目: 10sr/hue
setup(
    name='South',
    version=__version__,
    description='South: Migrations for Django',
    long_description='South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features.',
    author='Andrew Godwin & Andy McCurdy',
    author_email='*****@*****.**',
    url='http://south.aeracode.org/',
    download_url='http://south.aeracode.org/wiki/Download',
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "Intended Audience :: System Administrators",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: OS Independent",
        "Topic :: Software Development",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
    ],
    packages=[
        'south',
        'south.creator',
        'south.db',
        'south.management',
        'south.introspection_plugins',
        'south.hacks',
        'south.migration',
        'south.tests',
        'south.db.sql_server',
        'south.management.commands',
        'south.tests.circular_a',
        'south.tests.emptyapp',
        'south.tests.deps_a',
        'south.tests.fakeapp',
        'south.tests.brokenapp',
        'south.tests.circular_b',
        'south.tests.otherfakeapp',
        'south.tests.deps_c',
        'south.tests.deps_b',
        'south.tests.non_managed',
        'south.tests.circular_a.migrations',
        'south.tests.emptyapp.migrations',
        'south.tests.deps_a.migrations',
        'south.tests.fakeapp.migrations',
        'south.tests.brokenapp.migrations',
        'south.tests.circular_b.migrations',
        'south.tests.otherfakeapp.migrations',
        'south.tests.deps_c.migrations',
        'south.tests.deps_b.migrations',
        'south.tests.non_managed.migrations',
        'south.utils',
    ],
)
示例#40
0
setup(
    name=PACKAGE, version=VERSION,
    description="Simple system for testing search results, and using that to measure effectiveness of your current search ranking",
    packages=[ 'searchtester' ],
    license='MIT',
    author='Art Discovery Ltd',
    maintainer='James Aylett',
    maintainer_email='*****@*****.**',
    install_requires=[
        'lxml',
        'eventlet',
        'unittest2',
    ],
    # url = 'http://code.artfinder.com/projects/searchtester/',
    classifiers=[
        'Intended Audience :: Developers',
        'Environment :: Console',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2',
        'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
        'Topic :: Software Development :: Quality Assurance',
        'Topic :: Software Development :: Testing',
    ],
    entry_points= {
        'console_scripts': [
            'searchtest = searchtester:runtest',
            'scoretest = searchtester:scoretest',
        ],
    },
    test_suite="unittest2.collector",
)
示例#41
0
# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

PACKAGE = 'django-moreviews'
VERSION = '0.1'

setup(
    name=PACKAGE,
    version=VERSION,
    description="Django class-based views that complement the built-in ones.",
    packages=['moreviews'],
    license='MIT',
    author='Art Discovery Ltd',
    maintainer='James Aylett',
    maintainer_email='*****@*****.**',
    url='http://tartarus.org/james/computers/django/',
)
示例#42
0
import os
import sys

try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

__version__ = '0.2.1'

setup(
    name='nltools',
    version='0.2.1',
    author='Luke Chang',
    author_email='*****@*****.**',
    packages=['nltools'],
    package_data={'nltools': ['resources/*']},
    license='LICENSE.txt',
    description='A Python package to analyze neuroimaging data',
    long_description=
    'nltools is a collection of python tools to perform preprocessing, univariate GLMs, and predictive multivariate modeling of neuroimaging data. It is the analysis engine powering www.neuro-learn.org.',
    url='http://neurolearn.readthedocs.org/en/latest/',
    keywords=['neuroimaging', 'preprocessing', 'analysis', 'machine-learning'],
    classifiers=[
        "Programming Language :: Python",
        "Operating System :: OS Independent",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: MIT License",
    ])
示例#43
0
except ImportError:
    from distutils.core import setup

setup(
    name='django-logentry-admin',
    author='Yuri Prezument',
    author_email='*****@*****.**',
    version='0.1.3',
    packages=['logentry_admin'],
    package_data={
        'logentry_admin': ['templates/admin/admin/logentry/change_form.html']
    },
    license='ISC',
    url='http://github.com/yprez/django-logentry-admin',
    description='Show all LogEntries in the Django admin site.',
    long_description=open('README.rst').read(),
    install_requires=[
        'Django>=1.4',
    ],
    classifiers=(
        'Development Status :: 3 - Alpha',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: ISC License (ISCL)',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
    ),
)
示例#44
0
# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

PACKAGE = "django-jcache"
VERSION = "0.6-af4"

setup(
    name=PACKAGE,
    version=VERSION,
    description="JCache support for Django",
    packages=["jcache"],
    license="MIT",
    author="Art Discovery Ltd",
    maintainer="James Aylett",
    maintainer_email="*****@*****.**",
    install_requires=["Django>=1.3", "celery"],
    # url = 'http://code.artfinder.com/projects/django-jcache/',
    classifiers=[
        "Intended Audience :: Developers",
        "Framework :: Django",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 2",
    ],
)
示例#45
0
import os
import sys

try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

__version__ = '0.1'

setup(
    name='nltools',
    version='0.1',
    author='Luke Chang',
    author_email='*****@*****.**',
    packages=['nltools'],
    package_data={'nltools': ['resources/*']},
    license='LICENSE.txt',
    description='Neurolearn: a web-enabled imaging analysis toolbox',
)

  # url='http://github.com/ljchang/neurolearn',
    # download_url = 'https://github.com/ljchang/neurolearn/tarball/%s' % __version__,
示例#46
0
setup(
	name = "uri",
	version = version,
	description = description,
	long_description = codecs.open(os.path.join(here, 'README.rst'), 'r', 'utf8').read(),
	url = url,
	author = author.name,
	author_email = author.email,
	license = 'MIT',
	keywords = ['type', 'URI', 'URL', 'rfc', 'rfc'],
	classifiers = [
			trove_map[version_info.releaselevel],
			"Intended Audience :: Developers",
			"License :: OSI Approved :: MIT License",
			"Operating System :: OS Independent",
			"Programming Language :: Python",
			"Programming Language :: Python :: 2",
			"Programming Language :: Python :: 2.7",
			"Programming Language :: Python :: 3",
			"Programming Language :: Python :: 3.2",
			"Programming Language :: Python :: 3.3",
			"Programming Language :: Python :: 3.4",
			"Programming Language :: Python :: 3.5",
			"Programming Language :: Python :: 3.6",
			"Programming Language :: Python :: Implementation :: CPython",
			"Programming Language :: Python :: Implementation :: PyPy",
			"Topic :: Software Development :: Libraries :: Python Modules",
			"Topic :: Utilities"
		],
	
	packages = find_packages(exclude=['test', 'htmlcov']),
	include_package_data = True,
	package_data = {'': ['README.rst', 'LICENSE.txt']},
	zip_safe = False,
	
	# ## Dependency Declaration
	
	setup_requires = [
			'pytest-runner',
		] if {'pytest', 'test', 'ptr'}.intersection(sys.argv) else [],
	
	install_requires = [
			'pathlib2; python_version < "3.4"',  # Path manipulation utility.
		],
	
	extras_require = dict(
			http = ['requests'],  # Support for the http:// and https:// protocols.
			development = tests_require + [  # Development-time dependencies.
					'pre-commit',  # Commit hooks for code quality.
				],
		),
	
	tests_require = tests_require,
	
	# ## Plugin Registration
	
	entry_points = {
				'uri.scheme': [
						# https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
						# https://www.w3.org/wiki/UriSchemes
						'file = uri.scheme:URLScheme',
						'ftp = uri.scheme:URLScheme',
						'http = uri.scheme:URLScheme',
						'https = uri.scheme:URLScheme',
						'irc = uri.scheme:URLScheme',
						'ldap = uri.scheme:URLScheme',
						'telnet = uri.scheme:URLScheme',
						'sftp = uri.scheme:URLScheme',
						# Care of https://github.com/APSL/uri/commit/709b4b73daae7b8651b92fd4fa63af41c4db2986
						'mysql = uri.scheme:URLScheme',
						'redis = uri.scheme:URLScheme',
						# https://docs.mongodb.com/manual/reference/connection-string
						'mongodb = uri.scheme:URLScheme',
					],
			},
)
示例#47
0
# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

PACKAGE = 'django-moreviews'
VERSION = '0.1'

setup(
    name=PACKAGE, version=VERSION,
    description="Django class-based views that complement the built-in ones.",
    packages=[ 'moreviews' ],
    license='MIT',
    author='Art Discovery Ltd',
    maintainer='James Aylett',
    maintainer_email='*****@*****.**',
    url = 'http://tartarus.org/james/computers/django/',
)
示例#48
0
# Use setuptools if we can
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

PACKAGE = 'django_override_db_tables'
VERSION = '0.2'

setup(
    name=PACKAGE, version=VERSION,
    description="Context manager for overriding Django ORM database tables.",
    author='Rockabox Media Ltd',
    author_email='*****@*****.**',
    packages=[
        'django_override_db_tables',
    ],
    license='MIT',
    install_requires=[
        'Django>=1.6.0',
    ],
    classifiers=[
        'Intended Audience :: Developers',
        'Framework :: Django',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2',
    ],
)
示例#49
0
import os

install_requires = [
    'hamlpy',
]

setup(
    name = "django-haml",
    version = "0.1",
    url = "http://github.com/fitoria/django-haml",
    licence = 'MIT',
    description = 'Django haml management command.',
    author = 'Adolfo Fitoria',
    author_email = '*****@*****.**',
    install_requires = install_requires,
    packages = ['haml', 
                'haml.management',
                'haml.management.commands'],
    include_package_data = True,
    classifiers = [
        'Development Status :: 3 - Alpha',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Licence :: OSI Approved :: MIT Licence',
        'Programming Languaje :: Python',
        'Topic :: Internet :: WWW/HTTP',
    ],
    test_suite = "tests",
)
示例#50
0
#!/usr/bin/env python

try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

setup(
    name='Djamboloader',
    version='0.1.2',
    description='A python/django based combo loader for javascript and css',
    long_description='djamboloader (for django combo loader) is a simple django application used to load and combine a list of javascript or css files from the filesystem for a specific library.',
    author='Julien Lauron',
    url='https://github.com/jlauron/djamboloader',
    download_url='https://github.com/jlauron/djamboloader/downloads',
    classifiers=[
        "Framework :: Django",
        "Intended Audience :: Developers",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Topic :: Software Development"
    ],
    packages=[
        'djamboloader',
        'djamboloader.util',
    ],
)
#!/usr/bin/env python

try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup


setup(name='naiveBayesClassifier',
      version='0.1.2.1',
      license='MIT',
      description='yet another general purpose naive bayesian classifier',
      long_description=open('README.md').read(),
      url='https://github.com/muatik/naive-bayes-classifier',
      author='Mustafa Atik',
      author_email='*****@*****.**',
      maintainer='Nejdet Yucesoy',
      maintainer_email='*****@*****.**',
      packages=['naiveBayesClassifier'],
      platforms='any')
示例#52
0
VERSION = '1.0'

package_data = {
    'django_cape': ['templates/cape/*.html'],
}

setup(
    name=PACKAGE,
    version=VERSION,
    description=
    "Django app that provides CAPE templates for progressive enhancement.",
    packages=[
        'django_cape',
    ],
    package_data=package_data,
    license='MIT',
    author='James Aylett and Mark Norman Francis',
    author_email='*****@*****.**',
    install_requires=[
        'Django>=1.6.0',
    ],
    url='https://github.com/devfort/django-cape',
    classifiers=[
        'Intended Audience :: Developers',
        'Framework :: Django',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
    ],
)
示例#53
0
try:
    from setuptools.core import setup
except ImportError:
    from distutils.core import setup

setup(name='cliui',
      version='0.0.1',
      author='Feng Zhou',
      packages=['cliui'],
      url='https://github.com/zweifisch/cliui',
      description='utils for command line user iteraction',
      author_email='*****@*****.**')
示例#54
0
def main():

    version_str, version = get_version()

    files = [ abspath(join('src', f)) for f in os.listdir('src') if f.endswith('.cpp') ]
    libraries = []

    extra_compile_args = None
    extra_link_args    = None

    if os.name == 'nt':
        # if not '--compiler=mingw32' in sys.argv:
        #     # Windows native
        #     files.append(join('src', 'pyodbc.rc'))
        #     extra_compile_args = ['/W4']
        libraries.append('odbc32')

        # extra_compile_args = ['/W4', '/Zi', '/Od']
        # extra_link_args    = ['/DEBUG']

    elif os.environ.get("OS", '').lower().startswith('windows'):
        # Windows Cygwin (posix on windows)
        # OS name not windows, but still on Windows
        libraries.append('odbc32')

    elif sys.platform == 'darwin':
        # OS/X now ships with iODBC.
        libraries.append('iodbc')

    else:
        # Other posix-like: Linux, Solaris, etc.

        # Python functions take a lot of 'char *' that really should be const.  gcc complains about this *a lot*
        extra_compile_args = ['-Wno-write-strings']

        # What is the proper way to detect iODBC, MyODBC, unixODBC, etc.?
        libraries.append('odbc')

    macros = [('PYODBC_%s' % name, value) for name,value in zip(['MAJOR', 'MINOR', 'MICRO', 'BUILD'], version)]

    # This isn't the best or right way to do this, but I don't see how someone is supposed to sanely subclass the build
    # command.
    try:
        sys.argv.remove('--assert')
        macros.append(('PYODBC_ASSERT', 1))
    except ValueError:
        pass

    try:
        sys.argv.remove('--trace')
        macros.append(('TRACE_ALL', 1))
    except ValueError:
        pass

    if exists('MANIFEST'):
        os.remove('MANIFEST')

    setup (name = "pyodbc",
           version = version_str,
           description = "DB API Module for ODBC",

           long_description = ('A Python DB API 2 module for ODBC. This project provides an up-to-date, '
                               'convenient interface to ODBC using native data types like datetime and decimal.'),

           maintainer       = "Michael Kleehammer",
           maintainer_email = "*****@*****.**",

           ext_modules = [Extension('pyodbc', files,
                                     libraries=libraries,
                                     define_macros = macros,
                                     extra_compile_args=extra_compile_args,
                                     extra_link_args=extra_link_args
                                     )],

           classifiers = ['Development Status :: 5 - Production/Stable',
                           'Intended Audience :: Developers',
                           'Intended Audience :: System Administrators',
                           'License :: OSI Approved :: MIT License',
                           'Operating System :: Microsoft :: Windows',
                           'Operating System :: POSIX',
                           'Programming Language :: Python',
                           'Topic :: Database',
                          ],

           url = 'http://code.google.com/p/pyodbc',
           download_url = 'http://code.google.com/p/pyodbc/downloads/list',
           cmdclass = { 'version' : VersionCommand })
示例#55
0
setup(
    name='South',
    version=__version__,
    description='South: Migrations for Django',
    long_description=
    'South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features.',
    author='Andrew Godwin & Andy McCurdy',
    author_email='*****@*****.**',
    url='http://south.aeracode.org/',
    download_url='http://south.aeracode.org/wiki/Download',
    classifiers=[
        "Development Status :: 5 - Production/Stable", "Framework :: Django",
        "Intended Audience :: Developers",
        "Intended Audience :: System Administrators",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: OS Independent", "Topic :: Software Development"
    ],
    packages=[
        'south',
        'south.creator',
        'south.db',
        'south.management',
        'south.introspection_plugins',
        'south.hacks',
        'south.migration',
        'south.tests',
        'south.db.sql_server',
        'south.management.commands',
        'south.tests.circular_a',
        'south.tests.emptyapp',
        'south.tests.deps_a',
        'south.tests.fakeapp',
        'south.tests.brokenapp',
        'south.tests.circular_b',
        'south.tests.otherfakeapp',
        'south.tests.deps_c',
        'south.tests.deps_b',
        'south.tests.non_managed',
        'south.tests.circular_a.migrations',
        'south.tests.emptyapp.migrations',
        'south.tests.deps_a.migrations',
        'south.tests.fakeapp.migrations',
        'south.tests.brokenapp.migrations',
        'south.tests.circular_b.migrations',
        'south.tests.otherfakeapp.migrations',
        'south.tests.deps_c.migrations',
        'south.tests.deps_b.migrations',
        'south.tests.non_managed.migrations',
        'south.utils',
    ],
)
示例#56
0
文件: setup.py 项目: IITDBGroup/cape
setup(
    name=PACKAGE,
    version=VERSION,
    author='US <*****@*****.**>',
    author_email='*****@*****.**',
    url='https://github.com/iitdbgroup/cape',
    install_requires=[
        'certifi==2018.4.16', 'chardet==3.0.4', 'colorful==0.4.1', 'geopy',
        'idna==2.7', 'matplotlib==3.0.2', 'numpy==1.19.5', 'pandas==0.23.4',
        'patsy==0.5.1', 'pkginfo==1.4.2', 'psycopg2-binary==2.7.6',
        'python-dateutil==2.7.3', 'pytz==2018.5', 'requests==2.19.1',
        'requests-toolbelt==0.8.0', 'scikit-learn==0.19.2', 'scipy==1.2.1',
        'six==1.11.0', 'sklearn==0.0', 'SQLAlchemy==1.2.10',
        'statsmodels==0.9.0', 'tqdm==4.23.4', 'urllib3==1.23',
        'pandastable==0.12.0'
    ],
    entry_points={
        'console_scripts': [
            'capexplain=capexplain.cape:main',
            'capegui=capexplain.gui.Cape_GUI:main'
        ]
    },
    description=
    'Cape - a system for explaining outliers in aggregation results through counterbalancing.',
    long_description=long_description,
    long_description_content_type='text/markdown',
    packages=find_packages(),
    keywords='db',
    platforms='any',
    license='Apache2',
    classifiers=[
        'Programming Language :: Python',
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Intended Audience :: End Users/Desktop',
        'Intended Audience :: Developers',
        'Topic :: Scientific/Engineering :: Information Analysis',
    ],
)