Exemple #1
0
setup(
    name='pykern',
    description='Python application support',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='http://pykern.org',
    extras_require={
        'jupyterhub': [
            # Really want git versions, but this fmt is invalid:
            # git+git://github.com/jupyterhub/jupyterhub
            # git+git://github.com/jupyterhub/dockerspawner
            # git+git://github.com/jupyterhub/oauthenticator
            'jupyterhub',
            'dockerspawner',
            'oauthenticator',
        ],
    },
    entry_points={
        'pytest11': ['pykern = pykern.pytest_plugin'],
    },
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Topic :: Utilities',
    ],
)
Exemple #2
0
pksetup.setup(
    name='shadow3',
    packages=['Shadow'],
    url='http://forge.epn-campus.eu/projects/shadow3',
    license='http://www.gnu.org/licenses/gpl-3.0.html',
    author='Franco Cerrina, Chris Welnak, G.J. Chen, and M. Sanchez del Rio',
    author_email='*****@*****.**',
    description=
    'SHADOW is an open source ray tracing code for modeling optical systems.',
    pksetup={
        'extra_directories': ['c', 'def', 'fortran', 'examples'],
    },
    libraries=[
        (
            'shadow3c',
            {
                'some-random-param':
                1,
                'sources': [
                    'c/shadow_bind_c.c',
                    # The order of these files matters, because fortran
                    # compilers need the "*.mod" files for "use" statements
                    'fortran/shadow_version.f90',
                    'fortran/shadow_globaldefinitions.f90',
                    'fortran/stringio.f90',
                    'fortran/gfile.f90',
                    'fortran/shadow_beamio.f90',
                    'fortran/shadow_math.f90',
                    'fortran/shadow_variables.f90',
                    'fortran/shadow_roughness.f90',
                    'fortran/shadow_kernel.f90',
                    'fortran/shadow_synchrotron.f90',
                    'fortran/shadow_pre_sync.f90',
                    'fortran/shadow_pre_sync_urgent.f90',
                    'fortran/shadow_preprocessors.f90',
                    'fortran/shadow_postprocessors.f90',
                    'fortran/shadow_bind_f.f90',
                    'fortran/shadow_crl.f90',
                ],
                'macros': [('_COMPILE4NIX', 1)],
                'include_dirs': ['def', 'fortran', 'c'],
                # Can't use extra_compiler_args, because applied to all
                # compilers, and some flags are only used. See BuildClib
            }),
    ],
    cmdclass={
        'build_clib': BuildClib,
        'build_src': pksetup.NullCommand,
    },
    ext_modules=[
        setuptools.Extension(
            name='Shadow.ShadowLib',
            sources=['c/shadow_bind_python.c'],
            include_dirs=['c', 'def', numpy.get_include()],
            libraries=['shadow3c', 'gfortran'],
        ),
    ],
)
Exemple #3
0
pksetup.setup(
    name='rslinac',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description='description',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rslinac',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
    ext_modules=[
        Extension(
            name='rslinac.pyhellweg',
            define_macros=[('RSLINAC', 1)],
            include_dirs=[_LIB_DIR, _PHYS_DIR],
            language='c++',
            sources=_get_src_files(_PHYS_DIR, 'cpp') +
            _get_src_files(_LIB_DIR, 'cpp') + ['pyhellweg.cpp'],
            extra_compile_args=_get_compile_args(),
        ),
    ],
)
Exemple #4
0
# -*- coding: utf-8 -*-
"""RadTrack setup script.

:copyright: Copyright (c) 2015 RadiaBeam Technologies, LLC.  All Rights Reserved.
:license: Apache, see LICENSE for more details.
"""

from pykern import pksetup

pksetup.setup(
    name='radtrack',
    description='RadTrack is an open source framework for working with codes that model particle dynamics and electromagnetic radiation.',
    author='RadiaBeam Technologies, LLC',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    author_email='*****@*****.**',
    url='http://radtrack.org',
)
Exemple #5
0
# -*- coding: utf-8 -*-
u"""ioptics setup script

:copyright: Copyright (c) 2016 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from pykern.pksetup import setup

setup(
    name='ioptics',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description=
    'Python tools and supporting files specific to the IOPTICS SBIR project.',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/ioptics',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #6
0
:copyright: Copyright (c) 2016 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
try:
    from pykern import pksetup
except ImportError:
    import pip
    pip.main(['install', '--upgrade', 'pykern'])
    from pykern import pksetup

pksetup.setup(
    name='rsnotebooks',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description='Example Jupyter notebooks for use with RadiaSoft container',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rsnotebooks',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #7
0
# -*- coding: utf-8 -*-
u"""sudoku setup script

