commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
176ca1037a13d1e1316038bb6efcc32f11e3d01a | use 2 spaces indentation | NiklasRosenstein/localimport | setup.py | setup.py | import os
import sys
from setuptools import setup
def restify():
if os.path.isfile('README.md'):
if os.system('pandoc -s README.md -o README.rst') != 0:
print('----------------------------------------------------------')
print(
'WARNING: pandoc command failed, could not restify README.md')
... | import os
import sys
from setuptools import setup
def restify():
if os.path.isfile('README.md'):
if os.system('pandoc -s README.md -o README.rst') != 0:
print('----------------------------------------------------------')
print(
'WARNING: pandoc command failed, coul... | mit | Python |
5f4e866eea8a915ab701017a4d4e6bce812b8e37 | bump version | STUnitas/metabase-py | setup.py | setup.py | from setuptools import setup
__version__ = "1.0.2"
setup(
name="metabase",
version=__version__,
description='python wrapper for metabase api',
url="https://github.com/stunitas/metabase-py",
license="MIT License",
author="flrngel",
author_email="flrngel@gmail.com... | from setuptools import setup
__version__ = "1.0.1"
setup(
name="metabase",
version=__version__,
description='python wrapper for metabase api',
url="https://github.com/stunitas/metabase-py",
license="MIT License",
author="flrngel",
author_email="flrngel@gmail.com... | mit | Python |
77b908a54debd0d8bbef2945ff85507b365b03e8 | revert setup_requires | cedar101/twitter-korean-py | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
setup_requires=['pbr>=1.9', #'setuptools>=17.1',
'six', 'future',
'maven-artifact>=0.1.4'],
pbr=True,
dependency_links = [
'git+https://github.com/hamnis/maven-artifact.git@0.1.... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
setup_requires=['pbr>=1.9', 'setuptools>=17.1',
'six', 'future',
'maven-artifact>=0.1.4'],
pbr=True,
dependency_links = [
'git+https://github.com/hamnis/maven-artifact.git@0.1.4... | apache-2.0 | Python |
9d678f5657c1f301584840ccf22f8c270230e941 | fix pep8 error | scattermagic/django-wizard-builder,scattermagic/django-wizard-builder,SexualHealthInnovations/callisto-core,SexualHealthInnovations/django-wizard-builder,project-callisto/callisto-core,SexualHealthInnovations/callisto-core,project-callisto/callisto-core,SexualHealthInnovations/django-wizard-builder | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def get_version(*file_paths):
filename = os.path.join(os.path.dirname(__file__), *file_paths)
version_file = open(filename).read()
ve... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def get_version(*file_paths):
filename = os.path.join(os.path.dirname(__file__), *file_paths)
version_file = open(filename).read()
ve... | agpl-3.0 | Python |
c149b427427591ca5d13567ccb87be821229c7a9 | change Python version classifier from 2 to 3 | Eficode/robotframework-imagehorizonlibrary | setup.py | setup.py | # -*- coding: utf-8 -*-
from os.path import abspath, dirname, join as path_join
from setuptools import setup
CURDIR = abspath(dirname(__file__))
# get VERSION number
exec(compile(open('src/ImageHorizonLibrary/version.py', "rb").read(), 'src/ImageHorizonLibrary/version.py', 'exec'))
KEYWORDS = ('imagerecognition gui ... | # -*- coding: utf-8 -*-
from os.path import abspath, dirname, join as path_join
from setuptools import setup
CURDIR = abspath(dirname(__file__))
# get VERSION number
exec(compile(open('src/ImageHorizonLibrary/version.py', "rb").read(), 'src/ImageHorizonLibrary/version.py', 'exec'))
KEYWORDS = ('imagerecognition gui ... | mit | Python |
f9f04e95a0f763f9015352caf4e506246c7bd5e2 | Fix module name to lowercase in setup.py | razz0/CSV2RDF | setup.py | setup.py | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="csv2rdf",
version="0.0.1",
author="Mikko Koho",
author_email="mikko.koho@iki.fi",
description="A tool for converting a CSV file to simple RDF",
license="... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="CSV2RDF",
version="0.0.1",
author="Mikko Koho",
author_email="mikko.koho@iki.fi",
description="A tool for converting a CSV file to simple RDF",
license="... | mit | Python |
f865e351d72fc4ef76da8bcde91199e5753c385f | increment version of required pyannote.core | pyannote/pyannote-metrics | setup.py | setup.py | #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2014 CNRS (Hervé BREDIN - http://herve.niderb.fr)
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without re... | #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2014 CNRS (Hervé BREDIN - http://herve.niderb.fr)
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without re... | mit | Python |
20f1aac73815f7031656b346a10f1c6433de17b7 | Bump version to 0.4.0 | MycroftAI/adapt,MycroftAI/adapt | setup.py | setup.py | # Copyright 2017 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | # Copyright 2017 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | apache-2.0 | Python |
7f909f5a83f9add29f41e83104128b36fca481fd | Bump version number | ProcessOut/processout-python | setup.py | setup.py | from distutils.core import setup
setup(
name = 'processout',
packages = ['processout', 'processout/exceptions', 'processout/networking'],
version = '3.2.0.9',
description = 'ProcessOut API bindings.',
author = 'ProcessOut',
author_email = 'hi@processout.com',
url = 'https://github.com/processout/processo... | from distutils.core import setup
setup(
name = 'processout',
packages = ['processout', 'processout/exceptions', 'processout/networking'],
version = '3.2.0.8',
description = 'ProcessOut API bindings.',
author = 'ProcessOut',
author_email = 'hi@processout.com',
url = 'https://github.com/processout/processo... | mit | Python |
525b42d78f45fbff617c6831fae1d85a19d8372f | update setup.py | pbrisk/dcf | setup.py | setup.py | # -*- coding: utf-8 -*-
# dcf (discounted cashflow)
# -------------------------
# A Python library for generating discounted cashflows.
# Typical banking business methods are provided like interpolation, compounding,
# discounting and fx.
#
# Author: pbrisk <pbrisk_at_github@icloud.com>
# Copyright: 2016, 2017... | # -*- coding: utf-8 -*-
# dcf (discounted cashflow)
# -------------------------
# A Python library for generating discounted cashflows.
# Typical banking business methods are provided like interpolation, compounding,
# discounting and fx.
#
# Author: pbrisk <pbrisk_at_github@icloud.com>
# Copyright: 2016, 2017... | apache-2.0 | Python |
aa705fc6cfef6e53d26fcf24735823004b88faeb | Bump version | bmaupin/pytoutv-plus | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import setup
# Make sure we run Python 3 here
v = sys.version_info
if v.major < 3:
sys.exit('Sorry, pytoutv_plus needs Python 3')
entry_points = {
'console_scripts': [
'toutv = pytoutv_plus.app:run'
],
}
setup_requires = [
'pytoutv>=2.3.0',
... | #!/usr/bin/env python
import sys
from setuptools import setup
# Make sure we run Python 3 here
v = sys.version_info
if v.major < 3:
sys.exit('Sorry, pytoutv_plus needs Python 3')
entry_points = {
'console_scripts': [
'toutv = pytoutv_plus.app:run'
],
}
setup_requires = [
'pytoutv>=2.3.0',
... | bsd-3-clause | Python |
436d71237be972d023f4be7bdc0c35599ff8e481 | rewrite setup for setuptools, spa_c auto-compile | MoonRaker/pvlib-python,mikofski/pvlib-python,alorenzo175/pvlib-python,jforbess/pvlib-python,wholmgren/pvlib-python,cwhanse/pvlib-python,dacoex/pvlib-python,anomam/pvlib-python,rubennj/pvlib-python,pvlib/pvlib-python,uvchik/pvlib-python,ianctse/pvlib-python | setup.py | setup.py | #!/usr/bin/env python
import os
import re
import shutil
import sys
try:
from setuptools import setup, Command
from setuptools.extension import Extension
except ImportError:
raise RuntimeError('setuptools is required')
DESCRIPTION = 'Python port of the PVLIB package'
LONG_DESCRIPTION = open('README.txt').... | from distutils.core import setup
setup(
name='pvlpy',
version='0.1',
author='Dan Riley, Clifford Hanson and Rob Andrews',
author_email='Rob.Andrews@calamaconsulting.ca',
packages=['pvlpy','pvlpy.test'],
license='The BSD 3-Clause License',
url = 'https://github.com/Sandia-Labs/PVLIB_Python', #
do... | bsd-3-clause | Python |
b0dda121e03f593afb6ee1b3959b71b615df2b39 | Replace enum34 with enum-compat to allow use with Py3.6+ | williballenthin/python-registry | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
from Registry import _version_
setup(name='python-registry',
version=_version_,
description='Read access to Windows Registry files.',
author='Willi Ballenthin',
author_email='willi.ballenthin@gmail.com',
url='http://www.williballenthin.c... | #!/usr/bin/env python
from setuptools import setup
from Registry import _version_
setup(name='python-registry',
version=_version_,
description='Read access to Windows Registry files.',
author='Willi Ballenthin',
author_email='willi.ballenthin@gmail.com',
url='http://www.williballenthin.c... | apache-2.0 | Python |
67d7a892cb7914576600321adae4fd8aef80e0f4 | Bump version to 1.1rc1 | cloudify-cosmo/cloudify-openstack-provider | setup.py | setup.py | ########
# Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless... | ########
# Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless... | apache-2.0 | Python |
1f784721c2068f2b5de59c7f54fc9d6e260b5967 | Add missing test dependency. | grpc-ecosystem/grpc-opentracing,grpc-ecosystem/grpc-opentracing,grpc-ecosystem/grpc-opentracing | python/setup.py | python/setup.py | import os
import logging
import sys
import tempfile
from setuptools import setup, find_packages
def readme():
"""Use `pandoc` to convert `README.md` into a `README.rst` file."""
if os.path.isfile('README.md') and any('dist' in x for x in sys.argv[1:]):
if os.system('pandoc -s README.md -o %s/README.rst' %
... | import os
import logging
import sys
import tempfile
from setuptools import setup, find_packages
def readme():
"""Use `pandoc` to convert `README.md` into a `README.rst` file."""
if os.path.isfile('README.md') and any('dist' in x for x in sys.argv[1:]):
if os.system('pandoc -s README.md -o %s/README.rst' %
... | bsd-3-clause | Python |
36cb4f5b53d4d17704cd7d9267d433cdcac20c46 | Remove now-unnecessary code. | abusesa/abusehelper | setup.py | setup.py | import os
import imp
from setuphelpers import setup, install_other
def generate_version():
base_path, _ = os.path.split(__file__)
module_path = os.path.join(base_path, "abusehelper", "core")
module_info = imp.find_module("version", [module_path])
version_module = imp.load_module("version", *module_in... | import os
import imp
from setuphelpers import setup, install_other
def generate_version():
base_path, _ = os.path.split(__file__)
module_path = os.path.join(base_path, "abusehelper", "core")
module_info = imp.find_module("version", [module_path])
version_module = imp.load_module("version", *module_in... | mit | Python |
0ff0389d017de119053b3cd38e503eb3d8bdadff | Add six to the explicit dependencies | mozilla/jupyter-notebook-gist,mreid-moz/jupyter-notebook-gist,mozilla/jupyter-notebook-gist,mreid-moz/jupyter-notebook-gist | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name='jupyter-notebook-gist',
version='0.4.0',
description='Create a gist from the Jupyter Notebook UI',
author='Mozilla Firefox Data Platform',
author_email='fx-data-platform@mozilla.com',
packages=find_packages(where='src'),
package_dir={... | from setuptools import find_packages, setup
setup(
name='jupyter-notebook-gist',
version='0.4.0',
description='Create a gist from the Jupyter Notebook UI',
author='Mozilla Firefox Data Platform',
author_email='fx-data-platform@mozilla.com',
packages=find_packages(where='src'),
package_dir={... | mpl-2.0 | Python |
52609334bdd25eb89dbc67b75921029c37babd63 | Update description and long description | joebos/twython,Oire/twython,fibears/twython,Devyani-Divs/twython,Hasimir/twython,akarambir/twython,ping/twython,vivek8943/twython,ryanmcgrath/twython,Fueled/twython | setup.py | setup.py | import os
import sys
from setuptools import setup
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '2.10.0'
packages = [
'twython',
'twython.streaming'
]
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
# Basic package information.
na... | import os
import sys
from setuptools import setup
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '2.10.0'
packages = [
'twython',
'twython.streaming'
]
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
# Basic package information.
na... | mit | Python |
33bffddb81d700b5872b8e8d8855c998cc6703f2 | Prepare push-hub 0.14. | ucla/PushHubCore | setup.py | setup.py | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'pyramid_zodbconn',
'pyramid_tm',
'pyramid_debugtoolbar',
... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'pyramid_zodbconn',
'pyramid_tm',
'pyramid_debugtoolbar',
... | bsd-3-clause | Python |
8ea0f148858da2fa80ab8ff7e40e1ada0030f3ac | Bump version: 0.0.9 -> 0.0.10 | polysquare/jobstamps | setup.py | setup.py | # /setup.py
#
# Installation and setup script for jobstamps
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for jobstamps."""
from setuptools import find_packages, setup
setup(name="jobstamps",
version="0.0.10",
description="""Cache output of idempotent jobs.""",
long_... | # /setup.py
#
# Installation and setup script for jobstamps
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for jobstamps."""
from setuptools import find_packages, setup
setup(name="jobstamps",
version="0.0.9",
description="""Cache output of idempotent jobs.""",
long_d... | mit | Python |
609771e695a2cec2ae5e1dd6ef91021cc6b83b71 | Remove GTK3 code and add comment | dylanaraps/pywal,dylanaraps/pywal,dylanaraps/pywal | pywal/reload.py | pywal/reload.py | """
Reload programs.
"""
import pathlib
import re
import shutil
import subprocess
from .settings import __cache_dir__
from . import util
def xrdb(xrdb_file=None):
"""Merge the colors into the X db so new terminals use them."""
xrdb_file = xrdb_file or __cache_dir__ / "colors.Xresources"
if shutil.which(... | """
Reload programs.
"""
import pathlib
import re
import shutil
import subprocess
from .settings import __cache_dir__
from . import util
def xrdb(xrdb_file=None):
"""Merge the colors into the X db so new terminals use them."""
xrdb_file = xrdb_file or __cache_dir__ / "colors.Xresources"
if shutil.which(... | mit | Python |
b1c622792249380e76f4de7cad9e35d7f3791885 | Bump version to 1.2.1 | yuvipanda/ldapauthenticator | setup.py | setup.py | from setuptools import setup
version = '1.2.1'
with open("./ldapauthenticator/__init__.py", 'a') as f:
f.write("\n__version__ = '{}'\n".format(version))
setup(
name='jupyterhub-ldapauthenticator',
version=version,
description='LDAP Authenticator for JupyterHub',
url='https://github.com/yuvipan... | from setuptools import setup
version = '1.2.0'
with open("./ldapauthenticator/__init__.py", 'a') as f:
f.write("\n__version__ = '{}'\n".format(version))
setup(
name='jupyterhub-ldapauthenticator',
version=version,
description='LDAP Authenticator for JupyterHub',
url='https://github.com/yuvipan... | bsd-3-clause | Python |
ad5b57e8123a776bbe164c526401a26057f746b8 | improve formatting | christian-hahn/python-uhd,christian-hahn/python-uhd | setup.py | setup.py | try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
from os.path import join
import numpy
MAJOR_VERSION = 0
MINOR_VERSION = 1
uhd = Extension('uhd',
define_macros=[('MAJOR_VERSION', str(MAJOR_VERSION)),
(... | try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
import numpy
MAJOR_VERSION = 0
MINOR_VERSION = 1
uhd = Extension('uhd',
define_macros = [('MAJOR_VERSION', str(MAJOR_VERSION)),
('MINOR_VERSION', str(M... | mit | Python |
d963ee0a7e02863fcb665f132b5071d3ba576383 | Update setup | danbradham/fstrings | setup.py | setup.py | from setuptools import setup
from subprocess import check_call
import shutil
import sys
import fstrings
if sys.argv[-1] == 'cheeseit!':
check_call('nosetests -v --with-coverage --with-doctest --doctest-extension rst')
check_call('python setup.py sdist bdist_wheel')
check_call('twine upload dist/*')
sh... | from setuptools import setup
from subprocess import check_call
import shutil
import fstrings
if sys.argv[-1] == 'cheeseit!':
check_call('nosetests -v --with-coverage --with-doctest --doctest-extension rst')
check_call('python setup.py sdist bdist_wheel')
check_call('twine upload dist/*')
shutil.rmtree... | mit | Python |
9d1472fc3a5822507fe2be22d7d60c67ac4d0bc3 | Fix package installation | mkollaro/launchpadstats | setup.py | setup.py | #! /usr/bin/env python
# Copyright (c) 2014 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | #! /usr/bin/env python
# Copyright (c) 2014 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | apache-2.0 | Python |
d3a06ba7d99dfaa10d297f311d49c923bca22a93 | Update version | OrkoHunter/keep,paci4416/keep,paci4416/keep,OrkoHunter/keep | setup.py | setup.py | #! /usr/bin/env python
#! -*- coding: utf-8 -*-
import sys
from setuptools import setup
NAME = 'keep'
VERSION = '1.1'
if __name__ == "__main__":
setup(
name = NAME,
version = VERSION,
author = 'Himanshu Mishra',
author_email = 'himanshumishra@iitkgp.ac.in',
... | #! /usr/bin/env python
#! -*- coding: utf-8 -*-
import sys
from setuptools import setup
NAME = 'keep'
VERSION = '1.0'
if __name__ == "__main__":
setup(
name = NAME,
version = VERSION,
author = 'Himanshu Mishra',
author_email = 'himanshumishra@iitkgp.ac.in',
... | mit | Python |
7208bf0a79f5961a8ac73b068400dfb7973a21d0 | bump version | bloer/bgexplorer,bloer/bgexplorer,bloer/bgexplorer | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='bgexplorer',
version='0.5.1',
description='Web app for exploring details of background modeling',
url='http://github.com/bloer/bgexplorer',
author='Ben Loer',
author_email='ben.loer@pnnl.gov',
license='MIT',
packages=find... | from setuptools import setup, find_packages
setup(name='bgexplorer',
version='0.5',
description='Web app for exploring details of background modeling',
url='http://github.com/bloer/bgexplorer',
author='Ben Loer',
author_email='ben.loer@pnnl.gov',
license='MIT',
packages=find_p... | bsd-2-clause | Python |
e60d28f1946cf22a83eee882f548368469bae375 | revert prompt_toolkit to 2.0.6 | dbcli/pgcli,dbcli/pgcli | setup.py | setup.py | import platform
from setuptools import setup, find_packages
from pgcli import __version__
description = "CLI for Postgres Database. With auto-completion and syntax highlighting."
install_requirements = [
"pgspecial>=1.11.8",
"click >= 4.1",
"Pygments >= 2.0", # Pygments has to be Capitalcased. WTF?
... | import platform
from setuptools import setup, find_packages
from pgcli import __version__
description = "CLI for Postgres Database. With auto-completion and syntax highlighting."
install_requirements = [
"pgspecial>=1.11.8",
"click >= 4.1",
"Pygments >= 2.0", # Pygments has to be Capitalcased. WTF?
... | bsd-3-clause | Python |
161503714358c449656d0762aa04b60b5c677e01 | Make it installable. | Julian/TomsBestFriend,Julian/TomsBestFriend | setup.py | setup.py | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), "README.rst")) as readme:
long_description = readme.read()
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"P... | import os
from setuptools import find_packages, setup
from tomsbestfriend import __version__
with open(os.path.join(os.path.dirname(__file__), "README.rst")) as readme:
long_description = readme.read()
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Ope... | mit | Python |
d986f99ae8032c04474607c950e2cb4cfa30bb86 | tweak descriptn, not yet plugable | shaunsephton/holodeck,euan/django-holodeck,euan/django-holodeck,shaunsephton/holodeck | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='holodeck',
version='0.0.1',
description='Simple & scalable dashboard system.',
long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt Foundation',
author_e... | from setuptools import setup, find_packages
setup(
name='holodeck',
version='0.0.1',
description='Simple/scalable/plugable dashboard system.',
long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt Foundation',
a... | bsd-3-clause | Python |
d866bd9b8a980e902fdcfd890b5cf7b9f4ceb72b | Change enum -> enum32 | oneklc/dimod,oneklc/dimod | setup.py | setup.py | from setuptools import setup, find_packages
from dimod import __version__, __author__, __description__, __authoremail__
install_requires = ['decorator>=4.1.0', 'enum34']
extras_require = {'all': ['numpy']}
packages = ['dimod',
'dimod.responses',
'dimod.composites',
'dimod.sampler... | from setuptools import setup, find_packages
from dimod import __version__, __author__, __description__, __authoremail__, _PY2
install_requires = ['decorator>=4.1.0']
if _PY2:
# enum is built-in for python 3
install_requires.append('enum')
extras_require = {'all': ['numpy']}
packages = ['dimod',
... | apache-2.0 | Python |
b91e299dbfdd6d0c24bde826acef6e562b8a3e27 | Set version to 2.1.3. | akx/django-jinja,niwinz/django-jinja,niwinz/django-jinja,akx/django-jinja,akx/django-jinja,niwinz/django-jinja,akx/django-jinja | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import sys
INSTALL_REQUIRES = [
"jinja2 >=2.5",
"django >=1.8",
]
if sys.version_info < (2, 7):
INSTALL_REQUIRES.append("importlib")
setup(
name = "django-jinja",
version = "2.1.3",
description = "Jinja2 templating l... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import sys
INSTALL_REQUIRES = [
"jinja2 >=2.5",
"django >=1.8",
]
if sys.version_info < (2, 7):
INSTALL_REQUIRES.append("importlib")
setup(
name = "django-jinja",
version = "2.1.2",
description = "Jinja2 templating l... | bsd-3-clause | Python |
beb375acbb47d25226c69f64dd07ab18ec794fbb | Bump to 0.2.0 | alexmojaki/cheap_repr,alexmojaki/cheap_repr | setup.py | setup.py | from sys import version_info
from setuptools import setup
install_requires = ['qualname',
'future']
tests_require = []
if version_info[0] == 2:
tests_require += ['chainmap']
if version_info[:2] == (2, 6):
install_requires += ['importlib']
tests_require += ['ordereddict',
... | from sys import version_info
from setuptools import setup
install_requires = ['qualname',
'future']
tests_require = []
if version_info[0] == 2:
tests_require += ['chainmap']
if version_info[:2] == (2, 6):
install_requires += ['importlib']
tests_require += ['ordereddict',
... | mit | Python |
6044166ebe86ed97ff723fbc83d56a961e56cd70 | bump version to 0.0.4 | jelford/activesoup,jelford/activesoup,jelford/activesoup | setup.py | setup.py | #! /usr/bin/env python3
# coding=utf-8
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
# Get the long description from the README file
with open('README.rst', 'r') as f:
long_description = f.read()
class UseToxError(TestCommand):
def run_tests(self):
... | #! /usr/bin/env python3
# coding=utf-8
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
# Get the long description from the README file
with open('README.rst', 'r') as f:
long_description = f.read()
class UseToxError(TestCommand):
def run_tests(self):
... | mit | Python |
fdc9addb5c5dafcd55445264340627a937c4d61a | add explicit check for pip version >= 9.0 | nteract/papermill,nteract/papermill | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
""""
setup.py
Note: Install ipython version based on python version.
If python 2, install ipython 5.x (python2 is not supported in ipython 6.
"""
from __future__ import print_function
import os
import sys
from os.path import exists
from setuptools import setup
impo... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
""""
setup.py
Note: Install ipython version based on python version.
If python 2, install ipython 5.x (python2 is not supported in ipython 6.
"""
import os
import sys
from os.path import exists
from setuptools import setup
import versioneer
python_2 = sys.version_... | bsd-3-clause | Python |
3304d348b1d79d2655138cd622d40686ebdffb6e | update url | tiamat-studios/pandascore-python | setup.py | setup.py | import os
from setuptools import find_packages, setup
# Package meta-data.
NAME = 'pandascore'
DESCRIPTION = 'A pandascore.co API client library for Python'
URL = 'https://github.com/tiamat-studios/pandascore-python'
EMAIL = 'adam.boscarino@tiamat-studios.com'
AUTHOR = 'Tiamat Studios'
here = os.path.abspath(os.path... | import os
from setuptools import find_packages, setup
# Package meta-data.
NAME = 'pandascore'
DESCRIPTION = 'A pandascore.co API client library for Python'
URL = 'https://github.com/tiamat-studios/pypandascore'
EMAIL = 'adam.boscarino@tiamat-studios.com'
AUTHOR = 'Tiamat Studios'
here = os.path.abspath(os.path.dirn... | mit | Python |
5898ab1c41eb0d77605085fd6420764b07aa4e4e | Update setup.py to reflect new directory structure | Implisit/djangoappengine,django-nonrel/djangoappengine,dwdraju/djangoappengine,brstrat/djangoappengine | setup.py | setup.py | from setuptools import find_packages, setup
DESCRIPTION = 'App Engine backends for Django-nonrel'
LONG_DESCRIPTION = None
try:
LONG_DESCRIPTION = open('README.rst').read()
except:
pass
setup(name='djangoappengine',
version='1.0',
packages=find_packages(exclude=['docs']),
install_requires=[... | from setuptools import find_packages, setup
DESCRIPTION = 'App Engine backends for Django-nonrel'
LONG_DESCRIPTION = None
try:
LONG_DESCRIPTION = open('README.rst').read()
except:
pass
setup(name='djangoappengine',
version='1.0',
package_dir={'djangoappengine': '.'},
packages=['djangoappen... | bsd-3-clause | Python |
a61dac85621e8418617ba9468aad2e1542450f91 | update version number in setup file | taspinar/twitterscraper | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup, find_packages
with open('requirements.txt') as requirements:
required = requirements.read().splitlines()
setup(
name='twitterscraper',
version='0.3.2',
description='Tool for scraping Tweets',
url='https://github.com/taspinar/twitterscraper',
... | #!/usr/bin/env python3
from setuptools import setup, find_packages
with open('requirements.txt') as requirements:
required = requirements.read().splitlines()
setup(
name='twitterscraper',
version='0.3.1',
description='Tool for scraping Tweets',
url='https://github.com/taspinar/twitterscraper',
... | mit | Python |
d41b92819d2ed2664b4f72e3ab06fad41c23e01f | Add missing comma to setup.py | nioinnovation/python-xbee,jamesleesaunders/python-xbee,neutralio/python-xbee | setup.py | setup.py | import re
from setuptools import setup, find_packages
# Auto detect the library version from the __init__.py file
with open('xbee/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError... | import re
from setuptools import setup, find_packages
# Auto detect the library version from the __init__.py file
with open('xbee/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError... | mit | Python |
dfd3fc6ed54bdacc8a260417dcdba014e46c4fb4 | increase version. | RedTurtle/js.bootstrap | setup.py | setup.py | from setuptools import setup, find_packages
import os
version = '3.3.1.dev0'
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
long_description = (
read('README.rst')
+ '\n' +
read('js', 'bootstrap', 'test_bootstrap.txt')
+ '\n' +
read('CHANGES.txt'))
s... | from setuptools import setup, find_packages
import os
version = '3.2.1.dev0'
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
long_description = (
read('README.rst')
+ '\n' +
read('js', 'bootstrap', 'test_bootstrap.txt')
+ '\n' +
read('CHANGES.txt'))
s... | bsd-3-clause | Python |
578ae38a520a834193104db847823cda31784384 | Add classifiers for PyPI. | drowse314-dev-ymat/froshki | setup.py | setup.py | # encoding: utf-8
from setuptools import setup
def get_version():
return __import__('froshki').__version__
setup_config = dict(
name='froshki',
version=get_version(),
license='BSD',
url='https://github.com/drowse314-dev-ymat/froshki',
author='drowse314-dev-ymat',
author_email='drowse314... | # encoding: utf-8
from setuptools import setup
def get_version():
return __import__('froshki').__version__
setup_config = dict(
name='froshki',
version=get_version(),
license='BSD',
url='https://github.com/drowse314-dev-ymat/froshki',
author='drowse314-dev-ymat',
author_email='drowse314... | mit | Python |
5bd4319ce6ee6604763bd1f40fa2a77be01f26cb | update license on setup.py | opticspy/lightpipes,opticspy/lightpipes | setup.py | setup.py | import platform
import struct
from os.path import join
import numpy
from setuptools import setup
from setuptools.extension import Extension
SYSTEM = platform.system()
print('SYSTEM = {}'.format(SYSTEM))
try:
import Cython.Distutils # noqa
USE_CYTHON = True
except ImportError:
USE_CYTHON = False
print("... | import platform
import struct
from os.path import join
import numpy
from setuptools import setup
from setuptools.extension import Extension
SYSTEM = platform.system()
print('SYSTEM = {}'.format(SYSTEM))
try:
import Cython.Distutils # noqa
USE_CYTHON = True
except ImportError:
USE_CYTHON = False
print("... | bsd-3-clause | Python |
ea30858852815043fd95888add674778893bac42 | Add PyYAML as a direct dependency for tests. | praekelt/go-auth,praekelt/go-auth | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="go_auth",
version="0.1.0a",
url='http://github.com/praekelt/go_auth',
license='BSD',
description="Authentication services and utilities for Vumi Go APIs.",
long_description=open('README.rst', 'r').read(),
author='Praekelt Foundation',... | from setuptools import setup, find_packages
setup(
name="go_auth",
version="0.1.0a",
url='http://github.com/praekelt/go_auth',
license='BSD',
description="Authentication services and utilities for Vumi Go APIs.",
long_description=open('README.rst', 'r').read(),
author='Praekelt Foundation',... | bsd-3-clause | Python |
48aef0eb08ee811908f72ebef60bba0abe9eed7b | Fix mistake in setup.py | rauburtin/pysftpproxy,rauburtin/sftpproxydocker | setup.py | setup.py | """Setup configuration file."""
from setuptools import setup
def readme():
"""Open the readme."""
with open('README.md') as f:
return f.read()
setup(
name='pysftpproxy',
version='1.0.0',
description='An OpenSSH SFTP Proxy wrapper in Python.',
long_description=readme(),
url='https... | """Setup configuration file."""
from setuptools import setup
def readme():
"""Open the readme."""
with open('README.md') as f:
return f.read()
setup(
name='pysftpproxy',
version='1.0.0',
description='An OpenSSH SFTP Proxy wrapper in Python.',
long_description=readme(),
url='https... | mit | Python |
a841d7018c5dc3a080ac4cb8fd73b4bcdbcdcd5f | Bump version to 0.1.16 | faith0811/makiki,faith0811/makiki | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
console_scripts = [
'makiki = makiki.cli:main_parser',
]
requires = [
'blinker>=1.4',
'gevent==1.1.2',
'gunicorn>=19.0',
'Jinja2>=2.8.1',
'psycogreen>=1.0.0',
'psycopg2>=2.6.2',
'hug>=2.1.2',
]
setup(
name='makik... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
console_scripts = [
'makiki = makiki.cli:main_parser',
]
requires = [
'blinker>=1.4',
'gevent==1.1.2',
'gunicorn>=19.0',
'Jinja2>=2.8.1',
'psycogreen>=1.0.0',
'psycopg2>=2.6.2',
'hug>=2.1.2',
]
setup(
name='makik... | mit | Python |
6564bd1a81c8896b4213119b2629b74587ab7fa7 | update the version | michiya/django-pyodbc-azure | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
CLASSIFIERS=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Framework :: Django',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming L... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
CLASSIFIERS=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Framework :: Django',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming L... | bsd-3-clause | Python |
37c4e64b502dbc1972c54dfa237165a5d76e4e8b | Bump version | bogdal/freepacktbook | setup.py | setup.py | # -*- coding: utf-8 -*-
import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
test_args = []
def initialize_options(self):
TestCommand.initia... | # -*- coding: utf-8 -*-
import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
test_args = []
def initialize_options(self):
TestCommand.initia... | mit | Python |
ad93cfc4a0e251ca136ac4bd1c8cc88d79c19c19 | Add terminal module to setup.py | google/textfsm | setup.py | setup.py | #!/usr/bin/python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | #!/usr/bin/python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | apache-2.0 | Python |
fb1807fd4d1e1b3752141458345ee4d3e1f37b42 | Fix #123 by filtering out modules we don't want based on the Python version we're running at install time | OptimalBPM/WebSocket-for-Python,EternityForest/WebSocket-for-Python,hzruandd/WebSocket-for-Python,OptimalBPM/WebSocket-for-Python,xuhdev/WebSocket-for-Python,uchuugaka/WebSocket-for-Python,OptimalBPM/WebSocket-for-Python,quatanium/WebSocket-for-Python,zhangwei900808/WebSocket-for-Python,uchuugaka/WebSocket-for-Python,q... | setup.py | setup.py | # -*- coding: utf-8 -*-
import os, os.path
from glob import iglob
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from distutils.command.build_py import build_py
class buildfor2or3(build_py):
def find_package_modules(self, package, package_dir):
"""... | # -*- coding: utf-8 -*-
import os, os.path
from glob import iglob
import sys
from setuptools import setup
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(name = "ws4py",
version = '0.3.4',
description = "WebSocket client and server library for Python 2 and 3 as well as P... | bsd-3-clause | Python |
f4ee10b5391ffcfb08c188e523782ec74b0ad3f9 | Bump version to 1.0.2. | box/rotunicode,box/rotunicode | setup.py | setup.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from setuptools import setup, find_packages
from os.path import dirname, join
def main():
base_dir = dirname(__file__)
setup(
name='rotunicode',
version='1.0.2',
description='Python codec for converting between a string o... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from setuptools import setup, find_packages
from os.path import dirname, join
def main():
base_dir = dirname(__file__)
setup(
name='rotunicode',
version='1.0.1',
description='Python codec for converting between a string o... | apache-2.0 | Python |
455beb99f8b808bc9500d44ad0d6e02ea075180c | Fix setup installation. | lnls-fac/apsuite | setup.py | setup.py | #!/usr/bin/env python-sirius
from setuptools import setup, find_packages
with open('VERSION', 'r') as _f:
__version__ = _f.read().strip()
setup(
name='apsuite',
version=__version__,
author='lnls-fac',
description='High level Accelerator Physics functions',
url='https://github.com/lnls-fac/ap... | #!/usr/bin/env python-sirius
from setuptools import setup
from distutils.version import StrictVersion
trackcpp_version = '0.2.0'
# try:
# import trackcpp
# except ImportError:
# raise RuntimeError("trackcpp package not found")
#
# if StrictVersion(trackcpp.__version__) < StrictVersion(trackcpp_version):
# ... | mit | Python |
4b1d953979287e08f914857867da1000634ca3af | Fix flake8 E741 in setup.py (#252) | jstasiak/python-zeroconf | setup.py | setup.py | #!/usr/bin/env python3
from io import open
from os.path import abspath, dirname, join
from setuptools import setup
PROJECT_ROOT = abspath(dirname(__file__))
with open(join(PROJECT_ROOT, 'README.rst'), encoding='utf-8') as f:
readme = f.read()
version = (
[ln for ln in open(join(PROJECT_ROOT, 'zeroconf', '__i... | #!/usr/bin/env python3
from io import open
from os.path import abspath, dirname, join
from setuptools import setup
PROJECT_ROOT = abspath(dirname(__file__))
with open(join(PROJECT_ROOT, 'README.rst'), encoding='utf-8') as f:
readme = f.read()
version = (
[l for l in open(join(PROJECT_ROOT, 'zeroconf', '__ini... | lgpl-2.1 | Python |
e5857c2d68b62a65567a6cf5f399746ec9f599ff | bump version | xtrinch/fcm-django | setup.py | setup.py | #!/usr/bin/env python
import os.path
import push_notifications
from distutils.core import setup
import setuptools
VERSION = '0.1.1'
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :... | #!/usr/bin/env python
import os.path
import push_notifications
from distutils.core import setup
import setuptools
VERSION = '0.1.0'
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :... | mit | Python |
37febbd09cc919c1c45204282cb57a0d1d4266e0 | Update to beta | iotile/python_iotile_cloud | setup.py | setup.py | from setuptools import setup
import version
setup(name='iotile_cloud',
version=version.version,
description='Python client for https://iotile.cloud',
url='https://github.com/iotile/python_iotile_cloud',
author='Arch Systems Inc.',
author_email="info@arch-iot.com",
license='MIT',
packages=[
... | from setuptools import setup
import version
setup(name='iotile_cloud',
version=version.version,
description='Python client for https://iotile.cloud',
url='https://github.com/iotile/python_iotile_cloud',
author='Arch Systems Inc.',
author_email="info@arch-iot.com",
license='MIT',
packages=[
... | mit | Python |
8d955f9e03042d59570311ce38d4f2d8fa296138 | Fix missing comma and bracket | mizdebsk/fedwatch,sochotnicky/fedwatch,mizdebsk/fedwatch,sochotnicky/fedwatch,pombredanne/fedwatch,pombredanne/fedwatch | setup.py | setup.py | #!/usr/bin/env python
"""
Setup script
"""
import os
import sys
from distutils.core import setup
from fedwatch import __version__
setup(
name = 'fedwatch',
description = 'Module for creating simple scripts reacting to fedmsg messages',
version = __version__,
license = 'LGPLv2+',
py_modules = ['fed... | #!/usr/bin/env python
"""
Setup script
"""
import os
import sys
from distutils.core import setup
from fedwatch import __version__
setup(
name = 'fedwatch',
description = 'Module for creating simple scripts reacting to fedmsg messages',
version = __version__,
license = 'LGPLv2+',
py_modules = ['fed... | lgpl-2.1 | Python |
fd8b0746e31ec9853bb560b159e3df2766da1eb7 | Bump faker from 4.14.0 to 4.14.1 | marshmallow-code/marshmallow-jsonapi | setup.py | setup.py | import re
from setuptools import setup, find_packages
INSTALL_REQUIRES = ("marshmallow>=2.15.2",)
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock", "faker==4.14.1", "Flask==1.1.2"],
"lint": ["flake8==3.8.4", "flake8-bugbear==20.1.4", "pre-commit~=2.0"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_R... | import re
from setuptools import setup, find_packages
INSTALL_REQUIRES = ("marshmallow>=2.15.2",)
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock", "faker==4.14.0", "Flask==1.1.2"],
"lint": ["flake8==3.8.4", "flake8-bugbear==20.1.4", "pre-commit~=2.0"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_R... | mit | Python |
6f34f1a4f345b37022e2f94ab7ab495c6e6f8419 | Install tests, too. | ralphm/idavoll | setup.py | setup.py | #!/usr/bin/env python
# Copyright (c) 2003-2006 Ralph Meijer
# See LICENSE for details.
from distutils.core import setup
setup(name='idavoll',
version='0.6.0',
description='Jabber Publish-Subscribe Service Component',
author='Ralph Meijer',
author_email='ralphm@ik.nu',
url='http://idavo... | #!/usr/bin/env python
# Copyright (c) 2003-2006 Ralph Meijer
# See LICENSE for details.
from distutils.core import setup
setup(name='idavoll',
version='0.6.0',
description='Jabber Publish-Subscribe Service Component',
author='Ralph Meijer',
author_email='ralphm@ik.nu',
url='http://idavo... | mit | Python |
4a2e0f17eaf6deb92c033f978f8b122c91ac3f64 | Modify docstrings of topotools' init file | PMEAL/OpenPNM | openpnm/topotools/__init__.py | openpnm/topotools/__init__.py | r"""
====================================
TopoTools (:mod:`openpnm.topotools`)
====================================
This module contains a selection of functions that deal specifically with
network topology.
.. currentmodule:: openpnm.topotools
Topological manipulation
------------------------
.. autosummary::
:... | r"""
**openpnm.topotools**
----
This module contains a selection of functions that deal specifically with
network topology.
"""
from .topotools import add_boundary_pores
from .topotools import clone_pores
from .topotools import connect_pores
from .topotools import dimensionality
from .topotools import extend
from... | mit | Python |
4fa324386cea1e59492dab4de2309f0c595f27bb | Fix license description | mflaxman/bitmerchant,sbuss/bitmerchant | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils import setup # NOQA
def load_readme():
readme_file = "README.md"
try:
return open(readme_file, 'r').read()
except Exception:
raise RuntimeError("Cannot find readme file {fname}.".format(
fname=readme_... | try:
from setuptools import setup
except ImportError:
from distutils import setup # NOQA
def load_readme():
readme_file = "README.md"
try:
return open(readme_file, 'r').read()
except Exception:
raise RuntimeError("Cannot find readme file {fname}.".format(
fname=readme_... | mit | Python |
1b9f00749b183a39fa208c68c1d5b1f3ec4861fa | update setup.py | mordred-descriptor/mordred,mordred-descriptor/mordred | setup.py | setup.py | from setuptools import setup, find_packages
import sys
import os
install_requires = [
'six>=1.10',
'numpy>=1.10',
'networkx>=1.10',
'tqdm>=3.7.1',
'click>=6.6',
]
if sys.version_info < (3, 4, 0):
install_requires.append('enum34')
def get_version():
version_file = 'mordred/_version.py'
... | from setuptools import setup, find_packages
import sys
install_requires = [
'six>=1.10',
'numpy>=1.10',
'networkx>=1.10',
'tqdm>=3.7.1',
'click>=6.6',
]
if sys.version_info < (3, 4, 0):
install_requires.append('enum34')
def get_version():
version_file = 'mordred/_version.py'
sandbo... | bsd-3-clause | Python |
81fc515539474e720a9b96ef1bc5679e053952f9 | Add new requirements from CMG middleware | ironfroggy/django-better-cache,ironfroggy/django-better-cache | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='bettercache',
version='0.5.3',
description = "A suite of better cache tools for Django.",
license = "MIT",
author='Calvin Spealman',
author_email='ironfroggy@gmail.com',
url='http://github.com/ironfroggy/django-better... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='bettercache',
version='0.5.3',
description = "A suite of better cache tools for Django.",
license = "MIT",
author='Calvin Spealman',
author_email='ironfroggy@gmail.com',
url='http://github.com/ironfroggy/django-better... | mit | Python |
f7aedd45ad103e66621bad04bfcbbba7d30b4e35 | Change info to warning if files not renamed | samcheck/PyMedia,samcheck/PyMedia,samcheck/PyMedia | tv_namer.py | tv_namer.py | #!/usr/bin/python3
# tv_namer.py - Renames passed media files of TV shows
import shutil
import os
import sys
import logging
import videoLister
import scrapeTVDB
import regSplit
logger = logging.getLogger(__name__)
logging.basicConfig(filename='tv_namer.log',level=logging.DEBUG,
format='%(asctime)... | #!/usr/bin/python3
# tv_namer.py - Renames passed media files of TV shows
import shutil
import os
import sys
import logging
import videoLister
import scrapeTVDB
import regSplit
logger = logging.getLogger(__name__)
logging.basicConfig(filename='tv_namer.log',level=logging.DEBUG,
format='%(asctime)... | mit | Python |
bb50bb311a533b8b674bc3496143b7d81eeef188 | Fix cache_uri and limits to the right level | SoftwareHeritage/swh-web-ui,SoftwareHeritage/swh-web-ui,SoftwareHeritage/swh-web-ui | swh/web/config.py | swh/web/config.py | # Copyright (C) 2017 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
from swh.core import config
from swh.storage import get_storage
DEFAULT_... | # Copyright (C) 2017 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
from swh.core import config
from swh.storage import get_storage
DEFAULT_... | agpl-3.0 | Python |
a64fef716f812decebc62bfe3f7ffa43c0b6e1a9 | Add my email too | fastmonkeys/cicli | setup.py | setup.py | # coding: utf-8
import os
import re
from setuptools import setup, find_packages
# https://bitbucket.org/zzzeek/alembic/raw/f38eaad4a80d7e3d893c3044162971971ae0
# 09bf/setup.py
with open(
os.path.join(os.path.dirname(__file__), 'cicli', 'app.py')
) as app_file:
VERSION = re.compile(
r".*__version__ = ... | # coding: utf-8
import os
import re
from setuptools import setup, find_packages
# https://bitbucket.org/zzzeek/alembic/raw/f38eaad4a80d7e3d893c3044162971971ae0
# 09bf/setup.py
with open(
os.path.join(os.path.dirname(__file__), 'cicli', 'app.py')
) as app_file:
VERSION = re.compile(
r".*__version__ = ... | mit | Python |
4e74c07b94f77e8fede35fa6bc8c2bb2500945ec | Remove deprecated parse_requirements and use inlined reqs | Frojd/Frojd-Fabric,Frojd/Fabrik,Frojd/Fabrik | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import pip
from setuptools import setup, find_packages
import fabrik
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
package_exclude = ("tests*", "examples*")
packages = find_packages(exclude=package_exclu... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import pip
from pip.req import parse_requirements
from setuptools import setup, find_packages
import fabrik
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
package_exclude = ("tests*", "examples*")
package... | mit | Python |
9c5e884374574d25caf6b79b360f542e5249130e | Add TODO | hkjn/hkjninfra,hkjn/hkjninfra,hkjn/hkjninfra | validate.py | validate.py | #
# TODO: use "download binaries and verify checksums"
# logic here to fetch" CA cert, client cert + key,
# and then call telemetry/install_client:
# curl -o /etc/ssl/mon_ca.pem https://admin1.hkjn.me/151f[...]/files/hkjninfra/1.5.5/certs/mon_ca.pem
#
import json
import logging
import os
import subprocess
import sys
... | import json
import logging
import os
import subprocess
import sys
import tempfile
import urllib2
def fetch(url, path):
response = urllib2.urlopen(url)
html = response.read()
with open(path, 'w+') as tmpfile:
tmpfile.write(html)
print(' Wrote {}.'.format(path))
def ve... | mit | Python |
ab417052f3d41ee5b140e3044a6a925c3895d1ee | Add 'physicalproperty' to pkg list for install | jrsmith3/ibei | setup.py | setup.py | # -*- coding: utf-8 -*-
from distutils.core import setup
import ibei
setup(name = "ibei",
version = ibei.__version__,
author = "Joshua Ryan Smith",
author_email = "joshua.r.smith@gmail.com",
packages = ["ibei", "physicalproperty"],
url = "https://github.com/jrsmith3/ibei",
descripti... | # -*- coding: utf-8 -*-
from distutils.core import setup
import ibei
setup(name = "ibei",
version = ibei.__version__,
author = "Joshua Ryan Smith",
author_email = "joshua.r.smith@gmail.com",
packages = ["ibei"],
url = "https://github.com/jrsmith3/ibei",
description = "Calculator for... | mit | Python |
478d033625377c1c43283f166272dc099ace50f3 | update setup.py to include support for Python 3 | guykisel/python-autocast-decorator | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
short_description = 'Decorator for automatically casting string inputs to ' \
'their most likely Python data types.'
try:
description = open('README.rst').read()
except IOError:
description = short_description
try:... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
short_description = 'Decorator for automatically casting string inputs to ' \
'their most likely Python data types.'
try:
description = open('README.rst').read()
except IOError:
description = short_description
try:... | mit | Python |
947146a6f1e4e91da11a3f6c0e68c102958e5e8c | Improve code coverage - refs #920 | stimpsonsg/moose,zzyfisherman/moose,dschwen/moose,milljm/moose,harterj/moose,giopastor/moose,yipenggao/moose,bwspenc/moose,roystgnr/moose,milljm/moose,dschwen/moose,wgapl/moose,liuwenf/moose,SudiptaBiswas/moose,danielru/moose,roystgnr/moose,nuclear-wizard/moose,lindsayad/moose,jiangwen84/moose,wgapl/moose,andrsd/moose,... | modules/combined/tests/abaqus_implicit_creep/abaqus_implicit_creep_test.py | modules/combined/tests/abaqus_implicit_creep/abaqus_implicit_creep_test.py | from options import *
test = { INPUT : 'abaqus_implicit_creep.i',
EXODIFF : ['out.e'],
ABS_ZERO : 1e-6,
PETSC_VERSION : ['>=3.1.0'],
LIBRARY_MODE : ['DYNAMIC']
}
| from options import *
test = { INPUT : 'abaqus_implicit_creep.i',
EXODIFF : ['out.e'],
ABS_ZERO : 1e-6,
LIBRARY_MODE : ['DYNAMIC']
}
| lgpl-2.1 | Python |
c992ffeb9bf8b225f4fab76fa82a2764106818b3 | Add text to Standing.__str__ | hawkrives/gobbldygook,hawkrives/gobbldygook,hawkrives/gobbldygook | standing.py | standing.py | from requirement import GenEd
from helpers import get_readable_list
class Standing:
def __init__(self, credits_needed=35, credits_taken=0.0):
self.credits_needed = credits_needed
self.credits_taken = credits_taken
self.list = [
GenEd("FYW", 1),
GenEd("WRI", 4),
# TODO: Support requirements that have a... | from requirement import GenEd
from helpers import get_readable_list
class Standing:
def __init__(self, credits_needed=35, credits_taken=0.0):
self.credits_needed = credits_needed
self.credits_taken = credits_taken
self.list = [
GenEd("FYW", 1),
GenEd("WRI", 4),
# TODO: Support requirements that have a... | agpl-3.0 | Python |
e42eab184d0b9f7f2ae55c5edf027ceb8873a788 | Copy templates during installation. | apokinsocha/djoser,sunscrapers/djoser,liyocee/djoser,unacast/djoser,fladi/djoser,akalipetis/djoser,vandoornik/djoser,yiyocx/djoser,akalipetis/djoser,carlosfunk/djoser,sunscrapers/djoser,avances123/djoser,johnwalker/djoser,dokenzy/djoser,mjuopperi/djoser,PingaxAnalytics/koob_auth,sunscrapers/djoser,barseghyanartur/djose... | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='djoser',
packages=['djoser'],
install_requires=[
'Django>=1.7',
'djangorestframework>=2.4.3',
],
tests_require=[
'djet>=0.0.9'
],
package_data={
'templates': ['templates/*.html', 'templates/*.txt'... | #!/usr/bin/env python
from setuptools import setup
setup(
name='djoser',
packages=['djoser'],
install_requires=[
'Django>=1.7',
'djangorestframework>=2.4.3',
],
tests_require=[
'djet>=0.0.9'
]
)
| mit | Python |
77e63ed87c71c97f5e684403623938769c017bce | Prepare push-hub 0.2. | ucla/PushHubCore | setup.py | setup.py | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'pyramid_zodbconn',
'pyramid_tm',
'pyramid_debugtoolbar',
... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'pyramid_zodbconn',
'pyramid_tm',
'pyramid_debugtoolbar',
... | bsd-3-clause | Python |
e4c1d4ff74ea84dcf8ebde028f11119bf9274a40 | Copy in install dists | mcrute/pydora | setup.py | setup.py | #!/usr/bin/env python
import itertools
from setuptools.command.test import test
from setuptools import setup, find_packages
# Python 2 setuptools test class is not an object
class TestsWithCoverage(test, object):
description = "run unit tests with coverage"
# Copypasta from setuptools 36.0.1 because older ... | #!/usr/bin/env python
from setuptools.command.test import test
from setuptools import setup, find_packages
# Python 2 setuptools test class is not an object
class TestsWithCoverage(test, object):
description = "run unit tests with coverage"
def run(self):
# Must install test_requires before importi... | mit | Python |
d321f33cee391c16c4e22dd80bb8f2912b7f0b77 | add missing classifier | thomasw/djproxy | setup.py | setup.py | from setuptools import setup, find_packages
import sys
from djproxy import __author__, __doc__, __version__
# Multiprocessing is needed to execute `python setup.py tests` without any
# errors in some installations.
try:
import multiprocessing
multiprocessing # resolve unused import pep8 violation by 'using' ... | from setuptools import setup, find_packages
import sys
from djproxy import __author__, __doc__, __version__
# Multiprocessing is needed to execute `python setup.py tests` without any
# errors in some installations.
try:
import multiprocessing
multiprocessing # resolve unused import pep8 violation by 'using' ... | mit | Python |
c903fa5e27e57452c389193c59dbe9f14246f8e0 | add coveralls dependency | AndersenLab/vcf-toolbox,AndersenLab/vcf-toolbox,AndersenLab/vcf-kit,AndersenLab/vcf-kit,AndersenLab/vcf-toolbox,AndersenLab/vcf-kit | setup.py | setup.py | from setuptools import setup
import glob
import os
with open('requirements.txt') as f:
required = f.read().splitlines()
def gen_data_files(*dirs):
results = []
for src_dir in dirs:
for root,dirs,files in os.walk(src_dir):
results.append((root, map(lambda f:root + "/" + f, files)))
... | from setuptools import setup
import glob
import os
with open('requirements.txt') as f:
required = f.read().splitlines()
def gen_data_files(*dirs):
results = []
for src_dir in dirs:
for root,dirs,files in os.walk(src_dir):
results.append((root, map(lambda f:root + "/" + f, files)))
... | mit | Python |
873c8c270e6e1728dcca79f90b34298bc7421469 | Prepare setup.py for 1.0 release | danwerner/multimethodic | setup.py | setup.py | #!/usr/bin/env python
""" setup.py for multimethods
"""
from distutils.core import setup
setup(
name = 'multimethods',
version = '1.0',
description = 'Clojure-style multimethods for Python',
author = 'Daniel Werner',
author_email = 'daniel.d.werner@googlemail.com',
license ... | #!/usr/bin/env python
""" setup.py for multimethods-py
"""
from distutils.core import setup
setup(
name = 'multimethods',
version = '0.1',
description = 'Clojure-style multimethods for Python',
author = 'Daniel Werner',
url = 'http://github.com/danwerner/multimethods',... | bsd-2-clause | Python |
ca38e933f4dd43fc3fdcc4db27564b5e1559edf1 | Increment version to 0.2.1 - now with primer3 function | OLC-Bioinformatics/SigSeekr | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="sigseekr",
version="0.2.1",
packages=find_packages(),
scripts=['sigseekr/sigseekr.py'],
author="Andrew Low",
author_email="andrew.low@inspection.gc.ca",
url="https://github.com/lowandrew/SigSeekr",
install_r... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="sigseekr",
version="0.2.0",
packages=find_packages(),
scripts=['sigseekr/sigseekr.py'],
author="Andrew Low",
author_email="andrew.low@inspection.gc.ca",
url="https://github.com/lowandrew/SigSeekr",
install_r... | mit | Python |
ec3cd26c49fe7fa01c62c0d29f78cdc379bdf6b6 | Bump version to 0.6 and adopt semver.org | yostudios/Spritemapper,wpj-cz/Spritemapper,wpj-cz/Spritemapper,wpj-cz/Spritemapper,yostudios/Spritemapper,wpj-cz/Spritemapper,yostudios/Spritemapper | setup.py | setup.py | from setuptools import setup
readme_text = open("README.rst", "U").read()
cli_tools = ["spritemapper = spritecss.main:main"]
setup(name="spritemapper", version="0.6.0",
url="http://yostudios.github.com/Spritemapper/",
author="Yo Studios AB", author_email="opensource@yostudios.se",
description="A su... | from setuptools import setup
readme_text = open("README.rst", "U").read()
cli_tools = ["spritemapper = spritecss.main:main"]
setup(name="spritemapper", version="0.5",
url="http://yostudios.github.com/Spritemapper/",
author="Yo Studios AB", author_email="opensource@yostudios.se",
description="A suit... | mit | Python |
b0e253bed3ac3183ee6ef663700c3867e06de8c3 | add nose to setup requirements | mottosso/Qt.py,mottosso/Qt.py,fredrikaverpil/Qt.py,fredrikaverpil/Qt.py | setup.py | setup.py | import os
import sys
from setuptools import setup
os.environ["QT_PREFERRED_BINDING"] = "None"
version = __import__("Qt").__wrapper_version__
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",... | import os
import sys
from setuptools import setup
os.environ["QT_PREFERRED_BINDING"] = "None"
version = __import__("Qt").__wrapper_version__
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",... | mit | Python |
9ba945d516f84c1b2b860f58d4ebd2645343d924 | Bump version: 0.0.41 -> 0.0.42 | polysquare/polysquare-travis-container | setup.py | setup.py | # /setup.py
#
# Installation and setup script for psqtraviscontainer
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for psqtraviscontainer."""
import platform
from setuptools import find_packages, setup
INSTALL_EXTRAS = []
if platform.system() != "Windows":
INSTALL_EXTRAS.extend(... | # /setup.py
#
# Installation and setup script for psqtraviscontainer
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for psqtraviscontainer."""
import platform
from setuptools import find_packages, setup
INSTALL_EXTRAS = []
if platform.system() != "Windows":
INSTALL_EXTRAS.extend(... | mit | Python |
5270f1bc09dc3d60e0f25abdddaf8c9727135fe1 | Fix #86: IOError when bad config file supplied as cmdline argument | oleiade/Elevator | elevator/env.py | elevator/env.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from ConfigParser import ConfigParser
from utils.patterns import Singleton
from utils.snippets import items_to_dict
class Environment(dict):
"""
Unix shells like environment class. Implements add,
get, load, flush methods. Handles lists of values too.
Ba... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from ConfigParser import ConfigParser
from utils.patterns import Singleton
from utils.snippets import items_to_dict
class Environment(dict):
"""
Unix shells like environment class. Implements add,
get, load, flush methods. Handles lists of values too.
Ba... | mit | Python |
3458290847dd7c4b4da8f26d6147111e58d8c2aa | Fix typo in install_requires modules in setup.py | cseelye/pyirobot | setup.py | setup.py | #!/usr/bin/env python2.7
from setuptools import setup
import os
setup(
name = "pyirobot",
version = "1.0.1",
author = "Carl Seelye",
author_email = "cseelye@gmail.com",
description = "Control iRobot cleaning robots",
license = "MIT",
keywords = "irobot roomba",
packages = ["pyirobot"],... | #!/usr/bin/env python2.7
from setuptools import setup
import os
setup(
name = "pyirobot",
version = "1.0.1",
author = "Carl Seelye",
author_email = "cseelye@gmail.com",
description = "Control iRobot cleaning robots",
license = "MIT",
keywords = "irobot roomba",
packages = ["pyirobot"],... | mit | Python |
935ca383a7c8671f3b80b2d929a81f49225d4bb6 | Bump to 0.2.0 | pyecore/pyecoregen | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
if sys.version_info < (3, 3):
sys.exit('Sorry, Python < 3.3 is not supported')
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
if sys.version_info < (3, 3):
sys.exit('Sorry, Python < 3.3 is not supported')
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")... | bsd-3-clause | Python |
68ff839fcb9c0b71538db25149aea721cc065756 | allow utf-8 encoded chars | dnouri/nolearn | setup.py | setup.py | import os
import codecs
from setuptools import setup, find_packages
version = '0.6.1.dev0'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = codecs.open(os.path.join(here, 'README.rst'),
encoding='utf-8').read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
e... | import os
from setuptools import setup, find_packages
version = '0.6.1.dev0'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
except IOError:
README = CHANGES = ''
install_requires = [
... | mit | Python |
389abbbed5b7ba06cd2df05cbf920496991591d7 | remove upper version bound for geoalchemy2, closes #73 | openego/ego.io,openego/ego.io | setup.py | setup.py | #! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.4.5',
url='https://github.... | #! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.4.5',
url='https://github.... | agpl-3.0 | Python |
9ac7281d5e7e438cd02b0e0b5e8c87a2975312ee | allow usage of Flask-SQLAlchemy from 2.0 on | dpgaspar/Flask-AppBuilder,dpgaspar/Flask-AppBuilder,dpgaspar/Flask-AppBuilder,dpgaspar/Flask-AppBuilder | setup.py | setup.py | import os
import sys
import imp
import multiprocessing
from setuptools import setup, find_packages
version = imp.load_source('version', os.path.join('flask_appbuilder', 'version.py'))
def fpath(name):
return os.path.join(os.path.dirname(__file__), name)
def read(fname):
return open(fpath(fname)).read()
def... | import os
import sys
import imp
import multiprocessing
from setuptools import setup, find_packages
version = imp.load_source('version', os.path.join('flask_appbuilder', 'version.py'))
def fpath(name):
return os.path.join(os.path.dirname(__file__), name)
def read(fname):
return open(fpath(fname)).read()
def... | bsd-3-clause | Python |
144386273b4a082bae24161a10a7bdf73cc692ea | Update dependencies | LetThereBe/lettherebe | setup.py | setup.py | from setuptools import setup
from lettherebe import __version__
entry_points = """
[console_scripts]
lettherebe = lettherebe.main:main
"""
setup(
version=__version__,
url="https://github.com/LetThereBe/lettherebe",
name="lettherebe",
description='LetThereBe Python library and command-line scripts',
... | from setuptools import setup
from lettherebe import __version__
entry_points = """
[console_scripts]
lettherebe = lettherebe.main:main
"""
setup(
version=__version__,
url="https://github.com/LetThereBe/lettherebe",
name="lettherebe",
description='LetThereBe Python library and command-line scripts',
... | bsd-3-clause | Python |
1b55c44341ac6fba0668fb326b7c898e4eadb8ba | Update to 0.7.0 | ahal/active-data-recipes,ahal/active-data-recipes | setup.py | setup.py | from setuptools import setup
PACKAGE_VERSION = '0.7.0'
DESC = "Collection of recipes for finding information in ActiveData"
with open('README.md') as fh:
README = fh.read()
DEPS = [
'requests >= 2.18.3',
'terminaltables >= 3.1.0',
'pyyaml',
]
setup(
name='active-data-recipes',
version=PACKAGE... | from setuptools import setup
PACKAGE_VERSION = '0.6.0'
DESC = "Collection of recipes for finding information in ActiveData"
with open('README.md') as fh:
README = fh.read()
DEPS = [
'requests >= 2.18.3',
'terminaltables >= 3.1.0',
'pyyaml',
]
setup(
name='active-data-recipes',
version=PACKAGE... | mpl-2.0 | Python |
a068039f03328628812b6333092d06f4202bac36 | Modify query_yes_no to return bool | hfaran/supervisor-config-generator | query_yes_no.py | query_yes_no.py | """Source: http://code.activestate.com/recipes/577058/"""
import sys
def query_yes_no(question, default="yes"):
"""Ask a yes/no question via raw_input() and return their answer.
"question" is a string that is presented to the user.
"default" is the presumed answer if the user just hits <Enter>.
... | """Source: http://code.activestate.com/recipes/577058/"""
import sys
def query_yes_no(question, default="yes"):
"""Ask a yes/no question via raw_input() and return their answer.
"question" is a string that is presented to the user.
"default" is the presumed answer if the user just hits <Enter>.
I... | mit | Python |
d47cb3683c0d5ca540f40ace533915f655d9b1f7 | Edit Description | Florents-Tselai/PyPocketExplore | setup.py | setup.py | #!/usr/bin/python
# -*- encoding: utf-8 -*-
from setuptools import setup
setup(
name='PyPocketExplore',
version='v1.0.0',
packages=['pypocketexplore', ],
entry_points='''
[console_scripts]
pypocketexplore=pypocketexplore.cli:cli
''',
license='The MIT License (MIT) Copyright © 2... | #!/usr/bin/python
# -*- encoding: utf-8 -*-
from setuptools import setup
setup(
name='PyPocketExplore',
version='v1.0.0',
packages=['pypocketexplore', ],
entry_points='''
[console_scripts]
pypocketexplore=pypocketexplore.cli:cli
''',
license='The MIT License (MIT) Copyright © 2... | mit | Python |
6fc4f221398a20810a91bc3e05ba84802f183ba4 | Bump version for v1.8.0 | harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name="redshift_etl",
version="1.8.0",
author="Harry's Data Engineering and Analytics Engineering",
description="ETL code to ferry data from PostgreSQL databases or S3 files to Redshift clusters",
license="MIT",
keywords="redshift postgresql ET... | from setuptools import find_packages, setup
setup(
name="redshift_etl",
version="1.7.1",
author="Harry's Data Engineering and Analytics Engineering",
description="ETL code to ferry data from PostgreSQL databases or S3 files to Redshift clusters",
license="MIT",
keywords="redshift postgresql ET... | mit | Python |
51bb3d9573fbcc76ee9edad45b948dff98e57ea6 | Update setup.py | openego/eDisGo,openego/eDisGo | setup.py | setup.py | from setuptools import find_packages, setup
from setuptools.command.install import install
import os
BASEPATH = '.eDisGo'
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
class InstallSetup(install):
def run(self):
self.create_edisgo_path()
install.run(self)... | from setuptools import find_packages, setup
from setuptools.command.install import install
import os
BASEPATH = '.eDisGo'
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
class InstallSetup(install):
def run(self):
self.create_edisgo_path()
install.run(self)... | agpl-3.0 | Python |
d2430c70200c1db0d5f21761268c6b91986a2f2d | update setup.py | un33k/django-toolware,un33k/django-toolware | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import re
import os
import sys
+import codecs
name = 'django-toolware'
package = 'toolware'
description = "A utility application that offers the most commonly-used tools."
url = 'https://github.com/un33k/django-toolware'
author = 'Val Neekman... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import re
import os
import sys
name = 'django-toolware'
package = 'toolware'
description = "A utility application that offers the most commonly-used tools."
url = 'https://github.com/un33k/django-toolware'
author = 'Val Neekman'
author_email ... | mit | Python |
b8ebf4ddc356960c77cb9fa773b8687c4d769322 | Bump version to 0.4.3rc0 | polyaxon/polyaxon,polyaxon/polyaxon,polyaxon/polyaxon | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
def read_readme():
with open('README.md') as f:
return f.read()
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
... | #!/usr/bin/env python
import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
def read_readme():
with open('README.md') as f:
return f.read()
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
... | apache-2.0 | Python |
1780c1d6230669922c9fef2798fdfccf56bbe294 | Add information (url, download url, ...) for packaging | regisf/geocluster | setup.py | setup.py | # coding: utf-8 -*-
#
# Setup file for geocluster
#
from setuptools import setup, find_packages
import os
# Get the description file
here = os.path.dirname(os.path.abspath(__file__))
long_description = open(os.path.join(here, "DESCRIPTION.rst"), 'r').read()
setup(
name='geocluster',
author=u'Régis FLORET',
... | # coding: utf-8 -*-
#
# Setup file for geocluster
#
from setuptools import setup, find_packages
import os
# Get the description file
here = os.path.dirname(os.path.abspath(__file__))
long_description = open(os.path.join(here, "DESCRIPTION.rst"), 'r').read()
setup(
name='geocluster',
author=u'Régis FLORET',
... | mit | Python |
509185397ca4751dad00f795eeb20c382b5bb2a2 | fix bad push to setup.py | sassoftware/sas_kernel,sassoftware/sas_kernel | setup.py | setup.py | from distutils.core import setup
from distutils.command.install import install
from distutils import log
import json
import os
import sys
kernel_json = {"argv":["sys.executable","-m","sas_kernel", "-f", "{connection_file}"],
"display_name":"SAS pip",
"codemirror_mode":"shell",
#"env":{"PS1": "$"},
"language":"sas"... | from distutils.core import setup
from distutils.command.install import install
from distutils import log
import json
import os
import sys
kernel_json = {"argv": ["python3.4", "-m", "sas_kernel",
"-f", "{connection_file}"],
"display_name": "SAS",
"language": "sas"
}
class install_with_kernelspec(ins... | apache-2.0 | Python |
56ab9b33f1ae5977b5629514e8012771cae46f2f | Update 2d_classify.py | jnez71/kalmaNN | demos/2d_classify.py | demos/2d_classify.py | #!/usr/bin/env python
"""
Training and using a KNN for classification of 2D data.
Comparison of training methods, EKF vs SGD.
"""
from __future__ import division
import numpy as np
import matplotlib.pyplot as plt
import kalmann
# Get some noisy training data classifications, spirals!
n = 100
stdev = 0.2
U = np.zeros(... | #!/usr/bin/env python
"""
Training and using a KNN for classification of 2D data.
Comparison of training methods, EKF vs SGD.
"""
from __future__ import division
import numpy as np
import matplotlib.pyplot as plt
import kalmann
# Get some noisy training data classifications, spirals!
n = 100
stdev = 0.2
U = np.zeros(... | mit | Python |
fdb85db7f526823b531946e22d817d4bbbd3233d | fix stupid dictionary ordering problem | tlnagy/seq-analysis | demultiplex_fastq.py | demultiplex_fastq.py | from collections import defaultdict
import pandas as pd
from sys import argv
_, filename = argv
primers = pd.read_csv("truseq_primers.csv")
primers["exp"] = primers["Sample"].str.replace("Day", "d").str.replace(" T=", "t").str.split(" ").str.get(1)
primers["group"] = primers["Sample"].str.split(" ").str.get(0)
primer... | from collections import defaultdict
import pandas as pd
from sys import argv
_, filename = argv
primers = pd.read_csv("truseq_primers.csv")
primers["exp"] = primers["Sample"].str.replace("Day", "d").str.replace(" T=", "t").str.split(" ").str.get(1)
primers["group"] = primers["Sample"].str.split(" ").str.get(0)
primer... | mpl-2.0 | Python |
a8cb2cdbb7dcb1865d7d0f472e38d0f3a543015f | Update urls.py | Amechi101/indieapp,Amechi101/indieapp,Amechi101/indieapp | subscription/urls.py | subscription/urls.py | from __future__ import unicode_literals
from django.conf.urls import patterns, include, url
from . import views
from subscription.views import account_subscribe, unsubscribe, subscribe, SubscriptionListView
urlpatterns = patterns('',
url(r"^api/subscribe/", views.subscribe),
url(r"^api/unsubscribe/", Unsubscrib... | from __future__ import unicode_literals
from django.conf.urls import patterns, include, url
from . import views
from subscription.views import account_subscribe, unsubscribe, subscribe, SubscriptionListView
urlpatterns = patterns('',
url(r"^api/subscribe/", views.subscribe),
url(r"^api/unsubscribe/", views.unsu... | mit | Python |
27380f94ff7983dac6aa9caa319407c3222bcf83 | Remove Pub / Sub deps from setup.py. | tseaver/google-cloud-python,tswast/google-cloud-python,jonparrott/gcloud-python,tseaver/gcloud-python,jonparrott/google-cloud-python,dhermes/gcloud-python,tseaver/google-cloud-python,googleapis/google-cloud-python,quom/google-cloud-python,GoogleCloudPlatform/gcloud-python,tswast/google-cloud-python,jgeewax/gcloud-pytho... | setup.py | setup.py | # Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | apache-2.0 | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.