Пример #1
0
from setuptools import find_packages

try:
    from restricted_pkg import setup
except ImportError:
    from pip._internal import main
    main(['install', 'restricted_pkg'])
    from restricted_pkg import setup

__version__ = '0.1.0'
__project__ = 'fut_squad_evolver'

setup(name=__project__,
      version=__version__,
      description="",
      url="",
      author='Jan-Benedikt Jagusch',
      author_email='*****@*****.**',
      license='MIT',
      packages=find_packages(),
      package_data={},
      include_package_data=True,
      python_requires='>=3.6',
      install_requires=[
          'numpy==1.16.1', 'pandas==0.24.1', 'xlrd==1.2.0', 'kaggle==1.5.3',
          'flask==1.0.2'
      ],
      zip_safe=False)
Пример #2
0
import imp
from setuptools import find_packages

try:
    from restricted_pkg import setup
except:
    # allow falling back to setuptools only if
    # we are not trying to upload
    if 'upload' in sys.argv:
        raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
    from setuptools import setup

requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))

setup(
    name='dusty',
    version='0.0.1',
    description='Docker-based development environment manager',
    url='https://github.com/gamechanger/dusty',
    private_repository='gamechanger',
    author='GameChanger',
    author_email='*****@*****.**',
    packages=find_packages(),
    install_requires=requirements.install_requires,
    tests_require=requirements.test_requires,
    test_suite="nose.collector",
    entry_points={'console_scripts':
                  ['dusty = dusty.cli.__init__:main']},
    zip_safe=False
)
Пример #3
0

PACKAGE = 'example'


setup(
    name="example_restricted_pkg",
    private_repository="https://@pypi.private.example.com/",
    version=get_version(PACKAGE),
    author="Raphaël Barrois",
    author_email="*****@*****.**",
    description="A simple example of a private package",
    license="Public domain",
    keywords=['pypi', 'private', 'repository'],
    url="http://github.com/rbarrois/restricted_pkg",
    download_url="http://pypi.python.org/pypi/restricted_pkg/",
    packages=find_packages(),
    install_requires=[
        'distribute',
        'restricted_pkg',
    ],
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: Public Domain",
        "Topic :: Software Development :: Libraries :: Python Modules",
        'Operating System :: OS Independent',
        'Programming Language :: Python',
    ],
)