:copyright: Copyright (c) 2020 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from pykern import pksetup

pksetup.setup(
    name='sudoku',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description='sudoku solver',
    install_requires=[
        'pykern',
    ],
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/sudoku',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #8
0
u"""rsfbpic setup script

:copyright: Copyright (c) 2018 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from pykern import pksetup

pksetup.setup(
    name='rsfbpic',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description=
    'iPython notebooks and data processing tools for modeling wake functions in plasma accelerators using the FBPIC code.',
    install_requires=[
        'pykern',
    ],
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rsfbpic',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #9
0
# -*- coding: utf-8 -*-
u"""rsoopic setup script

:copyright: Copyright (c) 2016 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from pykern.pksetup import setup

setup(
    name='rsoopic',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description=
    'Python implementation of some aspects of the C/C++ code XOOPIC',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rsoopic',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #10
0
u"""SiRepo setup script

:copyright: Copyright (c) 2015 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from pykern.pksetup import setup

setup(
    name='sirepo',
    description='accelerator code gui',
    author='RadiaSoft LLC.',
    author_email='*****@*****.**',
    url='http://sirepo.com',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Framework :: Flask',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: JavaScript',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Topic :: Scientific/Engineering :: Physics',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
    ],
)
Exemple #11
0
:copyright: Copyright (c) 2016 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
try:
    from pykern import pksetup
except ImportError:
    import pip
    pip.main(['install', '--upgrade', 'pykern'])
    from pykern import pksetup


pksetup.setup(
    name='rsfriction',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description='Python library for simulating the dynamical friction force exerted on ions by magnetized electrons',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rsfriction',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #12
0
# -*- coding: utf-8 -*-
u"""rscooler setup script

:copyright: Copyright (c) 2016 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from pykern.pksetup import setup

setup(
    name='rscooler',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description='Python tools and files specific to the MCOOL SBIR project.',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rscooler',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #13
0
pksetup.setup(
    name='rsopt',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description='A Python library with tools for optimization problems',
    install_requires=[
        'pykern',
        'libEnsemble',
        'numpy',
        'nlopt',
        'mpmath'
    ],
    extras_require={
        'nersc': ['rsbeams@git+https://github.com/radiasoft/rsbeams',
                  'lume-genesis@git+https://github.com/cchall/lume-genesis',
                    # Inherited from sirepo
                    # sirepo binary build fails so it needs to be installed with --no-deps
                    'numconv',
                    'flask',
                    'user-agents',
                    'aenum',
                    'SQLAlchemy'
                    ],
        'full': [
            'rsbeams@git+https://github.com/radiasoft/rsbeams',
            'sirepo@git+https://github.com/radiasoft/sirepo',
            'lume-genesis@git+https://github.com/cchall/lume-genesis'
        ]
    },
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rsopt',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #14
0
pksetup.setup(
    name='shadow3',
    packages=['Shadow'],
    url='http://forge.epn-campus.eu/projects/shadow3',
    license='http://www.gnu.org/licenses/gpl-3.0.html',
    author='Franco Cerrina, Chris Welnak, G.J. Chen, and M. Sanchez del Rio',
    author_email='*****@*****.**',
    description='SHADOW is an open source ray tracing code for modeling optical systems.',
    pksetup={
        'extra_directories': ['c', 'def', 'fortran', 'examples'],
    },
    libraries=[
        ('shadow3c', {
            'some-random-param': 1,
            'sources': [
                'c/shadow_bind_c.c',
                # The order of these files matters, because fortran
                # compilers need the "*.mod" files for "use" statements
                'fortran/shadow_version.f90',
                'fortran/shadow_globaldefinitions.f90',
                'fortran/stringio.f90',
                'fortran/gfile.f90',
                'fortran/shadow_beamio.f90',
                'fortran/shadow_math.f90',
                'fortran/shadow_variables.f90',
                'fortran/shadow_roughness.f90',
                'fortran/shadow_kernel.f90',
                'fortran/shadow_synchrotron.f90',
                'fortran/shadow_pre_sync.f90',
                'fortran/shadow_pre_sync_urgent.f90',
                'fortran/shadow_preprocessors.f90',
                'fortran/shadow_postprocessors.f90',
                'fortran/shadow_bind_f.f90',
                'fortran/shadow_crl.f90',
            ],
            'macros': [('_COMPILE4NIX', 1)],
            'include_dirs': ['def', 'fortran', 'c'],
            # Can't use extra_compiler_args, because applied to all
            # compilers, and some flags are only used. See BuildClib
        }),
    ],
    cmdclass={
        'build_clib': BuildClib,
        'build_src': pksetup.NullCommand,
    },
    ext_modules=[
        setuptools.Extension(
            name='Shadow.ShadowLib',
            sources=['c/shadow_bind_python.c'],
            include_dirs=['c', 'def', numpy.get_include()],
            libraries=['shadow3c', 'gfortran'],
        ),
    ],
)
Exemple #15
0
:copyright: Copyright (c) 2016 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
try:
    from pykern import pksetup
except ImportError:
    import pip
    pip.main(['install', '--upgrade', 'pykern'])
    from pykern import pksetup

pksetup.setup(
    name='rsfriction',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description=
    'Python library for simulating the dynamical friction force exerted on ions by magnetized electrons',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rsfriction',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #16
0
# -*- coding: utf-8 -*-
u"""rssynergia setup script

:copyright: Copyright (c) 2015 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from pykern.pksetup import setup

setup(
    name="rssynergia",
    author="RadiaSoft LLC",
    author_email="*****@*****.**",
    description="Support tools for Synergia",
    license="http://www.apache.org/licenses/LICENSE-2.0.html",
    url="https://github.com/radiasoft/rssynergia",
    classifiers=[
        "Development Status :: 2 - Pre-Alpha",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: Apache Software License",
        "Natural Language :: English",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python",
        "Topic :: Utilities",
    ],
)
Exemple #17
0
from pykern import pksetup

pksetup.setup(
    name='rsflash',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description=
    'Tools for performing and analyzing FLASH simulations of capillary discharge plasmas',
    install_requires=[
        'h5py',
        'matplotlib',
        'numpy',
        'pykern',
        'scipy',
        'yt',
    ],
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rsflash',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #18
0
# -*- coding: utf-8 -*-
u"""rszgoubi setup script

:copyright: Copyright (c) 2017 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
# All imports (except __future__) must come after this block.
# setuptools, in particular, caches data about the current state
# of modules so it has to be imported after the pykern import.
from pykern import pksetup

pksetup.setup(
    name='rszgoubi',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description='Python library for working with the Zgoubi spin dynamics code',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rszgoubi',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #19
0
# -*- coding: utf-8 -*-
u"""rsbeams setup script

:copyright: Copyright (c) 2016 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from pykern.pksetup import setup

setup(
    name='rsbeams',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description='Code-agnostic Python utilities for particle beam simulations',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rsbeams',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #20
0
# -*- coding: utf-8 -*-
u"""rnpix setup script

:copyright: Copyright (c) 2016 Rob Nagler.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from pykern.pksetup import setup

setup(
    name='rnpix',
    author='Rob Nagler',
    author_email='*****@*****.**',
    description='Photo library tools',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='http://github.com/robnagler/rnpix',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)
Exemple #21
0
setup(
    name='pykern',
    description='Python application support',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    install_requires=[
        'argh>=0.26',
        'future>=0.14',
        'github3.py>=1.1',
        'jinja2>=2.7',
        'py-cpuinfo>=0.2',
        'py>=1.4',
        # capsys may not be working right in 3.3
        'pytest>=2.7,<=3.2.3',
        'pytest-forked>=0.2',
        'pytz>=2015.4',
        'pyyaml>=3.0',
        'requests>=2.7',
        'setuptools>=20.3',
        'six>=1.9',
        'Sphinx>=1.3.5',
        'twine>=1.9',
        'tox>=1.9',
        'path.py>=7.7.1',
        'python-dateutil>=2.4.2',
    ],
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='http://pykern.org',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Topic :: Utilities',
    ],
)
Exemple #22
0
:copyright: Copyright (c) 2016 RadiaSoft LLC.  All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
try:
    from pykern import pksetup
except ImportError:
    import pip
    pip.main(['install', '--upgrade', 'pykern'])
    from pykern import pksetup


pksetup.setup(
    name='rsnotebooks',
    author='RadiaSoft LLC',
    author_email='*****@*****.**',
    description='Example Jupyter notebooks for use with RadiaSoft container',
    license='http://www.apache.org/licenses/LICENSE-2.0.html',
    url='https://github.com/radiasoft/rsnotebooks',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ],
)