commit stringlengths 40 40 | old_file stringlengths 4 118 | new_file stringlengths 4 118 | old_contents stringlengths 0 2.94k | new_contents stringlengths 1 4.43k | subject stringlengths 15 444 | message stringlengths 16 3.45k | lang stringclasses 1 value | license stringclasses 13 values | repos stringlengths 5 43.2k | prompt stringlengths 17 4.58k | response stringlengths 1 4.43k | prompt_tagged stringlengths 58 4.62k | response_tagged stringlengths 1 4.43k | text stringlengths 132 7.29k | text_tagged stringlengths 173 7.33k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e3aea0f6edbb477b22ebed1f769ff684fddd31a1 | setup.py | setup.py | from distutils.core import setup
setup(
name='wunderclient',
packages=['wunderclient'],
version='0.0.1',
description='A Wunderlist API client',
author='Kevin LaFlamme',
author_email='k@lamfl.am',
url='https://github.com/lamflam/wunderclient',
download_url='https://github.com/lamflam/wunderclient/archive/0.0.1.tar.gz',
keywords=['wunderlist']
)
| import os
from distutils.core import setup
here = os.path.abspath(os.path.dirname(__file__))
requires = []
with open(os.path.join(here, 'requirements.txt')) as f:
for line in f.read().splitlines():
if line.find('--extra-index-url') == -1:
requires.append(line)
setup(
name='wunderclient',
packages=['wunderclient'],
version='0.0.2',
description='A Wunderlist API client',
author='Kevin LaFlamme',
author_email='k@lamfl.am',
url='https://github.com/lamflam/wunderclient',
download_url='https://github.com/lamflam/wunderclient/archive/0.0.2.tar.gz',
keywords=['wunderlist'],
install_requires=requires
)
| Make sure the dependencies get installed | Make sure the dependencies get installed
| Python | mit | lamflam/wunderclient | from distutils.core import setup
setup(
name='wunderclient',
packages=['wunderclient'],
version='0.0.1',
description='A Wunderlist API client',
author='Kevin LaFlamme',
author_email='k@lamfl.am',
url='https://github.com/lamflam/wunderclient',
download_url='https://github.com/lamflam/wunderclient/archive/0.0.1.tar.gz',
keywords=['wunderlist']
)
Make sure the dependencies get installed | import os
from distutils.core import setup
here = os.path.abspath(os.path.dirname(__file__))
requires = []
with open(os.path.join(here, 'requirements.txt')) as f:
for line in f.read().splitlines():
if line.find('--extra-index-url') == -1:
requires.append(line)
setup(
name='wunderclient',
packages=['wunderclient'],
version='0.0.2',
description='A Wunderlist API client',
author='Kevin LaFlamme',
author_email='k@lamfl.am',
url='https://github.com/lamflam/wunderclient',
download_url='https://github.com/lamflam/wunderclient/archive/0.0.2.tar.gz',
keywords=['wunderlist'],
install_requires=requires
)
| <commit_before>from distutils.core import setup
setup(
name='wunderclient',
packages=['wunderclient'],
version='0.0.1',
description='A Wunderlist API client',
author='Kevin LaFlamme',
author_email='k@lamfl.am',
url='https://github.com/lamflam/wunderclient',
download_url='https://github.com/lamflam/wunderclient/archive/0.0.1.tar.gz',
keywords=['wunderlist']
)
<commit_msg>Make sure the dependencies get installed<commit_after> | import os
from distutils.core import setup
here = os.path.abspath(os.path.dirname(__file__))
requires = []
with open(os.path.join(here, 'requirements.txt')) as f:
for line in f.read().splitlines():
if line.find('--extra-index-url') == -1:
requires.append(line)
setup(
name='wunderclient',
packages=['wunderclient'],
version='0.0.2',
description='A Wunderlist API client',
author='Kevin LaFlamme',
author_email='k@lamfl.am',
url='https://github.com/lamflam/wunderclient',
download_url='https://github.com/lamflam/wunderclient/archive/0.0.2.tar.gz',
keywords=['wunderlist'],
install_requires=requires
)
| from distutils.core import setup
setup(
name='wunderclient',
packages=['wunderclient'],
version='0.0.1',
description='A Wunderlist API client',
author='Kevin LaFlamme',
author_email='k@lamfl.am',
url='https://github.com/lamflam/wunderclient',
download_url='https://github.com/lamflam/wunderclient/archive/0.0.1.tar.gz',
keywords=['wunderlist']
)
Make sure the dependencies get installedimport os
from distutils.core import setup
here = os.path.abspath(os.path.dirname(__file__))
requires = []
with open(os.path.join(here, 'requirements.txt')) as f:
for line in f.read().splitlines():
if line.find('--extra-index-url') == -1:
requires.append(line)
setup(
name='wunderclient',
packages=['wunderclient'],
version='0.0.2',
description='A Wunderlist API client',
author='Kevin LaFlamme',
author_email='k@lamfl.am',
url='https://github.com/lamflam/wunderclient',
download_url='https://github.com/lamflam/wunderclient/archive/0.0.2.tar.gz',
keywords=['wunderlist'],
install_requires=requires
)
| <commit_before>from distutils.core import setup
setup(
name='wunderclient',
packages=['wunderclient'],
version='0.0.1',
description='A Wunderlist API client',
author='Kevin LaFlamme',
author_email='k@lamfl.am',
url='https://github.com/lamflam/wunderclient',
download_url='https://github.com/lamflam/wunderclient/archive/0.0.1.tar.gz',
keywords=['wunderlist']
)
<commit_msg>Make sure the dependencies get installed<commit_after>import os
from distutils.core import setup
here = os.path.abspath(os.path.dirname(__file__))
requires = []
with open(os.path.join(here, 'requirements.txt')) as f:
for line in f.read().splitlines():
if line.find('--extra-index-url') == -1:
requires.append(line)
setup(
name='wunderclient',
packages=['wunderclient'],
version='0.0.2',
description='A Wunderlist API client',
author='Kevin LaFlamme',
author_email='k@lamfl.am',
url='https://github.com/lamflam/wunderclient',
download_url='https://github.com/lamflam/wunderclient/archive/0.0.2.tar.gz',
keywords=['wunderlist'],
install_requires=requires
)
|
90e614755370c3aafcf55cb76292f2848c797bd6 | setup.py | setup.py | #!/usr/bin/env python
from __future__ import print_function
from codecs import open
from setuptools import setup
setup(name="abzer",
author="Wieland Hoffmann",
author_email="themineo@gmail.com",
packages=["abzer"],
package_dir={"abzer": "abzer"},
download_url="https://github.com/mineo/abzer/tarball/master",
url="https://github.com/mineo/abzer",
license="MIT",
classifiers=["Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5"],
description="AcousticBrainz submission tool",
long_description=open("README.txt", encoding="utf-8").read(),
setup_requires=["setuptools_scm"],
use_scm_version={"write_to": "abzer/version.py"},
install_requires=["aiohttp"],
extras_require={
'docs': ['sphinx', 'sphinxcontrib-autoprogram']},
python_requires='>=3.7',
entry_points={
'console_scripts': ['abzer=abzer.__main__:main']
}
)
| #!/usr/bin/env python
from __future__ import print_function
from codecs import open
from setuptools import setup
setup(name="abzer",
author="Wieland Hoffmann",
author_email="themineo@gmail.com",
packages=["abzer"],
package_dir={"abzer": "abzer"},
download_url="https://github.com/mineo/abzer/tarball/master",
url="https://github.com/mineo/abzer",
license="MIT",
classifiers=["Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5"],
description="AcousticBrainz submission tool",
long_description=open("README.txt", encoding="utf-8").read(),
setup_requires=["setuptools_scm"],
use_scm_version={"write_to": "abzer/version.py"},
install_requires=["aiohttp"],
extras_require={
'docs': ['sphinx', 'sphinxcontrib-autoprogram']},
python_requires='>=3.5',
entry_points={
'console_scripts': ['abzer=abzer.__main__:main']
}
)
| Revert an accidental requirement bump to python 3.7 | Revert an accidental requirement bump to python 3.7
| Python | mit | mineo/abzer,mineo/abzer | #!/usr/bin/env python
from __future__ import print_function
from codecs import open
from setuptools import setup
setup(name="abzer",
author="Wieland Hoffmann",
author_email="themineo@gmail.com",
packages=["abzer"],
package_dir={"abzer": "abzer"},
download_url="https://github.com/mineo/abzer/tarball/master",
url="https://github.com/mineo/abzer",
license="MIT",
classifiers=["Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5"],
description="AcousticBrainz submission tool",
long_description=open("README.txt", encoding="utf-8").read(),
setup_requires=["setuptools_scm"],
use_scm_version={"write_to": "abzer/version.py"},
install_requires=["aiohttp"],
extras_require={
'docs': ['sphinx', 'sphinxcontrib-autoprogram']},
python_requires='>=3.7',
entry_points={
'console_scripts': ['abzer=abzer.__main__:main']
}
)
Revert an accidental requirement bump to python 3.7 | #!/usr/bin/env python
from __future__ import print_function
from codecs import open
from setuptools import setup
setup(name="abzer",
author="Wieland Hoffmann",
author_email="themineo@gmail.com",
packages=["abzer"],
package_dir={"abzer": "abzer"},
download_url="https://github.com/mineo/abzer/tarball/master",
url="https://github.com/mineo/abzer",
license="MIT",
classifiers=["Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5"],
description="AcousticBrainz submission tool",
long_description=open("README.txt", encoding="utf-8").read(),
setup_requires=["setuptools_scm"],
use_scm_version={"write_to": "abzer/version.py"},
install_requires=["aiohttp"],
extras_require={
'docs': ['sphinx', 'sphinxcontrib-autoprogram']},
python_requires='>=3.5',
entry_points={
'console_scripts': ['abzer=abzer.__main__:main']
}
)
| <commit_before>#!/usr/bin/env python
from __future__ import print_function
from codecs import open
from setuptools import setup
setup(name="abzer",
author="Wieland Hoffmann",
author_email="themineo@gmail.com",
packages=["abzer"],
package_dir={"abzer": "abzer"},
download_url="https://github.com/mineo/abzer/tarball/master",
url="https://github.com/mineo/abzer",
license="MIT",
classifiers=["Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5"],
description="AcousticBrainz submission tool",
long_description=open("README.txt", encoding="utf-8").read(),
setup_requires=["setuptools_scm"],
use_scm_version={"write_to": "abzer/version.py"},
install_requires=["aiohttp"],
extras_require={
'docs': ['sphinx', 'sphinxcontrib-autoprogram']},
python_requires='>=3.7',
entry_points={
'console_scripts': ['abzer=abzer.__main__:main']
}
)
<commit_msg>Revert an accidental requirement bump to python 3.7<commit_after> | #!/usr/bin/env python
from __future__ import print_function
from codecs import open
from setuptools import setup
setup(name="abzer",
author="Wieland Hoffmann",
author_email="themineo@gmail.com",
packages=["abzer"],
package_dir={"abzer": "abzer"},
download_url="https://github.com/mineo/abzer/tarball/master",
url="https://github.com/mineo/abzer",
license="MIT",
classifiers=["Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5"],
description="AcousticBrainz submission tool",
long_description=open("README.txt", encoding="utf-8").read(),
setup_requires=["setuptools_scm"],
use_scm_version={"write_to": "abzer/version.py"},
install_requires=["aiohttp"],
extras_require={
'docs': ['sphinx', 'sphinxcontrib-autoprogram']},
python_requires='>=3.5',
entry_points={
'console_scripts': ['abzer=abzer.__main__:main']
}
)
| #!/usr/bin/env python
from __future__ import print_function
from codecs import open
from setuptools import setup
setup(name="abzer",
author="Wieland Hoffmann",
author_email="themineo@gmail.com",
packages=["abzer"],
package_dir={"abzer": "abzer"},
download_url="https://github.com/mineo/abzer/tarball/master",
url="https://github.com/mineo/abzer",
license="MIT",
classifiers=["Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5"],
description="AcousticBrainz submission tool",
long_description=open("README.txt", encoding="utf-8").read(),
setup_requires=["setuptools_scm"],
use_scm_version={"write_to": "abzer/version.py"},
install_requires=["aiohttp"],
extras_require={
'docs': ['sphinx', 'sphinxcontrib-autoprogram']},
python_requires='>=3.7',
entry_points={
'console_scripts': ['abzer=abzer.__main__:main']
}
)
Revert an accidental requirement bump to python 3.7#!/usr/bin/env python
from __future__ import print_function
from codecs import open
from setuptools import setup
setup(name="abzer",
author="Wieland Hoffmann",
author_email="themineo@gmail.com",
packages=["abzer"],
package_dir={"abzer": "abzer"},
download_url="https://github.com/mineo/abzer/tarball/master",
url="https://github.com/mineo/abzer",
license="MIT",
classifiers=["Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5"],
description="AcousticBrainz submission tool",
long_description=open("README.txt", encoding="utf-8").read(),
setup_requires=["setuptools_scm"],
use_scm_version={"write_to": "abzer/version.py"},
install_requires=["aiohttp"],
extras_require={
'docs': ['sphinx', 'sphinxcontrib-autoprogram']},
python_requires='>=3.5',
entry_points={
'console_scripts': ['abzer=abzer.__main__:main']
}
)
| <commit_before>#!/usr/bin/env python
from __future__ import print_function
from codecs import open
from setuptools import setup
setup(name="abzer",
author="Wieland Hoffmann",
author_email="themineo@gmail.com",
packages=["abzer"],
package_dir={"abzer": "abzer"},
download_url="https://github.com/mineo/abzer/tarball/master",
url="https://github.com/mineo/abzer",
license="MIT",
classifiers=["Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5"],
description="AcousticBrainz submission tool",
long_description=open("README.txt", encoding="utf-8").read(),
setup_requires=["setuptools_scm"],
use_scm_version={"write_to": "abzer/version.py"},
install_requires=["aiohttp"],
extras_require={
'docs': ['sphinx', 'sphinxcontrib-autoprogram']},
python_requires='>=3.7',
entry_points={
'console_scripts': ['abzer=abzer.__main__:main']
}
)
<commit_msg>Revert an accidental requirement bump to python 3.7<commit_after>#!/usr/bin/env python
from __future__ import print_function
from codecs import open
from setuptools import setup
setup(name="abzer",
author="Wieland Hoffmann",
author_email="themineo@gmail.com",
packages=["abzer"],
package_dir={"abzer": "abzer"},
download_url="https://github.com/mineo/abzer/tarball/master",
url="https://github.com/mineo/abzer",
license="MIT",
classifiers=["Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5"],
description="AcousticBrainz submission tool",
long_description=open("README.txt", encoding="utf-8").read(),
setup_requires=["setuptools_scm"],
use_scm_version={"write_to": "abzer/version.py"},
install_requires=["aiohttp"],
extras_require={
'docs': ['sphinx', 'sphinxcontrib-autoprogram']},
python_requires='>=3.5',
entry_points={
'console_scripts': ['abzer=abzer.__main__:main']
}
)
|
7c88ecf10c3197c337990c7f92c7ace6a85d316e | setup.py | setup.py | from distutils.core import setup
from distutils.core import Extension
setup(name = 'wrapt',
version = '0.9.0',
description = 'Module for decorators, wrappers and monkey patching.',
author = 'Graham Dumpleton',
author_email = 'Graham.Dumpleton@gmail.com',
license = 'BSD',
url = 'https://github.com/GrahamDumpleton/wrapt',
packages = ['wrapt'],
package_dir={'wrapt': 'src'},
ext_modules = [Extension("wrapt._wrappers", ["src/_wrappers.c"])],
)
| import os
from distutils.core import setup
from distutils.core import Extension
with_extensions = os.environ.get('WRAPT_EXTENSIONS', 'true')
with_extensions = (with_extensions.lower() != 'false')
setup_kwargs = dict(
name = 'wrapt',
version = '0.9.0',
description = 'Module for decorators, wrappers and monkey patching.',
author = 'Graham Dumpleton',
author_email = 'Graham.Dumpleton@gmail.com',
license = 'BSD',
url = 'https://github.com/GrahamDumpleton/wrapt',
packages = ['wrapt'],
package_dir={'wrapt': 'src'},
)
setup_extension_kwargs = dict(
ext_modules = [Extension("wrapt._wrappers", ["src/_wrappers.c"])],
)
if with_extensions:
setup_kwargs.update(setup_extension_kwargs)
setup(**setup_kwargs)
| Make compilation of extensions optional through an environment variable. | Make compilation of extensions optional through an environment variable.
| Python | bsd-2-clause | akash1808/wrapt,github4ry/wrapt,wujuguang/wrapt,akash1808/wrapt,wujuguang/wrapt,pombredanne/wrapt,pombredanne/wrapt,GrahamDumpleton/wrapt,pombredanne/python-lazy-object-proxy,ionelmc/python-lazy-object-proxy,linglaiyao1314/wrapt,GrahamDumpleton/wrapt,linglaiyao1314/wrapt,pombredanne/python-lazy-object-proxy,ionelmc/python-lazy-object-proxy,github4ry/wrapt | from distutils.core import setup
from distutils.core import Extension
setup(name = 'wrapt',
version = '0.9.0',
description = 'Module for decorators, wrappers and monkey patching.',
author = 'Graham Dumpleton',
author_email = 'Graham.Dumpleton@gmail.com',
license = 'BSD',
url = 'https://github.com/GrahamDumpleton/wrapt',
packages = ['wrapt'],
package_dir={'wrapt': 'src'},
ext_modules = [Extension("wrapt._wrappers", ["src/_wrappers.c"])],
)
Make compilation of extensions optional through an environment variable. | import os
from distutils.core import setup
from distutils.core import Extension
with_extensions = os.environ.get('WRAPT_EXTENSIONS', 'true')
with_extensions = (with_extensions.lower() != 'false')
setup_kwargs = dict(
name = 'wrapt',
version = '0.9.0',
description = 'Module for decorators, wrappers and monkey patching.',
author = 'Graham Dumpleton',
author_email = 'Graham.Dumpleton@gmail.com',
license = 'BSD',
url = 'https://github.com/GrahamDumpleton/wrapt',
packages = ['wrapt'],
package_dir={'wrapt': 'src'},
)
setup_extension_kwargs = dict(
ext_modules = [Extension("wrapt._wrappers", ["src/_wrappers.c"])],
)
if with_extensions:
setup_kwargs.update(setup_extension_kwargs)
setup(**setup_kwargs)
| <commit_before>from distutils.core import setup
from distutils.core import Extension
setup(name = 'wrapt',
version = '0.9.0',
description = 'Module for decorators, wrappers and monkey patching.',
author = 'Graham Dumpleton',
author_email = 'Graham.Dumpleton@gmail.com',
license = 'BSD',
url = 'https://github.com/GrahamDumpleton/wrapt',
packages = ['wrapt'],
package_dir={'wrapt': 'src'},
ext_modules = [Extension("wrapt._wrappers", ["src/_wrappers.c"])],
)
<commit_msg>Make compilation of extensions optional through an environment variable.<commit_after> | import os
from distutils.core import setup
from distutils.core import Extension
with_extensions = os.environ.get('WRAPT_EXTENSIONS', 'true')
with_extensions = (with_extensions.lower() != 'false')
setup_kwargs = dict(
name = 'wrapt',
version = '0.9.0',
description = 'Module for decorators, wrappers and monkey patching.',
author = 'Graham Dumpleton',
author_email = 'Graham.Dumpleton@gmail.com',
license = 'BSD',
url = 'https://github.com/GrahamDumpleton/wrapt',
packages = ['wrapt'],
package_dir={'wrapt': 'src'},
)
setup_extension_kwargs = dict(
ext_modules = [Extension("wrapt._wrappers", ["src/_wrappers.c"])],
)
if with_extensions:
setup_kwargs.update(setup_extension_kwargs)
setup(**setup_kwargs)
| from distutils.core import setup
from distutils.core import Extension
setup(name = 'wrapt',
version = '0.9.0',
description = 'Module for decorators, wrappers and monkey patching.',
author = 'Graham Dumpleton',
author_email = 'Graham.Dumpleton@gmail.com',
license = 'BSD',
url = 'https://github.com/GrahamDumpleton/wrapt',
packages = ['wrapt'],
package_dir={'wrapt': 'src'},
ext_modules = [Extension("wrapt._wrappers", ["src/_wrappers.c"])],
)
Make compilation of extensions optional through an environment variable.import os
from distutils.core import setup
from distutils.core import Extension
with_extensions = os.environ.get('WRAPT_EXTENSIONS', 'true')
with_extensions = (with_extensions.lower() != 'false')
setup_kwargs = dict(
name = 'wrapt',
version = '0.9.0',
description = 'Module for decorators, wrappers and monkey patching.',
author = 'Graham Dumpleton',
author_email = 'Graham.Dumpleton@gmail.com',
license = 'BSD',
url = 'https://github.com/GrahamDumpleton/wrapt',
packages = ['wrapt'],
package_dir={'wrapt': 'src'},
)
setup_extension_kwargs = dict(
ext_modules = [Extension("wrapt._wrappers", ["src/_wrappers.c"])],
)
if with_extensions:
setup_kwargs.update(setup_extension_kwargs)
setup(**setup_kwargs)
| <commit_before>from distutils.core import setup
from distutils.core import Extension
setup(name = 'wrapt',
version = '0.9.0',
description = 'Module for decorators, wrappers and monkey patching.',
author = 'Graham Dumpleton',
author_email = 'Graham.Dumpleton@gmail.com',
license = 'BSD',
url = 'https://github.com/GrahamDumpleton/wrapt',
packages = ['wrapt'],
package_dir={'wrapt': 'src'},
ext_modules = [Extension("wrapt._wrappers", ["src/_wrappers.c"])],
)
<commit_msg>Make compilation of extensions optional through an environment variable.<commit_after>import os
from distutils.core import setup
from distutils.core import Extension
with_extensions = os.environ.get('WRAPT_EXTENSIONS', 'true')
with_extensions = (with_extensions.lower() != 'false')
setup_kwargs = dict(
name = 'wrapt',
version = '0.9.0',
description = 'Module for decorators, wrappers and monkey patching.',
author = 'Graham Dumpleton',
author_email = 'Graham.Dumpleton@gmail.com',
license = 'BSD',
url = 'https://github.com/GrahamDumpleton/wrapt',
packages = ['wrapt'],
package_dir={'wrapt': 'src'},
)
setup_extension_kwargs = dict(
ext_modules = [Extension("wrapt._wrappers", ["src/_wrappers.c"])],
)
if with_extensions:
setup_kwargs.update(setup_extension_kwargs)
setup(**setup_kwargs)
|
bbf92b251203bc3556a6e91c25209fc14046ca50 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
setup(
name = 'cloudsizzle',
fullname = 'CloudSizzle',
version = '0.1',
author = '',
author_email = '',
license = 'MIT',
url = 'http://cloudsizzle.cs.hut.fi',
description = 'Social study plan9er for Aalto University students',
install_requires = [
'Django >= 1.1',
'Scrapy == 0.7',
'kpwrapper >= 0.9.2',
'asi >= 0.9',
],
packages = find_packages(),
test_suite = 'cloudsizzle.tests.suite',
dependency_links = [
'http://public.futurice.com/~ekan/eggs',
'http://ftp.edgewall.com/pub/bitten/',
],
extras_require = {
'Bitten': ['bitten'],
},
entry_points = {
'distutils.commands': [
'unittest = bitten.util.testrunner:unittest [Bitten]'
],
},
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
setup(
name = 'cloudsizzle',
fullname = 'CloudSizzle',
version = '0.1',
author = '',
author_email = '',
license = 'MIT',
url = 'http://cloudsizzle.cs.hut.fi',
description = 'Social study plan9er for Aalto University students',
install_requires = [
'Django >= 1.1',
'Scrapy == 0.7',
'kpwrapper >= 0.9.2',
'asi >= 0.9',
],
packages = find_packages(),
include_package_data = True,
test_suite = 'cloudsizzle.tests.suite',
dependency_links = [
'http://public.futurice.com/~ekan/eggs',
'http://ftp.edgewall.com/pub/bitten/',
],
extras_require = {
'Bitten': ['bitten'],
},
entry_points = {
'distutils.commands': [
'unittest = bitten.util.testrunner:unittest [Bitten]'
],
},
)
| Include data files in package | Include data files in package
| Python | mit | jpvanhal/cloudsizzle,jpvanhal/cloudsizzle | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
setup(
name = 'cloudsizzle',
fullname = 'CloudSizzle',
version = '0.1',
author = '',
author_email = '',
license = 'MIT',
url = 'http://cloudsizzle.cs.hut.fi',
description = 'Social study plan9er for Aalto University students',
install_requires = [
'Django >= 1.1',
'Scrapy == 0.7',
'kpwrapper >= 0.9.2',
'asi >= 0.9',
],
packages = find_packages(),
test_suite = 'cloudsizzle.tests.suite',
dependency_links = [
'http://public.futurice.com/~ekan/eggs',
'http://ftp.edgewall.com/pub/bitten/',
],
extras_require = {
'Bitten': ['bitten'],
},
entry_points = {
'distutils.commands': [
'unittest = bitten.util.testrunner:unittest [Bitten]'
],
},
)
Include data files in package | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
setup(
name = 'cloudsizzle',
fullname = 'CloudSizzle',
version = '0.1',
author = '',
author_email = '',
license = 'MIT',
url = 'http://cloudsizzle.cs.hut.fi',
description = 'Social study plan9er for Aalto University students',
install_requires = [
'Django >= 1.1',
'Scrapy == 0.7',
'kpwrapper >= 0.9.2',
'asi >= 0.9',
],
packages = find_packages(),
include_package_data = True,
test_suite = 'cloudsizzle.tests.suite',
dependency_links = [
'http://public.futurice.com/~ekan/eggs',
'http://ftp.edgewall.com/pub/bitten/',
],
extras_require = {
'Bitten': ['bitten'],
},
entry_points = {
'distutils.commands': [
'unittest = bitten.util.testrunner:unittest [Bitten]'
],
},
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
setup(
name = 'cloudsizzle',
fullname = 'CloudSizzle',
version = '0.1',
author = '',
author_email = '',
license = 'MIT',
url = 'http://cloudsizzle.cs.hut.fi',
description = 'Social study plan9er for Aalto University students',
install_requires = [
'Django >= 1.1',
'Scrapy == 0.7',
'kpwrapper >= 0.9.2',
'asi >= 0.9',
],
packages = find_packages(),
test_suite = 'cloudsizzle.tests.suite',
dependency_links = [
'http://public.futurice.com/~ekan/eggs',
'http://ftp.edgewall.com/pub/bitten/',
],
extras_require = {
'Bitten': ['bitten'],
},
entry_points = {
'distutils.commands': [
'unittest = bitten.util.testrunner:unittest [Bitten]'
],
},
)
<commit_msg>Include data files in package<commit_after> | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
setup(
name = 'cloudsizzle',
fullname = 'CloudSizzle',
version = '0.1',
author = '',
author_email = '',
license = 'MIT',
url = 'http://cloudsizzle.cs.hut.fi',
description = 'Social study plan9er for Aalto University students',
install_requires = [
'Django >= 1.1',
'Scrapy == 0.7',
'kpwrapper >= 0.9.2',
'asi >= 0.9',
],
packages = find_packages(),
include_package_data = True,
test_suite = 'cloudsizzle.tests.suite',
dependency_links = [
'http://public.futurice.com/~ekan/eggs',
'http://ftp.edgewall.com/pub/bitten/',
],
extras_require = {
'Bitten': ['bitten'],
},
entry_points = {
'distutils.commands': [
'unittest = bitten.util.testrunner:unittest [Bitten]'
],
},
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
setup(
name = 'cloudsizzle',
fullname = 'CloudSizzle',
version = '0.1',
author = '',
author_email = '',
license = 'MIT',
url = 'http://cloudsizzle.cs.hut.fi',
description = 'Social study plan9er for Aalto University students',
install_requires = [
'Django >= 1.1',
'Scrapy == 0.7',
'kpwrapper >= 0.9.2',
'asi >= 0.9',
],
packages = find_packages(),
test_suite = 'cloudsizzle.tests.suite',
dependency_links = [
'http://public.futurice.com/~ekan/eggs',
'http://ftp.edgewall.com/pub/bitten/',
],
extras_require = {
'Bitten': ['bitten'],
},
entry_points = {
'distutils.commands': [
'unittest = bitten.util.testrunner:unittest [Bitten]'
],
},
)
Include data files in package#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
setup(
name = 'cloudsizzle',
fullname = 'CloudSizzle',
version = '0.1',
author = '',
author_email = '',
license = 'MIT',
url = 'http://cloudsizzle.cs.hut.fi',
description = 'Social study plan9er for Aalto University students',
install_requires = [
'Django >= 1.1',
'Scrapy == 0.7',
'kpwrapper >= 0.9.2',
'asi >= 0.9',
],
packages = find_packages(),
include_package_data = True,
test_suite = 'cloudsizzle.tests.suite',
dependency_links = [
'http://public.futurice.com/~ekan/eggs',
'http://ftp.edgewall.com/pub/bitten/',
],
extras_require = {
'Bitten': ['bitten'],
},
entry_points = {
'distutils.commands': [
'unittest = bitten.util.testrunner:unittest [Bitten]'
],
},
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
setup(
name = 'cloudsizzle',
fullname = 'CloudSizzle',
version = '0.1',
author = '',
author_email = '',
license = 'MIT',
url = 'http://cloudsizzle.cs.hut.fi',
description = 'Social study plan9er for Aalto University students',
install_requires = [
'Django >= 1.1',
'Scrapy == 0.7',
'kpwrapper >= 0.9.2',
'asi >= 0.9',
],
packages = find_packages(),
test_suite = 'cloudsizzle.tests.suite',
dependency_links = [
'http://public.futurice.com/~ekan/eggs',
'http://ftp.edgewall.com/pub/bitten/',
],
extras_require = {
'Bitten': ['bitten'],
},
entry_points = {
'distutils.commands': [
'unittest = bitten.util.testrunner:unittest [Bitten]'
],
},
)
<commit_msg>Include data files in package<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
setup(
name = 'cloudsizzle',
fullname = 'CloudSizzle',
version = '0.1',
author = '',
author_email = '',
license = 'MIT',
url = 'http://cloudsizzle.cs.hut.fi',
description = 'Social study plan9er for Aalto University students',
install_requires = [
'Django >= 1.1',
'Scrapy == 0.7',
'kpwrapper >= 0.9.2',
'asi >= 0.9',
],
packages = find_packages(),
include_package_data = True,
test_suite = 'cloudsizzle.tests.suite',
dependency_links = [
'http://public.futurice.com/~ekan/eggs',
'http://ftp.edgewall.com/pub/bitten/',
],
extras_require = {
'Bitten': ['bitten'],
},
entry_points = {
'distutils.commands': [
'unittest = bitten.util.testrunner:unittest [Bitten]'
],
},
)
|
f5f95550af953fc9f2875f40ba7f89df468485fc | prompt_toolkit/focus_stack.py | prompt_toolkit/focus_stack.py | """
Push/pop stack of buffer names. The top buffer of the stack is the one that
currently has the focus.
Note that the stack can contain `None` values. This means that none of the
buffers has the focus.
"""
from __future__ import unicode_literals
from six import string_types
from prompt_toolkit.enums import DEFAULT_BUFFER
__all__ = (
'FocusStack',
)
class FocusStack(object):
def __init__(self, initial=DEFAULT_BUFFER):
self._initial = initial
self.reset()
def __repr__(self):
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
raise Exception('Cannot pop last item from the focus stack.')
def replace(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.pop()
self._stack.append(buffer_name)
def push(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.append(buffer_name)
@property
def current(self):
return self._stack[-1]
@property
def previous(self):
"""
Return the name of the previous focussed buffer, or return None.
"""
if len(self._stack) > 1:
return self._stack[-2]
| """
Push/pop stack of buffer names. The top buffer of the stack is the one that
currently has the focus.
Note that the stack can contain `None` values. This means that none of the
buffers has the focus.
"""
from __future__ import unicode_literals
from six import string_types
from prompt_toolkit.enums import DEFAULT_BUFFER
__all__ = (
'FocusStack',
)
class FocusStack(object):
def __init__(self, initial=DEFAULT_BUFFER):
self._initial = initial
self.reset()
def __repr__(self):
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
raise IndexError('Cannot pop last item from the focus stack.')
def replace(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.pop()
self._stack.append(buffer_name)
def push(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.append(buffer_name)
@property
def current(self):
return self._stack[-1]
@property
def previous(self):
"""
Return the name of the previous focussed buffer, or return None.
"""
if len(self._stack) > 1:
return self._stack[-2]
| Use IndexError instead of more general Exception. | Use IndexError instead of more general Exception.
| Python | bsd-3-clause | jonathanslenders/python-prompt-toolkit,ddalex/python-prompt-toolkit,melund/python-prompt-toolkit,amjith/python-prompt-toolkit,ALSchwalm/python-prompt-toolkit,niklasf/python-prompt-toolkit | """
Push/pop stack of buffer names. The top buffer of the stack is the one that
currently has the focus.
Note that the stack can contain `None` values. This means that none of the
buffers has the focus.
"""
from __future__ import unicode_literals
from six import string_types
from prompt_toolkit.enums import DEFAULT_BUFFER
__all__ = (
'FocusStack',
)
class FocusStack(object):
def __init__(self, initial=DEFAULT_BUFFER):
self._initial = initial
self.reset()
def __repr__(self):
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
raise Exception('Cannot pop last item from the focus stack.')
def replace(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.pop()
self._stack.append(buffer_name)
def push(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.append(buffer_name)
@property
def current(self):
return self._stack[-1]
@property
def previous(self):
"""
Return the name of the previous focussed buffer, or return None.
"""
if len(self._stack) > 1:
return self._stack[-2]
Use IndexError instead of more general Exception. | """
Push/pop stack of buffer names. The top buffer of the stack is the one that
currently has the focus.
Note that the stack can contain `None` values. This means that none of the
buffers has the focus.
"""
from __future__ import unicode_literals
from six import string_types
from prompt_toolkit.enums import DEFAULT_BUFFER
__all__ = (
'FocusStack',
)
class FocusStack(object):
def __init__(self, initial=DEFAULT_BUFFER):
self._initial = initial
self.reset()
def __repr__(self):
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
raise IndexError('Cannot pop last item from the focus stack.')
def replace(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.pop()
self._stack.append(buffer_name)
def push(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.append(buffer_name)
@property
def current(self):
return self._stack[-1]
@property
def previous(self):
"""
Return the name of the previous focussed buffer, or return None.
"""
if len(self._stack) > 1:
return self._stack[-2]
| <commit_before>"""
Push/pop stack of buffer names. The top buffer of the stack is the one that
currently has the focus.
Note that the stack can contain `None` values. This means that none of the
buffers has the focus.
"""
from __future__ import unicode_literals
from six import string_types
from prompt_toolkit.enums import DEFAULT_BUFFER
__all__ = (
'FocusStack',
)
class FocusStack(object):
def __init__(self, initial=DEFAULT_BUFFER):
self._initial = initial
self.reset()
def __repr__(self):
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
raise Exception('Cannot pop last item from the focus stack.')
def replace(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.pop()
self._stack.append(buffer_name)
def push(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.append(buffer_name)
@property
def current(self):
return self._stack[-1]
@property
def previous(self):
"""
Return the name of the previous focussed buffer, or return None.
"""
if len(self._stack) > 1:
return self._stack[-2]
<commit_msg>Use IndexError instead of more general Exception.<commit_after> | """
Push/pop stack of buffer names. The top buffer of the stack is the one that
currently has the focus.
Note that the stack can contain `None` values. This means that none of the
buffers has the focus.
"""
from __future__ import unicode_literals
from six import string_types
from prompt_toolkit.enums import DEFAULT_BUFFER
__all__ = (
'FocusStack',
)
class FocusStack(object):
def __init__(self, initial=DEFAULT_BUFFER):
self._initial = initial
self.reset()
def __repr__(self):
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
raise IndexError('Cannot pop last item from the focus stack.')
def replace(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.pop()
self._stack.append(buffer_name)
def push(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.append(buffer_name)
@property
def current(self):
return self._stack[-1]
@property
def previous(self):
"""
Return the name of the previous focussed buffer, or return None.
"""
if len(self._stack) > 1:
return self._stack[-2]
| """
Push/pop stack of buffer names. The top buffer of the stack is the one that
currently has the focus.
Note that the stack can contain `None` values. This means that none of the
buffers has the focus.
"""
from __future__ import unicode_literals
from six import string_types
from prompt_toolkit.enums import DEFAULT_BUFFER
__all__ = (
'FocusStack',
)
class FocusStack(object):
def __init__(self, initial=DEFAULT_BUFFER):
self._initial = initial
self.reset()
def __repr__(self):
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
raise Exception('Cannot pop last item from the focus stack.')
def replace(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.pop()
self._stack.append(buffer_name)
def push(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.append(buffer_name)
@property
def current(self):
return self._stack[-1]
@property
def previous(self):
"""
Return the name of the previous focussed buffer, or return None.
"""
if len(self._stack) > 1:
return self._stack[-2]
Use IndexError instead of more general Exception."""
Push/pop stack of buffer names. The top buffer of the stack is the one that
currently has the focus.
Note that the stack can contain `None` values. This means that none of the
buffers has the focus.
"""
from __future__ import unicode_literals
from six import string_types
from prompt_toolkit.enums import DEFAULT_BUFFER
__all__ = (
'FocusStack',
)
class FocusStack(object):
def __init__(self, initial=DEFAULT_BUFFER):
self._initial = initial
self.reset()
def __repr__(self):
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
raise IndexError('Cannot pop last item from the focus stack.')
def replace(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.pop()
self._stack.append(buffer_name)
def push(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.append(buffer_name)
@property
def current(self):
return self._stack[-1]
@property
def previous(self):
"""
Return the name of the previous focussed buffer, or return None.
"""
if len(self._stack) > 1:
return self._stack[-2]
| <commit_before>"""
Push/pop stack of buffer names. The top buffer of the stack is the one that
currently has the focus.
Note that the stack can contain `None` values. This means that none of the
buffers has the focus.
"""
from __future__ import unicode_literals
from six import string_types
from prompt_toolkit.enums import DEFAULT_BUFFER
__all__ = (
'FocusStack',
)
class FocusStack(object):
def __init__(self, initial=DEFAULT_BUFFER):
self._initial = initial
self.reset()
def __repr__(self):
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
raise Exception('Cannot pop last item from the focus stack.')
def replace(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.pop()
self._stack.append(buffer_name)
def push(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.append(buffer_name)
@property
def current(self):
return self._stack[-1]
@property
def previous(self):
"""
Return the name of the previous focussed buffer, or return None.
"""
if len(self._stack) > 1:
return self._stack[-2]
<commit_msg>Use IndexError instead of more general Exception.<commit_after>"""
Push/pop stack of buffer names. The top buffer of the stack is the one that
currently has the focus.
Note that the stack can contain `None` values. This means that none of the
buffers has the focus.
"""
from __future__ import unicode_literals
from six import string_types
from prompt_toolkit.enums import DEFAULT_BUFFER
__all__ = (
'FocusStack',
)
class FocusStack(object):
def __init__(self, initial=DEFAULT_BUFFER):
self._initial = initial
self.reset()
def __repr__(self):
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
raise IndexError('Cannot pop last item from the focus stack.')
def replace(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.pop()
self._stack.append(buffer_name)
def push(self, buffer_name):
assert buffer_name == None or isinstance(buffer_name, string_types)
self._stack.append(buffer_name)
@property
def current(self):
return self._stack[-1]
@property
def previous(self):
"""
Return the name of the previous focussed buffer, or return None.
"""
if len(self._stack) > 1:
return self._stack[-2]
|
a55f5c1229e67808560b3b55c65d524a737294fa | experiment/consumers.py | experiment/consumers.py | import datetime
import json
from channels.generic.websocket import JsonWebsocketConsumer
from auth_API.helpers import get_or_create_user_information
from experiment.models import ExperimentAction
class ExperimentConsumer(JsonWebsocketConsumer):
##### WebSocket event handlers
def connect(self):
"""
Called when the websocket is handshaking as part of initial connection.
"""
# Accept the connection
self.accept()
def receive_json(self, content, **kwargs):
"""
Called when we get a text frame. Channels will JSON-decode the payload
for us and pass it as the first argument.
"""
# Get an updated session store
user_info = get_or_create_user_information(self.scope['session'], self.scope['user'], 'EOSS')
if hasattr(user_info, 'experimentcontext'):
experiment_context = user_info.experimentcontext
if content.get('msg_type') == 'add_action':
experiment_stage = experiment_context.experimentstage_set.all().order_by("id")[content['stage']]
ExperimentAction.objects.create(experimentstage=experiment_stage, action=json.dumps(content['action']),
date=datetime.datetime.utcnow())
self.send_json({
'action': content['action'],
'date': datetime.datetime.utcnow().isoformat()
})
elif content.get('msg_type') == 'update_state':
experiment_context.current_state = json.dumps(content['state'])
experiment_context.save()
self.send_json({
"state": content["state"]
})
| import datetime
import json
from channels.generic.websocket import JsonWebsocketConsumer
from auth_API.helpers import get_or_create_user_information
from experiment.models import ExperimentAction
class ExperimentConsumer(JsonWebsocketConsumer):
##### WebSocket event handlers
def connect(self):
"""
Called when the websocket is handshaking as part of initial connection.
"""
# Accept the connection
self.accept()
def receive_json(self, content, **kwargs):
"""
Called when we get a text frame. Channels will JSON-decode the payload
for us and pass it as the first argument.
"""
# Get an updated session store
user_info = get_or_create_user_information(self.scope['session'], self.scope['user'], 'EOSS')
if hasattr(user_info, 'experimentcontext'):
experiment_context = user_info.experimentcontext
if content.get('msg_type') == 'add_action':
experiment_stage = experiment_context.experimentstage_set.all().order_by("id")[content['stage']]
ExperimentAction.objects.create(experimentstage=experiment_stage, action=json.dumps(content['action']),
date=datetime.datetime.utcnow())
self.send_json({
'action': content['action'],
'date': datetime.datetime.utcnow().isoformat()
})
elif content.get('msg_type') == 'update_state':
experiment_context.current_state = json.dumps(content['state'])
experiment_context.save()
self.send_json({
"state": json.loads(experiment_context.current_state)
})
| Send what state is saved | Send what state is saved
| Python | mit | seakers/daphne_brain,seakers/daphne_brain | import datetime
import json
from channels.generic.websocket import JsonWebsocketConsumer
from auth_API.helpers import get_or_create_user_information
from experiment.models import ExperimentAction
class ExperimentConsumer(JsonWebsocketConsumer):
##### WebSocket event handlers
def connect(self):
"""
Called when the websocket is handshaking as part of initial connection.
"""
# Accept the connection
self.accept()
def receive_json(self, content, **kwargs):
"""
Called when we get a text frame. Channels will JSON-decode the payload
for us and pass it as the first argument.
"""
# Get an updated session store
user_info = get_or_create_user_information(self.scope['session'], self.scope['user'], 'EOSS')
if hasattr(user_info, 'experimentcontext'):
experiment_context = user_info.experimentcontext
if content.get('msg_type') == 'add_action':
experiment_stage = experiment_context.experimentstage_set.all().order_by("id")[content['stage']]
ExperimentAction.objects.create(experimentstage=experiment_stage, action=json.dumps(content['action']),
date=datetime.datetime.utcnow())
self.send_json({
'action': content['action'],
'date': datetime.datetime.utcnow().isoformat()
})
elif content.get('msg_type') == 'update_state':
experiment_context.current_state = json.dumps(content['state'])
experiment_context.save()
self.send_json({
"state": content["state"]
})
Send what state is saved | import datetime
import json
from channels.generic.websocket import JsonWebsocketConsumer
from auth_API.helpers import get_or_create_user_information
from experiment.models import ExperimentAction
class ExperimentConsumer(JsonWebsocketConsumer):
##### WebSocket event handlers
def connect(self):
"""
Called when the websocket is handshaking as part of initial connection.
"""
# Accept the connection
self.accept()
def receive_json(self, content, **kwargs):
"""
Called when we get a text frame. Channels will JSON-decode the payload
for us and pass it as the first argument.
"""
# Get an updated session store
user_info = get_or_create_user_information(self.scope['session'], self.scope['user'], 'EOSS')
if hasattr(user_info, 'experimentcontext'):
experiment_context = user_info.experimentcontext
if content.get('msg_type') == 'add_action':
experiment_stage = experiment_context.experimentstage_set.all().order_by("id")[content['stage']]
ExperimentAction.objects.create(experimentstage=experiment_stage, action=json.dumps(content['action']),
date=datetime.datetime.utcnow())
self.send_json({
'action': content['action'],
'date': datetime.datetime.utcnow().isoformat()
})
elif content.get('msg_type') == 'update_state':
experiment_context.current_state = json.dumps(content['state'])
experiment_context.save()
self.send_json({
"state": json.loads(experiment_context.current_state)
})
| <commit_before>import datetime
import json
from channels.generic.websocket import JsonWebsocketConsumer
from auth_API.helpers import get_or_create_user_information
from experiment.models import ExperimentAction
class ExperimentConsumer(JsonWebsocketConsumer):
##### WebSocket event handlers
def connect(self):
"""
Called when the websocket is handshaking as part of initial connection.
"""
# Accept the connection
self.accept()
def receive_json(self, content, **kwargs):
"""
Called when we get a text frame. Channels will JSON-decode the payload
for us and pass it as the first argument.
"""
# Get an updated session store
user_info = get_or_create_user_information(self.scope['session'], self.scope['user'], 'EOSS')
if hasattr(user_info, 'experimentcontext'):
experiment_context = user_info.experimentcontext
if content.get('msg_type') == 'add_action':
experiment_stage = experiment_context.experimentstage_set.all().order_by("id")[content['stage']]
ExperimentAction.objects.create(experimentstage=experiment_stage, action=json.dumps(content['action']),
date=datetime.datetime.utcnow())
self.send_json({
'action': content['action'],
'date': datetime.datetime.utcnow().isoformat()
})
elif content.get('msg_type') == 'update_state':
experiment_context.current_state = json.dumps(content['state'])
experiment_context.save()
self.send_json({
"state": content["state"]
})
<commit_msg>Send what state is saved<commit_after> | import datetime
import json
from channels.generic.websocket import JsonWebsocketConsumer
from auth_API.helpers import get_or_create_user_information
from experiment.models import ExperimentAction
class ExperimentConsumer(JsonWebsocketConsumer):
##### WebSocket event handlers
def connect(self):
"""
Called when the websocket is handshaking as part of initial connection.
"""
# Accept the connection
self.accept()
def receive_json(self, content, **kwargs):
"""
Called when we get a text frame. Channels will JSON-decode the payload
for us and pass it as the first argument.
"""
# Get an updated session store
user_info = get_or_create_user_information(self.scope['session'], self.scope['user'], 'EOSS')
if hasattr(user_info, 'experimentcontext'):
experiment_context = user_info.experimentcontext
if content.get('msg_type') == 'add_action':
experiment_stage = experiment_context.experimentstage_set.all().order_by("id")[content['stage']]
ExperimentAction.objects.create(experimentstage=experiment_stage, action=json.dumps(content['action']),
date=datetime.datetime.utcnow())
self.send_json({
'action': content['action'],
'date': datetime.datetime.utcnow().isoformat()
})
elif content.get('msg_type') == 'update_state':
experiment_context.current_state = json.dumps(content['state'])
experiment_context.save()
self.send_json({
"state": json.loads(experiment_context.current_state)
})
| import datetime
import json
from channels.generic.websocket import JsonWebsocketConsumer
from auth_API.helpers import get_or_create_user_information
from experiment.models import ExperimentAction
class ExperimentConsumer(JsonWebsocketConsumer):
##### WebSocket event handlers
def connect(self):
"""
Called when the websocket is handshaking as part of initial connection.
"""
# Accept the connection
self.accept()
def receive_json(self, content, **kwargs):
"""
Called when we get a text frame. Channels will JSON-decode the payload
for us and pass it as the first argument.
"""
# Get an updated session store
user_info = get_or_create_user_information(self.scope['session'], self.scope['user'], 'EOSS')
if hasattr(user_info, 'experimentcontext'):
experiment_context = user_info.experimentcontext
if content.get('msg_type') == 'add_action':
experiment_stage = experiment_context.experimentstage_set.all().order_by("id")[content['stage']]
ExperimentAction.objects.create(experimentstage=experiment_stage, action=json.dumps(content['action']),
date=datetime.datetime.utcnow())
self.send_json({
'action': content['action'],
'date': datetime.datetime.utcnow().isoformat()
})
elif content.get('msg_type') == 'update_state':
experiment_context.current_state = json.dumps(content['state'])
experiment_context.save()
self.send_json({
"state": content["state"]
})
Send what state is savedimport datetime
import json
from channels.generic.websocket import JsonWebsocketConsumer
from auth_API.helpers import get_or_create_user_information
from experiment.models import ExperimentAction
class ExperimentConsumer(JsonWebsocketConsumer):
##### WebSocket event handlers
def connect(self):
"""
Called when the websocket is handshaking as part of initial connection.
"""
# Accept the connection
self.accept()
def receive_json(self, content, **kwargs):
"""
Called when we get a text frame. Channels will JSON-decode the payload
for us and pass it as the first argument.
"""
# Get an updated session store
user_info = get_or_create_user_information(self.scope['session'], self.scope['user'], 'EOSS')
if hasattr(user_info, 'experimentcontext'):
experiment_context = user_info.experimentcontext
if content.get('msg_type') == 'add_action':
experiment_stage = experiment_context.experimentstage_set.all().order_by("id")[content['stage']]
ExperimentAction.objects.create(experimentstage=experiment_stage, action=json.dumps(content['action']),
date=datetime.datetime.utcnow())
self.send_json({
'action': content['action'],
'date': datetime.datetime.utcnow().isoformat()
})
elif content.get('msg_type') == 'update_state':
experiment_context.current_state = json.dumps(content['state'])
experiment_context.save()
self.send_json({
"state": json.loads(experiment_context.current_state)
})
| <commit_before>import datetime
import json
from channels.generic.websocket import JsonWebsocketConsumer
from auth_API.helpers import get_or_create_user_information
from experiment.models import ExperimentAction
class ExperimentConsumer(JsonWebsocketConsumer):
##### WebSocket event handlers
def connect(self):
"""
Called when the websocket is handshaking as part of initial connection.
"""
# Accept the connection
self.accept()
def receive_json(self, content, **kwargs):
"""
Called when we get a text frame. Channels will JSON-decode the payload
for us and pass it as the first argument.
"""
# Get an updated session store
user_info = get_or_create_user_information(self.scope['session'], self.scope['user'], 'EOSS')
if hasattr(user_info, 'experimentcontext'):
experiment_context = user_info.experimentcontext
if content.get('msg_type') == 'add_action':
experiment_stage = experiment_context.experimentstage_set.all().order_by("id")[content['stage']]
ExperimentAction.objects.create(experimentstage=experiment_stage, action=json.dumps(content['action']),
date=datetime.datetime.utcnow())
self.send_json({
'action': content['action'],
'date': datetime.datetime.utcnow().isoformat()
})
elif content.get('msg_type') == 'update_state':
experiment_context.current_state = json.dumps(content['state'])
experiment_context.save()
self.send_json({
"state": content["state"]
})
<commit_msg>Send what state is saved<commit_after>import datetime
import json
from channels.generic.websocket import JsonWebsocketConsumer
from auth_API.helpers import get_or_create_user_information
from experiment.models import ExperimentAction
class ExperimentConsumer(JsonWebsocketConsumer):
##### WebSocket event handlers
def connect(self):
"""
Called when the websocket is handshaking as part of initial connection.
"""
# Accept the connection
self.accept()
def receive_json(self, content, **kwargs):
"""
Called when we get a text frame. Channels will JSON-decode the payload
for us and pass it as the first argument.
"""
# Get an updated session store
user_info = get_or_create_user_information(self.scope['session'], self.scope['user'], 'EOSS')
if hasattr(user_info, 'experimentcontext'):
experiment_context = user_info.experimentcontext
if content.get('msg_type') == 'add_action':
experiment_stage = experiment_context.experimentstage_set.all().order_by("id")[content['stage']]
ExperimentAction.objects.create(experimentstage=experiment_stage, action=json.dumps(content['action']),
date=datetime.datetime.utcnow())
self.send_json({
'action': content['action'],
'date': datetime.datetime.utcnow().isoformat()
})
elif content.get('msg_type') == 'update_state':
experiment_context.current_state = json.dumps(content['state'])
experiment_context.save()
self.send_json({
"state": json.loads(experiment_context.current_state)
})
|
20adc2fa2a15f122d5093da2bbfc9625bb2ed772 | exercise1.py | exercise1.py | #!/usr/bin/env python
""" Assignment 1, Exercise 1, INF1340, Fall, 2014. Grade to gpa conversion
This module prints the amount of money that Lakshmi has remaining
after the stock transactions.
"""
__author__ = 'Susan Sim'
__email__ = "ses@drsusansim.org"
__copyright__ = "2015 Susan Sim"
__license__ = "MIT License"
money = 1000.00
print(money)
| #!/usr/bin/env python
""" Assignment 1, Exercise 1, INF1340, Fall, 2014. Grade to gpa conversion
This module prints the amount of money that Lakshmi has remaining
after the stock transactions
"""
__author__ = 'Susan Sim'
__email__ = "ses@drsusansim.org"
__copyright__ = "2015 Susan Sim"
__license__ = "MIT License"
money = 1000.00
print(money)
| Revert "Added period to line 6" | Revert "Added period to line 6"
This reverts commit 66ca87943111e5c117578b7407c4e3e752fd195d.
| Python | mit | Momomelo/inf1340_2015_asst1 | #!/usr/bin/env python
""" Assignment 1, Exercise 1, INF1340, Fall, 2014. Grade to gpa conversion
This module prints the amount of money that Lakshmi has remaining
after the stock transactions.
"""
__author__ = 'Susan Sim'
__email__ = "ses@drsusansim.org"
__copyright__ = "2015 Susan Sim"
__license__ = "MIT License"
money = 1000.00
print(money)
Revert "Added period to line 6"
This reverts commit 66ca87943111e5c117578b7407c4e3e752fd195d. | #!/usr/bin/env python
""" Assignment 1, Exercise 1, INF1340, Fall, 2014. Grade to gpa conversion
This module prints the amount of money that Lakshmi has remaining
after the stock transactions
"""
__author__ = 'Susan Sim'
__email__ = "ses@drsusansim.org"
__copyright__ = "2015 Susan Sim"
__license__ = "MIT License"
money = 1000.00
print(money)
| <commit_before>#!/usr/bin/env python
""" Assignment 1, Exercise 1, INF1340, Fall, 2014. Grade to gpa conversion
This module prints the amount of money that Lakshmi has remaining
after the stock transactions.
"""
__author__ = 'Susan Sim'
__email__ = "ses@drsusansim.org"
__copyright__ = "2015 Susan Sim"
__license__ = "MIT License"
money = 1000.00
print(money)
<commit_msg>Revert "Added period to line 6"
This reverts commit 66ca87943111e5c117578b7407c4e3e752fd195d.<commit_after> | #!/usr/bin/env python
""" Assignment 1, Exercise 1, INF1340, Fall, 2014. Grade to gpa conversion
This module prints the amount of money that Lakshmi has remaining
after the stock transactions
"""
__author__ = 'Susan Sim'
__email__ = "ses@drsusansim.org"
__copyright__ = "2015 Susan Sim"
__license__ = "MIT License"
money = 1000.00
print(money)
| #!/usr/bin/env python
""" Assignment 1, Exercise 1, INF1340, Fall, 2014. Grade to gpa conversion
This module prints the amount of money that Lakshmi has remaining
after the stock transactions.
"""
__author__ = 'Susan Sim'
__email__ = "ses@drsusansim.org"
__copyright__ = "2015 Susan Sim"
__license__ = "MIT License"
money = 1000.00
print(money)
Revert "Added period to line 6"
This reverts commit 66ca87943111e5c117578b7407c4e3e752fd195d.#!/usr/bin/env python
""" Assignment 1, Exercise 1, INF1340, Fall, 2014. Grade to gpa conversion
This module prints the amount of money that Lakshmi has remaining
after the stock transactions
"""
__author__ = 'Susan Sim'
__email__ = "ses@drsusansim.org"
__copyright__ = "2015 Susan Sim"
__license__ = "MIT License"
money = 1000.00
print(money)
| <commit_before>#!/usr/bin/env python
""" Assignment 1, Exercise 1, INF1340, Fall, 2014. Grade to gpa conversion
This module prints the amount of money that Lakshmi has remaining
after the stock transactions.
"""
__author__ = 'Susan Sim'
__email__ = "ses@drsusansim.org"
__copyright__ = "2015 Susan Sim"
__license__ = "MIT License"
money = 1000.00
print(money)
<commit_msg>Revert "Added period to line 6"
This reverts commit 66ca87943111e5c117578b7407c4e3e752fd195d.<commit_after>#!/usr/bin/env python
""" Assignment 1, Exercise 1, INF1340, Fall, 2014. Grade to gpa conversion
This module prints the amount of money that Lakshmi has remaining
after the stock transactions
"""
__author__ = 'Susan Sim'
__email__ = "ses@drsusansim.org"
__copyright__ = "2015 Susan Sim"
__license__ = "MIT License"
money = 1000.00
print(money)
|
b8de193d6d0ca5ef00bebb9c375df141335a1f95 | apps/codrspace/views.py | apps/codrspace/views.py | """Main codrspace views"""
from django.shortcuts import render, redirect
from settings import GITHUB_CLIENT_ID
import requests
def index(request, slug=None, template_name="base.html"):
return render(request, template_name)
def edit(request, slug=None, template_name="edit.html"):
"""Edit Your Post"""
return render(request, template_name, {})
def signin_start(request, slug=None, template_name="signin.html"):
"""Start of OAuth signin"""
return redirect('https://github.com/login/oauth/authorize?client_id=%s' % (
GITHUB_CLIENT_ID))
def signin_callback(request, slug=None, template_name="base.html"):
"""Callback from Github OAuth"""
code = request.GET['code']
resp = requests.post(url='https://github.com/login/oauth/access_token',
params={
'client_id': GITHUB_CLIENT_ID,
'client_secret':
'2b40ac4251871e09441eb4147cbd5575be48bde9',
'code': code})
# FIXME: Handle error
if resp.status_code != 200 or 'error' in resp.content:
raise Exception('code: %u content: %s' % (resp.status_code,
resp.content))
token = resp.content['access_token']
return redirect('http://www.codrspace.com/%s' % (token))
| """Main codrspace views"""
from django.shortcuts import render, redirect
from settings import GITHUB_CLIENT_ID
import requests
def index(request, slug=None, template_name="base.html"):
return render(request, template_name)
def edit(request, slug=None, template_name="edit.html"):
"""Edit Your Post"""
return render(request, template_name, {})
def signin_start(request, slug=None, template_name="signin.html"):
"""Start of OAuth signin"""
return redirect('https://github.com/login/oauth/authorize?client_id=%s' % (
GITHUB_CLIENT_ID))
def signin_callback(request, slug=None, template_name="base.html"):
"""Callback from Github OAuth"""
code = request.GET['code']
resp = requests.post(url='https://github.com/login/oauth/access_token',
params={
'client_id': GITHUB_CLIENT_ID,
'client_secret':
'2b40ac4251871e09441eb4147cbd5575be48bde9',
'code': code})
# FIXME: Handle error
if resp.status_code != 200 or 'error' in resp.content:
raise Exception('code: %u content: %s' % (resp.status_code,
resp.content))
token = resp.content
return redirect('http://www.codrspace.com/%s' % (token))
| Use all of content in redirect from oauth callback | Use all of content in redirect from oauth callback
| Python | mit | durden/dash,durden/dash | """Main codrspace views"""
from django.shortcuts import render, redirect
from settings import GITHUB_CLIENT_ID
import requests
def index(request, slug=None, template_name="base.html"):
return render(request, template_name)
def edit(request, slug=None, template_name="edit.html"):
"""Edit Your Post"""
return render(request, template_name, {})
def signin_start(request, slug=None, template_name="signin.html"):
"""Start of OAuth signin"""
return redirect('https://github.com/login/oauth/authorize?client_id=%s' % (
GITHUB_CLIENT_ID))
def signin_callback(request, slug=None, template_name="base.html"):
"""Callback from Github OAuth"""
code = request.GET['code']
resp = requests.post(url='https://github.com/login/oauth/access_token',
params={
'client_id': GITHUB_CLIENT_ID,
'client_secret':
'2b40ac4251871e09441eb4147cbd5575be48bde9',
'code': code})
# FIXME: Handle error
if resp.status_code != 200 or 'error' in resp.content:
raise Exception('code: %u content: %s' % (resp.status_code,
resp.content))
token = resp.content['access_token']
return redirect('http://www.codrspace.com/%s' % (token))
Use all of content in redirect from oauth callback | """Main codrspace views"""
from django.shortcuts import render, redirect
from settings import GITHUB_CLIENT_ID
import requests
def index(request, slug=None, template_name="base.html"):
return render(request, template_name)
def edit(request, slug=None, template_name="edit.html"):
"""Edit Your Post"""
return render(request, template_name, {})
def signin_start(request, slug=None, template_name="signin.html"):
"""Start of OAuth signin"""
return redirect('https://github.com/login/oauth/authorize?client_id=%s' % (
GITHUB_CLIENT_ID))
def signin_callback(request, slug=None, template_name="base.html"):
"""Callback from Github OAuth"""
code = request.GET['code']
resp = requests.post(url='https://github.com/login/oauth/access_token',
params={
'client_id': GITHUB_CLIENT_ID,
'client_secret':
'2b40ac4251871e09441eb4147cbd5575be48bde9',
'code': code})
# FIXME: Handle error
if resp.status_code != 200 or 'error' in resp.content:
raise Exception('code: %u content: %s' % (resp.status_code,
resp.content))
token = resp.content
return redirect('http://www.codrspace.com/%s' % (token))
| <commit_before>"""Main codrspace views"""
from django.shortcuts import render, redirect
from settings import GITHUB_CLIENT_ID
import requests
def index(request, slug=None, template_name="base.html"):
return render(request, template_name)
def edit(request, slug=None, template_name="edit.html"):
"""Edit Your Post"""
return render(request, template_name, {})
def signin_start(request, slug=None, template_name="signin.html"):
"""Start of OAuth signin"""
return redirect('https://github.com/login/oauth/authorize?client_id=%s' % (
GITHUB_CLIENT_ID))
def signin_callback(request, slug=None, template_name="base.html"):
"""Callback from Github OAuth"""
code = request.GET['code']
resp = requests.post(url='https://github.com/login/oauth/access_token',
params={
'client_id': GITHUB_CLIENT_ID,
'client_secret':
'2b40ac4251871e09441eb4147cbd5575be48bde9',
'code': code})
# FIXME: Handle error
if resp.status_code != 200 or 'error' in resp.content:
raise Exception('code: %u content: %s' % (resp.status_code,
resp.content))
token = resp.content['access_token']
return redirect('http://www.codrspace.com/%s' % (token))
<commit_msg>Use all of content in redirect from oauth callback<commit_after> | """Main codrspace views"""
from django.shortcuts import render, redirect
from settings import GITHUB_CLIENT_ID
import requests
def index(request, slug=None, template_name="base.html"):
return render(request, template_name)
def edit(request, slug=None, template_name="edit.html"):
"""Edit Your Post"""
return render(request, template_name, {})
def signin_start(request, slug=None, template_name="signin.html"):
"""Start of OAuth signin"""
return redirect('https://github.com/login/oauth/authorize?client_id=%s' % (
GITHUB_CLIENT_ID))
def signin_callback(request, slug=None, template_name="base.html"):
"""Callback from Github OAuth"""
code = request.GET['code']
resp = requests.post(url='https://github.com/login/oauth/access_token',
params={
'client_id': GITHUB_CLIENT_ID,
'client_secret':
'2b40ac4251871e09441eb4147cbd5575be48bde9',
'code': code})
# FIXME: Handle error
if resp.status_code != 200 or 'error' in resp.content:
raise Exception('code: %u content: %s' % (resp.status_code,
resp.content))
token = resp.content
return redirect('http://www.codrspace.com/%s' % (token))
| """Main codrspace views"""
from django.shortcuts import render, redirect
from settings import GITHUB_CLIENT_ID
import requests
def index(request, slug=None, template_name="base.html"):
return render(request, template_name)
def edit(request, slug=None, template_name="edit.html"):
"""Edit Your Post"""
return render(request, template_name, {})
def signin_start(request, slug=None, template_name="signin.html"):
"""Start of OAuth signin"""
return redirect('https://github.com/login/oauth/authorize?client_id=%s' % (
GITHUB_CLIENT_ID))
def signin_callback(request, slug=None, template_name="base.html"):
"""Callback from Github OAuth"""
code = request.GET['code']
resp = requests.post(url='https://github.com/login/oauth/access_token',
params={
'client_id': GITHUB_CLIENT_ID,
'client_secret':
'2b40ac4251871e09441eb4147cbd5575be48bde9',
'code': code})
# FIXME: Handle error
if resp.status_code != 200 or 'error' in resp.content:
raise Exception('code: %u content: %s' % (resp.status_code,
resp.content))
token = resp.content['access_token']
return redirect('http://www.codrspace.com/%s' % (token))
Use all of content in redirect from oauth callback"""Main codrspace views"""
from django.shortcuts import render, redirect
from settings import GITHUB_CLIENT_ID
import requests
def index(request, slug=None, template_name="base.html"):
return render(request, template_name)
def edit(request, slug=None, template_name="edit.html"):
"""Edit Your Post"""
return render(request, template_name, {})
def signin_start(request, slug=None, template_name="signin.html"):
"""Start of OAuth signin"""
return redirect('https://github.com/login/oauth/authorize?client_id=%s' % (
GITHUB_CLIENT_ID))
def signin_callback(request, slug=None, template_name="base.html"):
"""Callback from Github OAuth"""
code = request.GET['code']
resp = requests.post(url='https://github.com/login/oauth/access_token',
params={
'client_id': GITHUB_CLIENT_ID,
'client_secret':
'2b40ac4251871e09441eb4147cbd5575be48bde9',
'code': code})
# FIXME: Handle error
if resp.status_code != 200 or 'error' in resp.content:
raise Exception('code: %u content: %s' % (resp.status_code,
resp.content))
token = resp.content
return redirect('http://www.codrspace.com/%s' % (token))
| <commit_before>"""Main codrspace views"""
from django.shortcuts import render, redirect
from settings import GITHUB_CLIENT_ID
import requests
def index(request, slug=None, template_name="base.html"):
return render(request, template_name)
def edit(request, slug=None, template_name="edit.html"):
"""Edit Your Post"""
return render(request, template_name, {})
def signin_start(request, slug=None, template_name="signin.html"):
"""Start of OAuth signin"""
return redirect('https://github.com/login/oauth/authorize?client_id=%s' % (
GITHUB_CLIENT_ID))
def signin_callback(request, slug=None, template_name="base.html"):
"""Callback from Github OAuth"""
code = request.GET['code']
resp = requests.post(url='https://github.com/login/oauth/access_token',
params={
'client_id': GITHUB_CLIENT_ID,
'client_secret':
'2b40ac4251871e09441eb4147cbd5575be48bde9',
'code': code})
# FIXME: Handle error
if resp.status_code != 200 or 'error' in resp.content:
raise Exception('code: %u content: %s' % (resp.status_code,
resp.content))
token = resp.content['access_token']
return redirect('http://www.codrspace.com/%s' % (token))
<commit_msg>Use all of content in redirect from oauth callback<commit_after>"""Main codrspace views"""
from django.shortcuts import render, redirect
from settings import GITHUB_CLIENT_ID
import requests
def index(request, slug=None, template_name="base.html"):
return render(request, template_name)
def edit(request, slug=None, template_name="edit.html"):
"""Edit Your Post"""
return render(request, template_name, {})
def signin_start(request, slug=None, template_name="signin.html"):
"""Start of OAuth signin"""
return redirect('https://github.com/login/oauth/authorize?client_id=%s' % (
GITHUB_CLIENT_ID))
def signin_callback(request, slug=None, template_name="base.html"):
"""Callback from Github OAuth"""
code = request.GET['code']
resp = requests.post(url='https://github.com/login/oauth/access_token',
params={
'client_id': GITHUB_CLIENT_ID,
'client_secret':
'2b40ac4251871e09441eb4147cbd5575be48bde9',
'code': code})
# FIXME: Handle error
if resp.status_code != 200 or 'error' in resp.content:
raise Exception('code: %u content: %s' % (resp.status_code,
resp.content))
token = resp.content
return redirect('http://www.codrspace.com/%s' % (token))
|
dae46d466f84ab8694094214b15315e657d80d54 | setup.py | setup.py | #!/usr/bin/env python
from __future__ import unicode_literals
from wagtail_mvc import __version__
from setuptools import setup, find_packages
setup(
name='wagtail_mvc',
version=__version__,
description='Allows better separation between '
'models and views in Wagtail CMS',
author='Dan Stringer',
author_email='dan.stringer1983@googlemail.com',
url='https://github.com/fatboystring/Wagtail-MVC/',
download_url='https://github.com/fatboystring/Wagtail-MVC/tarball/0.1.0',
packages=find_packages(),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
include_package_data=True,
keywords=['wagtail', 'django', 'mvc'],
install_requires=[]
)
| #!/usr/bin/env python
from __future__ import unicode_literals
from wagtail_mvc import __version__
from setuptools import setup, find_packages
setup(
name='wagtail_mvc',
version=__version__,
description='Allows better separation between '
'models and views in Wagtail CMS',
author='Dan Stringer',
author_email='dan.stringer1983@googlemail.com',
url='https://github.com/fatboystring/Wagtail-MVC/',
download_url='https://github.com/fatboystring/Wagtail-MVC/tarball/0.1.0',
packages=find_packages(exclude=['app']),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
include_package_data=True,
keywords=['wagtail', 'django', 'mvc'],
install_requires=[]
)
| Exclude app dir from package | Exclude app dir from package
| Python | mit | fatboystring/Wagtail-MVC,fatboystring/Wagtail-MVC | #!/usr/bin/env python
from __future__ import unicode_literals
from wagtail_mvc import __version__
from setuptools import setup, find_packages
setup(
name='wagtail_mvc',
version=__version__,
description='Allows better separation between '
'models and views in Wagtail CMS',
author='Dan Stringer',
author_email='dan.stringer1983@googlemail.com',
url='https://github.com/fatboystring/Wagtail-MVC/',
download_url='https://github.com/fatboystring/Wagtail-MVC/tarball/0.1.0',
packages=find_packages(),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
include_package_data=True,
keywords=['wagtail', 'django', 'mvc'],
install_requires=[]
)
Exclude app dir from package | #!/usr/bin/env python
from __future__ import unicode_literals
from wagtail_mvc import __version__
from setuptools import setup, find_packages
setup(
name='wagtail_mvc',
version=__version__,
description='Allows better separation between '
'models and views in Wagtail CMS',
author='Dan Stringer',
author_email='dan.stringer1983@googlemail.com',
url='https://github.com/fatboystring/Wagtail-MVC/',
download_url='https://github.com/fatboystring/Wagtail-MVC/tarball/0.1.0',
packages=find_packages(exclude=['app']),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
include_package_data=True,
keywords=['wagtail', 'django', 'mvc'],
install_requires=[]
)
| <commit_before>#!/usr/bin/env python
from __future__ import unicode_literals
from wagtail_mvc import __version__
from setuptools import setup, find_packages
setup(
name='wagtail_mvc',
version=__version__,
description='Allows better separation between '
'models and views in Wagtail CMS',
author='Dan Stringer',
author_email='dan.stringer1983@googlemail.com',
url='https://github.com/fatboystring/Wagtail-MVC/',
download_url='https://github.com/fatboystring/Wagtail-MVC/tarball/0.1.0',
packages=find_packages(),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
include_package_data=True,
keywords=['wagtail', 'django', 'mvc'],
install_requires=[]
)
<commit_msg>Exclude app dir from package<commit_after> | #!/usr/bin/env python
from __future__ import unicode_literals
from wagtail_mvc import __version__
from setuptools import setup, find_packages
setup(
name='wagtail_mvc',
version=__version__,
description='Allows better separation between '
'models and views in Wagtail CMS',
author='Dan Stringer',
author_email='dan.stringer1983@googlemail.com',
url='https://github.com/fatboystring/Wagtail-MVC/',
download_url='https://github.com/fatboystring/Wagtail-MVC/tarball/0.1.0',
packages=find_packages(exclude=['app']),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
include_package_data=True,
keywords=['wagtail', 'django', 'mvc'],
install_requires=[]
)
| #!/usr/bin/env python
from __future__ import unicode_literals
from wagtail_mvc import __version__
from setuptools import setup, find_packages
setup(
name='wagtail_mvc',
version=__version__,
description='Allows better separation between '
'models and views in Wagtail CMS',
author='Dan Stringer',
author_email='dan.stringer1983@googlemail.com',
url='https://github.com/fatboystring/Wagtail-MVC/',
download_url='https://github.com/fatboystring/Wagtail-MVC/tarball/0.1.0',
packages=find_packages(),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
include_package_data=True,
keywords=['wagtail', 'django', 'mvc'],
install_requires=[]
)
Exclude app dir from package#!/usr/bin/env python
from __future__ import unicode_literals
from wagtail_mvc import __version__
from setuptools import setup, find_packages
setup(
name='wagtail_mvc',
version=__version__,
description='Allows better separation between '
'models and views in Wagtail CMS',
author='Dan Stringer',
author_email='dan.stringer1983@googlemail.com',
url='https://github.com/fatboystring/Wagtail-MVC/',
download_url='https://github.com/fatboystring/Wagtail-MVC/tarball/0.1.0',
packages=find_packages(exclude=['app']),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
include_package_data=True,
keywords=['wagtail', 'django', 'mvc'],
install_requires=[]
)
| <commit_before>#!/usr/bin/env python
from __future__ import unicode_literals
from wagtail_mvc import __version__
from setuptools import setup, find_packages
setup(
name='wagtail_mvc',
version=__version__,
description='Allows better separation between '
'models and views in Wagtail CMS',
author='Dan Stringer',
author_email='dan.stringer1983@googlemail.com',
url='https://github.com/fatboystring/Wagtail-MVC/',
download_url='https://github.com/fatboystring/Wagtail-MVC/tarball/0.1.0',
packages=find_packages(),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
include_package_data=True,
keywords=['wagtail', 'django', 'mvc'],
install_requires=[]
)
<commit_msg>Exclude app dir from package<commit_after>#!/usr/bin/env python
from __future__ import unicode_literals
from wagtail_mvc import __version__
from setuptools import setup, find_packages
setup(
name='wagtail_mvc',
version=__version__,
description='Allows better separation between '
'models and views in Wagtail CMS',
author='Dan Stringer',
author_email='dan.stringer1983@googlemail.com',
url='https://github.com/fatboystring/Wagtail-MVC/',
download_url='https://github.com/fatboystring/Wagtail-MVC/tarball/0.1.0',
packages=find_packages(exclude=['app']),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
include_package_data=True,
keywords=['wagtail', 'django', 'mvc'],
install_requires=[]
)
|
808a71ae547348f5ed39b71a261c69f98a211838 | akvo/api/serializers.py | akvo/api/serializers.py | # -*- coding: utf-8 -*-
# Akvo RSR is covered by the GNU Affero General Public License.
# See more details in the license.txt file located at the root folder of the Akvo RSR module.
# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.
from lxml import etree
import os
from tastypie.serializers import Serializer
class IATISerializer(Serializer):
def from_etree(self, data):
""" transform the iati-activity XML into "tastypie compliant" XML using the 'iati-xslt.xml' stylesheet
"""
if data.tag == 'iati-activity':
with open(os.path.join(os.path.dirname(__file__),'xml', 'iati-xslt.xml'), 'r') as f:
iati_xslt = f.read()
etree_xml = etree.XML(iati_xslt)
etree_xslt = etree.XSLT(etree_xml)
tasty_xml = etree_xslt(data)
return self.from_etree(tasty_xml.getroot())
else:
return super(IATISerializer, self).from_etree(data) | # -*- coding: utf-8 -*-
# Akvo RSR is covered by the GNU Affero General Public License.
# See more details in the license.txt file located at the root folder of the Akvo RSR module.
# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.
from lxml import etree
import os
from tastypie.serializers import Serializer
class IATISerializer(Serializer):
def from_etree(self, data):
""" transform the iati-activity XML into "tastypie compliant" XML using the 'iati-xslt.xsl' stylesheet
"""
if data.tag == 'iati-activity':
with open(os.path.join(os.path.dirname(__file__),'xml', 'iati-xslt.xsl'), 'r') as f:
iati_xslt = f.read()
etree_xml = etree.XML(iati_xslt)
etree_xslt = etree.XSLT(etree_xml)
tasty_xml = etree_xslt(data)
return self.from_etree(tasty_xml.getroot())
else:
return super(IATISerializer, self).from_etree(data) | Fix IATISerializer.from_etree() so it uses iati-xslt.xsl | Fix IATISerializer.from_etree() so it uses iati-xslt.xsl
| Python | agpl-3.0 | akvo/akvo-rsr,akvo/akvo-rsr,akvo/akvo-rsr,akvo/akvo-rsr | # -*- coding: utf-8 -*-
# Akvo RSR is covered by the GNU Affero General Public License.
# See more details in the license.txt file located at the root folder of the Akvo RSR module.
# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.
from lxml import etree
import os
from tastypie.serializers import Serializer
class IATISerializer(Serializer):
def from_etree(self, data):
""" transform the iati-activity XML into "tastypie compliant" XML using the 'iati-xslt.xml' stylesheet
"""
if data.tag == 'iati-activity':
with open(os.path.join(os.path.dirname(__file__),'xml', 'iati-xslt.xml'), 'r') as f:
iati_xslt = f.read()
etree_xml = etree.XML(iati_xslt)
etree_xslt = etree.XSLT(etree_xml)
tasty_xml = etree_xslt(data)
return self.from_etree(tasty_xml.getroot())
else:
return super(IATISerializer, self).from_etree(data)Fix IATISerializer.from_etree() so it uses iati-xslt.xsl | # -*- coding: utf-8 -*-
# Akvo RSR is covered by the GNU Affero General Public License.
# See more details in the license.txt file located at the root folder of the Akvo RSR module.
# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.
from lxml import etree
import os
from tastypie.serializers import Serializer
class IATISerializer(Serializer):
def from_etree(self, data):
""" transform the iati-activity XML into "tastypie compliant" XML using the 'iati-xslt.xsl' stylesheet
"""
if data.tag == 'iati-activity':
with open(os.path.join(os.path.dirname(__file__),'xml', 'iati-xslt.xsl'), 'r') as f:
iati_xslt = f.read()
etree_xml = etree.XML(iati_xslt)
etree_xslt = etree.XSLT(etree_xml)
tasty_xml = etree_xslt(data)
return self.from_etree(tasty_xml.getroot())
else:
return super(IATISerializer, self).from_etree(data) | <commit_before># -*- coding: utf-8 -*-
# Akvo RSR is covered by the GNU Affero General Public License.
# See more details in the license.txt file located at the root folder of the Akvo RSR module.
# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.
from lxml import etree
import os
from tastypie.serializers import Serializer
class IATISerializer(Serializer):
def from_etree(self, data):
""" transform the iati-activity XML into "tastypie compliant" XML using the 'iati-xslt.xml' stylesheet
"""
if data.tag == 'iati-activity':
with open(os.path.join(os.path.dirname(__file__),'xml', 'iati-xslt.xml'), 'r') as f:
iati_xslt = f.read()
etree_xml = etree.XML(iati_xslt)
etree_xslt = etree.XSLT(etree_xml)
tasty_xml = etree_xslt(data)
return self.from_etree(tasty_xml.getroot())
else:
return super(IATISerializer, self).from_etree(data)<commit_msg>Fix IATISerializer.from_etree() so it uses iati-xslt.xsl<commit_after> | # -*- coding: utf-8 -*-
# Akvo RSR is covered by the GNU Affero General Public License.
# See more details in the license.txt file located at the root folder of the Akvo RSR module.
# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.
from lxml import etree
import os
from tastypie.serializers import Serializer
class IATISerializer(Serializer):
def from_etree(self, data):
""" transform the iati-activity XML into "tastypie compliant" XML using the 'iati-xslt.xsl' stylesheet
"""
if data.tag == 'iati-activity':
with open(os.path.join(os.path.dirname(__file__),'xml', 'iati-xslt.xsl'), 'r') as f:
iati_xslt = f.read()
etree_xml = etree.XML(iati_xslt)
etree_xslt = etree.XSLT(etree_xml)
tasty_xml = etree_xslt(data)
return self.from_etree(tasty_xml.getroot())
else:
return super(IATISerializer, self).from_etree(data) | # -*- coding: utf-8 -*-
# Akvo RSR is covered by the GNU Affero General Public License.
# See more details in the license.txt file located at the root folder of the Akvo RSR module.
# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.
from lxml import etree
import os
from tastypie.serializers import Serializer
class IATISerializer(Serializer):
def from_etree(self, data):
""" transform the iati-activity XML into "tastypie compliant" XML using the 'iati-xslt.xml' stylesheet
"""
if data.tag == 'iati-activity':
with open(os.path.join(os.path.dirname(__file__),'xml', 'iati-xslt.xml'), 'r') as f:
iati_xslt = f.read()
etree_xml = etree.XML(iati_xslt)
etree_xslt = etree.XSLT(etree_xml)
tasty_xml = etree_xslt(data)
return self.from_etree(tasty_xml.getroot())
else:
return super(IATISerializer, self).from_etree(data)Fix IATISerializer.from_etree() so it uses iati-xslt.xsl# -*- coding: utf-8 -*-
# Akvo RSR is covered by the GNU Affero General Public License.
# See more details in the license.txt file located at the root folder of the Akvo RSR module.
# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.
from lxml import etree
import os
from tastypie.serializers import Serializer
class IATISerializer(Serializer):
def from_etree(self, data):
""" transform the iati-activity XML into "tastypie compliant" XML using the 'iati-xslt.xsl' stylesheet
"""
if data.tag == 'iati-activity':
with open(os.path.join(os.path.dirname(__file__),'xml', 'iati-xslt.xsl'), 'r') as f:
iati_xslt = f.read()
etree_xml = etree.XML(iati_xslt)
etree_xslt = etree.XSLT(etree_xml)
tasty_xml = etree_xslt(data)
return self.from_etree(tasty_xml.getroot())
else:
return super(IATISerializer, self).from_etree(data) | <commit_before># -*- coding: utf-8 -*-
# Akvo RSR is covered by the GNU Affero General Public License.
# See more details in the license.txt file located at the root folder of the Akvo RSR module.
# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.
from lxml import etree
import os
from tastypie.serializers import Serializer
class IATISerializer(Serializer):
def from_etree(self, data):
""" transform the iati-activity XML into "tastypie compliant" XML using the 'iati-xslt.xml' stylesheet
"""
if data.tag == 'iati-activity':
with open(os.path.join(os.path.dirname(__file__),'xml', 'iati-xslt.xml'), 'r') as f:
iati_xslt = f.read()
etree_xml = etree.XML(iati_xslt)
etree_xslt = etree.XSLT(etree_xml)
tasty_xml = etree_xslt(data)
return self.from_etree(tasty_xml.getroot())
else:
return super(IATISerializer, self).from_etree(data)<commit_msg>Fix IATISerializer.from_etree() so it uses iati-xslt.xsl<commit_after># -*- coding: utf-8 -*-
# Akvo RSR is covered by the GNU Affero General Public License.
# See more details in the license.txt file located at the root folder of the Akvo RSR module.
# For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.
from lxml import etree
import os
from tastypie.serializers import Serializer
class IATISerializer(Serializer):
def from_etree(self, data):
""" transform the iati-activity XML into "tastypie compliant" XML using the 'iati-xslt.xsl' stylesheet
"""
if data.tag == 'iati-activity':
with open(os.path.join(os.path.dirname(__file__),'xml', 'iati-xslt.xsl'), 'r') as f:
iati_xslt = f.read()
etree_xml = etree.XML(iati_xslt)
etree_xslt = etree.XSLT(etree_xml)
tasty_xml = etree_xslt(data)
return self.from_etree(tasty_xml.getroot())
else:
return super(IATISerializer, self).from_etree(data) |
0901477d231091e72b4e47e0f5a59a49cb31414d | paystackapi/tests/test_subaccount.py | paystackapi/tests/test_subaccount.py | import httpretty
from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.subaccount import SubAccount
class TestSubAccount(BaseTestCase):
@httpretty.activate
def test_subaccount_create(self):
pass
| import httpretty
from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.subaccount import SubAccount
class TestSubAccount(BaseTestCase):
@httpretty.activate
def test_subaccount_create(self):
pass
"""Method defined to test subaccount creation."""
httpretty.register_uri(
httpretty.POST,
self.endpoint_url("/subaccount"),
content_type='text/json',
body='{"status": true, "message": "Subaccount created"}',
status=201,
)
response = SubAccount.create(
business_name="Test Biz 123", settlement_bank="Access Bank",
account_number="xxxxxxxxx", percentage_charge="6.9"
)
self.assertTrue(response['status'])
| Add test subaccount test creation | Add test subaccount test creation
| Python | mit | andela-sjames/paystack-python | import httpretty
from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.subaccount import SubAccount
class TestSubAccount(BaseTestCase):
@httpretty.activate
def test_subaccount_create(self):
pass
Add test subaccount test creation | import httpretty
from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.subaccount import SubAccount
class TestSubAccount(BaseTestCase):
@httpretty.activate
def test_subaccount_create(self):
pass
"""Method defined to test subaccount creation."""
httpretty.register_uri(
httpretty.POST,
self.endpoint_url("/subaccount"),
content_type='text/json',
body='{"status": true, "message": "Subaccount created"}',
status=201,
)
response = SubAccount.create(
business_name="Test Biz 123", settlement_bank="Access Bank",
account_number="xxxxxxxxx", percentage_charge="6.9"
)
self.assertTrue(response['status'])
| <commit_before>import httpretty
from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.subaccount import SubAccount
class TestSubAccount(BaseTestCase):
@httpretty.activate
def test_subaccount_create(self):
pass
<commit_msg>Add test subaccount test creation<commit_after> | import httpretty
from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.subaccount import SubAccount
class TestSubAccount(BaseTestCase):
@httpretty.activate
def test_subaccount_create(self):
pass
"""Method defined to test subaccount creation."""
httpretty.register_uri(
httpretty.POST,
self.endpoint_url("/subaccount"),
content_type='text/json',
body='{"status": true, "message": "Subaccount created"}',
status=201,
)
response = SubAccount.create(
business_name="Test Biz 123", settlement_bank="Access Bank",
account_number="xxxxxxxxx", percentage_charge="6.9"
)
self.assertTrue(response['status'])
| import httpretty
from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.subaccount import SubAccount
class TestSubAccount(BaseTestCase):
@httpretty.activate
def test_subaccount_create(self):
pass
Add test subaccount test creationimport httpretty
from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.subaccount import SubAccount
class TestSubAccount(BaseTestCase):
@httpretty.activate
def test_subaccount_create(self):
pass
"""Method defined to test subaccount creation."""
httpretty.register_uri(
httpretty.POST,
self.endpoint_url("/subaccount"),
content_type='text/json',
body='{"status": true, "message": "Subaccount created"}',
status=201,
)
response = SubAccount.create(
business_name="Test Biz 123", settlement_bank="Access Bank",
account_number="xxxxxxxxx", percentage_charge="6.9"
)
self.assertTrue(response['status'])
| <commit_before>import httpretty
from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.subaccount import SubAccount
class TestSubAccount(BaseTestCase):
@httpretty.activate
def test_subaccount_create(self):
pass
<commit_msg>Add test subaccount test creation<commit_after>import httpretty
from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.subaccount import SubAccount
class TestSubAccount(BaseTestCase):
@httpretty.activate
def test_subaccount_create(self):
pass
"""Method defined to test subaccount creation."""
httpretty.register_uri(
httpretty.POST,
self.endpoint_url("/subaccount"),
content_type='text/json',
body='{"status": true, "message": "Subaccount created"}',
status=201,
)
response = SubAccount.create(
business_name="Test Biz 123", settlement_bank="Access Bank",
account_number="xxxxxxxxx", percentage_charge="6.9"
)
self.assertTrue(response['status'])
|
0ca502644e66c40089382d13a780a6edc78ddafc | lib/py/src/metrics.py | lib/py/src/metrics.py | import os
import datetime
import tornado.gen
import statsd
if os.environ.get("STATSD_URL", None):
ip, port = os.environ.get("STATSD_URL").split(':')
statsd_client = statsd.StatsClient(host=ip, port=int(port),
prefix=os.environ.get('STATSD_PREFIX',
None))
else:
statsd_client = None
def instrument(name):
def instrument_wrapper(fn):
@tornado.gen.coroutine
def fn_wrapper(*args, **kwargs):
def send_duration():
duration = (datetime.datetime.now() - start).total_seconds()
statsd_client.timing("{}.duration".format(name),
int(duration * 1000))
start = datetime.datetime.now()
ftr_result = fn(*args, **kwargs)
try:
result = yield tornado.gen.maybe_future(ftr_result)
except Exception as e:
if statsd_client:
statsd_client.incr("{}.exceptions.{}".format(
name, e.__class__.__name__.lower()))
send_duration()
raise e
else:
if statsd_client:
send_duration()
statsd_client.incr("{}.success".format(name))
raise tornado.gen.Return(result)
return fn_wrapper
return instrument_wrapper
| import os
import datetime
import tornado.gen
import statsd
if os.environ.get("STATSD_URL", None):
ip, port = os.environ.get("STATSD_URL").split(':')
statsd_client = statsd.StatsClient(host=ip, port=int(port),
prefix=os.environ.get('STATSD_PREFIX',
None))
else:
statsd_client = statsd.StatsClient()
def instrument(name):
def instrument_wrapper(fn):
@tornado.gen.coroutine
def fn_wrapper(*args, **kwargs):
def send_duration():
duration = (datetime.datetime.now() - start).total_seconds()
statsd_client.timing("{}.duration".format(name),
int(duration * 1000))
start = datetime.datetime.now()
ftr_result = fn(*args, **kwargs)
try:
result = yield tornado.gen.maybe_future(ftr_result)
except Exception as e:
if statsd_client:
statsd_client.incr("{}.exceptions.{}".format(
name, e.__class__.__name__.lower()))
send_duration()
raise e
else:
if statsd_client:
send_duration()
statsd_client.incr("{}.success".format(name))
raise tornado.gen.Return(result)
return fn_wrapper
return instrument_wrapper
| Create a statsd_client anyway, even if there is no STATSD_URL env variable set | Create a statsd_client anyway, even if there is no STATSD_URL env variable set
| Python | apache-2.0 | upfluence/thrift,upfluence/thrift,upfluence/thrift,upfluence/thrift,upfluence/thrift,upfluence/thrift,upfluence/thrift,upfluence/thrift,upfluence/thrift,upfluence/thrift,upfluence/thrift,upfluence/thrift | import os
import datetime
import tornado.gen
import statsd
if os.environ.get("STATSD_URL", None):
ip, port = os.environ.get("STATSD_URL").split(':')
statsd_client = statsd.StatsClient(host=ip, port=int(port),
prefix=os.environ.get('STATSD_PREFIX',
None))
else:
statsd_client = None
def instrument(name):
def instrument_wrapper(fn):
@tornado.gen.coroutine
def fn_wrapper(*args, **kwargs):
def send_duration():
duration = (datetime.datetime.now() - start).total_seconds()
statsd_client.timing("{}.duration".format(name),
int(duration * 1000))
start = datetime.datetime.now()
ftr_result = fn(*args, **kwargs)
try:
result = yield tornado.gen.maybe_future(ftr_result)
except Exception as e:
if statsd_client:
statsd_client.incr("{}.exceptions.{}".format(
name, e.__class__.__name__.lower()))
send_duration()
raise e
else:
if statsd_client:
send_duration()
statsd_client.incr("{}.success".format(name))
raise tornado.gen.Return(result)
return fn_wrapper
return instrument_wrapper
Create a statsd_client anyway, even if there is no STATSD_URL env variable set | import os
import datetime
import tornado.gen
import statsd
if os.environ.get("STATSD_URL", None):
ip, port = os.environ.get("STATSD_URL").split(':')
statsd_client = statsd.StatsClient(host=ip, port=int(port),
prefix=os.environ.get('STATSD_PREFIX',
None))
else:
statsd_client = statsd.StatsClient()
def instrument(name):
def instrument_wrapper(fn):
@tornado.gen.coroutine
def fn_wrapper(*args, **kwargs):
def send_duration():
duration = (datetime.datetime.now() - start).total_seconds()
statsd_client.timing("{}.duration".format(name),
int(duration * 1000))
start = datetime.datetime.now()
ftr_result = fn(*args, **kwargs)
try:
result = yield tornado.gen.maybe_future(ftr_result)
except Exception as e:
if statsd_client:
statsd_client.incr("{}.exceptions.{}".format(
name, e.__class__.__name__.lower()))
send_duration()
raise e
else:
if statsd_client:
send_duration()
statsd_client.incr("{}.success".format(name))
raise tornado.gen.Return(result)
return fn_wrapper
return instrument_wrapper
| <commit_before>import os
import datetime
import tornado.gen
import statsd
if os.environ.get("STATSD_URL", None):
ip, port = os.environ.get("STATSD_URL").split(':')
statsd_client = statsd.StatsClient(host=ip, port=int(port),
prefix=os.environ.get('STATSD_PREFIX',
None))
else:
statsd_client = None
def instrument(name):
def instrument_wrapper(fn):
@tornado.gen.coroutine
def fn_wrapper(*args, **kwargs):
def send_duration():
duration = (datetime.datetime.now() - start).total_seconds()
statsd_client.timing("{}.duration".format(name),
int(duration * 1000))
start = datetime.datetime.now()
ftr_result = fn(*args, **kwargs)
try:
result = yield tornado.gen.maybe_future(ftr_result)
except Exception as e:
if statsd_client:
statsd_client.incr("{}.exceptions.{}".format(
name, e.__class__.__name__.lower()))
send_duration()
raise e
else:
if statsd_client:
send_duration()
statsd_client.incr("{}.success".format(name))
raise tornado.gen.Return(result)
return fn_wrapper
return instrument_wrapper
<commit_msg>Create a statsd_client anyway, even if there is no STATSD_URL env variable set<commit_after> | import os
import datetime
import tornado.gen
import statsd
if os.environ.get("STATSD_URL", None):
ip, port = os.environ.get("STATSD_URL").split(':')
statsd_client = statsd.StatsClient(host=ip, port=int(port),
prefix=os.environ.get('STATSD_PREFIX',
None))
else:
statsd_client = statsd.StatsClient()
def instrument(name):
def instrument_wrapper(fn):
@tornado.gen.coroutine
def fn_wrapper(*args, **kwargs):
def send_duration():
duration = (datetime.datetime.now() - start).total_seconds()
statsd_client.timing("{}.duration".format(name),
int(duration * 1000))
start = datetime.datetime.now()
ftr_result = fn(*args, **kwargs)
try:
result = yield tornado.gen.maybe_future(ftr_result)
except Exception as e:
if statsd_client:
statsd_client.incr("{}.exceptions.{}".format(
name, e.__class__.__name__.lower()))
send_duration()
raise e
else:
if statsd_client:
send_duration()
statsd_client.incr("{}.success".format(name))
raise tornado.gen.Return(result)
return fn_wrapper
return instrument_wrapper
| import os
import datetime
import tornado.gen
import statsd
if os.environ.get("STATSD_URL", None):
ip, port = os.environ.get("STATSD_URL").split(':')
statsd_client = statsd.StatsClient(host=ip, port=int(port),
prefix=os.environ.get('STATSD_PREFIX',
None))
else:
statsd_client = None
def instrument(name):
def instrument_wrapper(fn):
@tornado.gen.coroutine
def fn_wrapper(*args, **kwargs):
def send_duration():
duration = (datetime.datetime.now() - start).total_seconds()
statsd_client.timing("{}.duration".format(name),
int(duration * 1000))
start = datetime.datetime.now()
ftr_result = fn(*args, **kwargs)
try:
result = yield tornado.gen.maybe_future(ftr_result)
except Exception as e:
if statsd_client:
statsd_client.incr("{}.exceptions.{}".format(
name, e.__class__.__name__.lower()))
send_duration()
raise e
else:
if statsd_client:
send_duration()
statsd_client.incr("{}.success".format(name))
raise tornado.gen.Return(result)
return fn_wrapper
return instrument_wrapper
Create a statsd_client anyway, even if there is no STATSD_URL env variable setimport os
import datetime
import tornado.gen
import statsd
if os.environ.get("STATSD_URL", None):
ip, port = os.environ.get("STATSD_URL").split(':')
statsd_client = statsd.StatsClient(host=ip, port=int(port),
prefix=os.environ.get('STATSD_PREFIX',
None))
else:
statsd_client = statsd.StatsClient()
def instrument(name):
def instrument_wrapper(fn):
@tornado.gen.coroutine
def fn_wrapper(*args, **kwargs):
def send_duration():
duration = (datetime.datetime.now() - start).total_seconds()
statsd_client.timing("{}.duration".format(name),
int(duration * 1000))
start = datetime.datetime.now()
ftr_result = fn(*args, **kwargs)
try:
result = yield tornado.gen.maybe_future(ftr_result)
except Exception as e:
if statsd_client:
statsd_client.incr("{}.exceptions.{}".format(
name, e.__class__.__name__.lower()))
send_duration()
raise e
else:
if statsd_client:
send_duration()
statsd_client.incr("{}.success".format(name))
raise tornado.gen.Return(result)
return fn_wrapper
return instrument_wrapper
| <commit_before>import os
import datetime
import tornado.gen
import statsd
if os.environ.get("STATSD_URL", None):
ip, port = os.environ.get("STATSD_URL").split(':')
statsd_client = statsd.StatsClient(host=ip, port=int(port),
prefix=os.environ.get('STATSD_PREFIX',
None))
else:
statsd_client = None
def instrument(name):
def instrument_wrapper(fn):
@tornado.gen.coroutine
def fn_wrapper(*args, **kwargs):
def send_duration():
duration = (datetime.datetime.now() - start).total_seconds()
statsd_client.timing("{}.duration".format(name),
int(duration * 1000))
start = datetime.datetime.now()
ftr_result = fn(*args, **kwargs)
try:
result = yield tornado.gen.maybe_future(ftr_result)
except Exception as e:
if statsd_client:
statsd_client.incr("{}.exceptions.{}".format(
name, e.__class__.__name__.lower()))
send_duration()
raise e
else:
if statsd_client:
send_duration()
statsd_client.incr("{}.success".format(name))
raise tornado.gen.Return(result)
return fn_wrapper
return instrument_wrapper
<commit_msg>Create a statsd_client anyway, even if there is no STATSD_URL env variable set<commit_after>import os
import datetime
import tornado.gen
import statsd
if os.environ.get("STATSD_URL", None):
ip, port = os.environ.get("STATSD_URL").split(':')
statsd_client = statsd.StatsClient(host=ip, port=int(port),
prefix=os.environ.get('STATSD_PREFIX',
None))
else:
statsd_client = statsd.StatsClient()
def instrument(name):
def instrument_wrapper(fn):
@tornado.gen.coroutine
def fn_wrapper(*args, **kwargs):
def send_duration():
duration = (datetime.datetime.now() - start).total_seconds()
statsd_client.timing("{}.duration".format(name),
int(duration * 1000))
start = datetime.datetime.now()
ftr_result = fn(*args, **kwargs)
try:
result = yield tornado.gen.maybe_future(ftr_result)
except Exception as e:
if statsd_client:
statsd_client.incr("{}.exceptions.{}".format(
name, e.__class__.__name__.lower()))
send_duration()
raise e
else:
if statsd_client:
send_duration()
statsd_client.incr("{}.success".format(name))
raise tornado.gen.Return(result)
return fn_wrapper
return instrument_wrapper
|
0670b48b74dddd05a67f63983f7208f1c0c5efed | fskintra.py | fskintra.py | #! /usr/bin/env python
#
#
#
import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren
SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'
cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
config.log(u'Ignorerer ['+SKOLEBESTYELSE_NAME+']')
cnames.remove(SKOLEBESTYELSE_NAME)
for cname in cnames:
skoleintra.schildren.skoleSelectChild(cname)
skoleintra.pgContactLists.skoleContactLists()
skoleintra.pgFrontpage.skoleFrontpage()
skoleintra.pgDialogue.skoleDialogue()
skoleintra.pgDocuments.skoleDocuments()
skoleintra.pgWeekplans.skoleWeekplans()
| #! /usr/bin/env python
#
#
#
import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren
SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'
cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
skoleintra.config.log(u'Ignorerer ['+SKOLEBESTYELSE_NAME+']')
cnames.remove(SKOLEBESTYELSE_NAME)
for cname in cnames:
skoleintra.schildren.skoleSelectChild(cname)
skoleintra.pgContactLists.skoleContactLists()
skoleintra.pgFrontpage.skoleFrontpage()
skoleintra.pgDialogue.skoleDialogue()
skoleintra.pgDocuments.skoleDocuments()
skoleintra.pgWeekplans.skoleWeekplans()
| Fix last commit: use config.log() | Fix last commit: use config.log()
| Python | bsd-2-clause | bennyslbs/fskintra | #! /usr/bin/env python
#
#
#
import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren
SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'
cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
config.log(u'Ignorerer ['+SKOLEBESTYELSE_NAME+']')
cnames.remove(SKOLEBESTYELSE_NAME)
for cname in cnames:
skoleintra.schildren.skoleSelectChild(cname)
skoleintra.pgContactLists.skoleContactLists()
skoleintra.pgFrontpage.skoleFrontpage()
skoleintra.pgDialogue.skoleDialogue()
skoleintra.pgDocuments.skoleDocuments()
skoleintra.pgWeekplans.skoleWeekplans()
Fix last commit: use config.log() | #! /usr/bin/env python
#
#
#
import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren
SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'
cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
skoleintra.config.log(u'Ignorerer ['+SKOLEBESTYELSE_NAME+']')
cnames.remove(SKOLEBESTYELSE_NAME)
for cname in cnames:
skoleintra.schildren.skoleSelectChild(cname)
skoleintra.pgContactLists.skoleContactLists()
skoleintra.pgFrontpage.skoleFrontpage()
skoleintra.pgDialogue.skoleDialogue()
skoleintra.pgDocuments.skoleDocuments()
skoleintra.pgWeekplans.skoleWeekplans()
| <commit_before>#! /usr/bin/env python
#
#
#
import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren
SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'
cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
config.log(u'Ignorerer ['+SKOLEBESTYELSE_NAME+']')
cnames.remove(SKOLEBESTYELSE_NAME)
for cname in cnames:
skoleintra.schildren.skoleSelectChild(cname)
skoleintra.pgContactLists.skoleContactLists()
skoleintra.pgFrontpage.skoleFrontpage()
skoleintra.pgDialogue.skoleDialogue()
skoleintra.pgDocuments.skoleDocuments()
skoleintra.pgWeekplans.skoleWeekplans()
<commit_msg>Fix last commit: use config.log()<commit_after> | #! /usr/bin/env python
#
#
#
import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren
SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'
cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
skoleintra.config.log(u'Ignorerer ['+SKOLEBESTYELSE_NAME+']')
cnames.remove(SKOLEBESTYELSE_NAME)
for cname in cnames:
skoleintra.schildren.skoleSelectChild(cname)
skoleintra.pgContactLists.skoleContactLists()
skoleintra.pgFrontpage.skoleFrontpage()
skoleintra.pgDialogue.skoleDialogue()
skoleintra.pgDocuments.skoleDocuments()
skoleintra.pgWeekplans.skoleWeekplans()
| #! /usr/bin/env python
#
#
#
import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren
SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'
cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
config.log(u'Ignorerer ['+SKOLEBESTYELSE_NAME+']')
cnames.remove(SKOLEBESTYELSE_NAME)
for cname in cnames:
skoleintra.schildren.skoleSelectChild(cname)
skoleintra.pgContactLists.skoleContactLists()
skoleintra.pgFrontpage.skoleFrontpage()
skoleintra.pgDialogue.skoleDialogue()
skoleintra.pgDocuments.skoleDocuments()
skoleintra.pgWeekplans.skoleWeekplans()
Fix last commit: use config.log()#! /usr/bin/env python
#
#
#
import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren
SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'
cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
skoleintra.config.log(u'Ignorerer ['+SKOLEBESTYELSE_NAME+']')
cnames.remove(SKOLEBESTYELSE_NAME)
for cname in cnames:
skoleintra.schildren.skoleSelectChild(cname)
skoleintra.pgContactLists.skoleContactLists()
skoleintra.pgFrontpage.skoleFrontpage()
skoleintra.pgDialogue.skoleDialogue()
skoleintra.pgDocuments.skoleDocuments()
skoleintra.pgWeekplans.skoleWeekplans()
| <commit_before>#! /usr/bin/env python
#
#
#
import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren
SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'
cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
config.log(u'Ignorerer ['+SKOLEBESTYELSE_NAME+']')
cnames.remove(SKOLEBESTYELSE_NAME)
for cname in cnames:
skoleintra.schildren.skoleSelectChild(cname)
skoleintra.pgContactLists.skoleContactLists()
skoleintra.pgFrontpage.skoleFrontpage()
skoleintra.pgDialogue.skoleDialogue()
skoleintra.pgDocuments.skoleDocuments()
skoleintra.pgWeekplans.skoleWeekplans()
<commit_msg>Fix last commit: use config.log()<commit_after>#! /usr/bin/env python
#
#
#
import skoleintra.config
import skoleintra.pgContactLists
import skoleintra.pgDialogue
import skoleintra.pgDocuments
import skoleintra.pgFrontpage
import skoleintra.pgWeekplans
import skoleintra.schildren
SKOLEBESTYELSE_NAME = 'Skolebestyrelsen'
cnames = skoleintra.schildren.skoleGetChildren()
if cnames.count(SKOLEBESTYELSE_NAME):
skoleintra.config.log(u'Ignorerer ['+SKOLEBESTYELSE_NAME+']')
cnames.remove(SKOLEBESTYELSE_NAME)
for cname in cnames:
skoleintra.schildren.skoleSelectChild(cname)
skoleintra.pgContactLists.skoleContactLists()
skoleintra.pgFrontpage.skoleFrontpage()
skoleintra.pgDialogue.skoleDialogue()
skoleintra.pgDocuments.skoleDocuments()
skoleintra.pgWeekplans.skoleWeekplans()
|
ce6951b1e5f878ba69ff3f55c500c4309f8f4672 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
import versioneer
setup(name='s3fs',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='Convenient Filesystem interface over S3',
url='http://github.com/dask/s3fs/',
maintainer='Martin Durant',
maintainer_email='mdurant@continuum.io',
license='BSD',
keywords='s3, boto',
packages=['s3fs'],
python_requires='>= 3.6',
install_requires=[open('requirements.txt').read().strip().split('\n')],
extras_require = {
'awscli': ['aiobotocore[awscli]'],
'boto3': ['aiobotocore[boto3]'],
},
zip_safe=False)
| #!/usr/bin/env python
from setuptools import setup
import versioneer
with open('requirements.txt') as file:
aiobotocore_version_suffix = ''
for line in file:
parts = line.rstrip().split('aiobotocore')
if len(parts) == 2:
aiobotocore_version_suffix = parts[1]
break
setup(name='s3fs',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='Convenient Filesystem interface over S3',
url='http://github.com/dask/s3fs/',
maintainer='Martin Durant',
maintainer_email='mdurant@continuum.io',
license='BSD',
keywords='s3, boto',
packages=['s3fs'],
python_requires='>= 3.6',
install_requires=[open('requirements.txt').read().strip().split('\n')],
extras_require={
'awscli': [f"aiobotocore[awscli]{aiobotocore_version_suffix}"],
'boto3': [f"aiobotocore[boto3]{aiobotocore_version_suffix}"],
},
zip_safe=False)
| Add version requirements to extras_require | Add version requirements to extras_require
Otherwise, they'll just grab latest-and-greatest.
| Python | bsd-3-clause | fsspec/s3fs | #!/usr/bin/env python
from setuptools import setup
import versioneer
setup(name='s3fs',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='Convenient Filesystem interface over S3',
url='http://github.com/dask/s3fs/',
maintainer='Martin Durant',
maintainer_email='mdurant@continuum.io',
license='BSD',
keywords='s3, boto',
packages=['s3fs'],
python_requires='>= 3.6',
install_requires=[open('requirements.txt').read().strip().split('\n')],
extras_require = {
'awscli': ['aiobotocore[awscli]'],
'boto3': ['aiobotocore[boto3]'],
},
zip_safe=False)
Add version requirements to extras_require
Otherwise, they'll just grab latest-and-greatest. | #!/usr/bin/env python
from setuptools import setup
import versioneer
with open('requirements.txt') as file:
aiobotocore_version_suffix = ''
for line in file:
parts = line.rstrip().split('aiobotocore')
if len(parts) == 2:
aiobotocore_version_suffix = parts[1]
break
setup(name='s3fs',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='Convenient Filesystem interface over S3',
url='http://github.com/dask/s3fs/',
maintainer='Martin Durant',
maintainer_email='mdurant@continuum.io',
license='BSD',
keywords='s3, boto',
packages=['s3fs'],
python_requires='>= 3.6',
install_requires=[open('requirements.txt').read().strip().split('\n')],
extras_require={
'awscli': [f"aiobotocore[awscli]{aiobotocore_version_suffix}"],
'boto3': [f"aiobotocore[boto3]{aiobotocore_version_suffix}"],
},
zip_safe=False)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
import versioneer
setup(name='s3fs',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='Convenient Filesystem interface over S3',
url='http://github.com/dask/s3fs/',
maintainer='Martin Durant',
maintainer_email='mdurant@continuum.io',
license='BSD',
keywords='s3, boto',
packages=['s3fs'],
python_requires='>= 3.6',
install_requires=[open('requirements.txt').read().strip().split('\n')],
extras_require = {
'awscli': ['aiobotocore[awscli]'],
'boto3': ['aiobotocore[boto3]'],
},
zip_safe=False)
<commit_msg>Add version requirements to extras_require
Otherwise, they'll just grab latest-and-greatest.<commit_after> | #!/usr/bin/env python
from setuptools import setup
import versioneer
with open('requirements.txt') as file:
aiobotocore_version_suffix = ''
for line in file:
parts = line.rstrip().split('aiobotocore')
if len(parts) == 2:
aiobotocore_version_suffix = parts[1]
break
setup(name='s3fs',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='Convenient Filesystem interface over S3',
url='http://github.com/dask/s3fs/',
maintainer='Martin Durant',
maintainer_email='mdurant@continuum.io',
license='BSD',
keywords='s3, boto',
packages=['s3fs'],
python_requires='>= 3.6',
install_requires=[open('requirements.txt').read().strip().split('\n')],
extras_require={
'awscli': [f"aiobotocore[awscli]{aiobotocore_version_suffix}"],
'boto3': [f"aiobotocore[boto3]{aiobotocore_version_suffix}"],
},
zip_safe=False)
| #!/usr/bin/env python
from setuptools import setup
import versioneer
setup(name='s3fs',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='Convenient Filesystem interface over S3',
url='http://github.com/dask/s3fs/',
maintainer='Martin Durant',
maintainer_email='mdurant@continuum.io',
license='BSD',
keywords='s3, boto',
packages=['s3fs'],
python_requires='>= 3.6',
install_requires=[open('requirements.txt').read().strip().split('\n')],
extras_require = {
'awscli': ['aiobotocore[awscli]'],
'boto3': ['aiobotocore[boto3]'],
},
zip_safe=False)
Add version requirements to extras_require
Otherwise, they'll just grab latest-and-greatest.#!/usr/bin/env python
from setuptools import setup
import versioneer
with open('requirements.txt') as file:
aiobotocore_version_suffix = ''
for line in file:
parts = line.rstrip().split('aiobotocore')
if len(parts) == 2:
aiobotocore_version_suffix = parts[1]
break
setup(name='s3fs',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='Convenient Filesystem interface over S3',
url='http://github.com/dask/s3fs/',
maintainer='Martin Durant',
maintainer_email='mdurant@continuum.io',
license='BSD',
keywords='s3, boto',
packages=['s3fs'],
python_requires='>= 3.6',
install_requires=[open('requirements.txt').read().strip().split('\n')],
extras_require={
'awscli': [f"aiobotocore[awscli]{aiobotocore_version_suffix}"],
'boto3': [f"aiobotocore[boto3]{aiobotocore_version_suffix}"],
},
zip_safe=False)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
import versioneer
setup(name='s3fs',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='Convenient Filesystem interface over S3',
url='http://github.com/dask/s3fs/',
maintainer='Martin Durant',
maintainer_email='mdurant@continuum.io',
license='BSD',
keywords='s3, boto',
packages=['s3fs'],
python_requires='>= 3.6',
install_requires=[open('requirements.txt').read().strip().split('\n')],
extras_require = {
'awscli': ['aiobotocore[awscli]'],
'boto3': ['aiobotocore[boto3]'],
},
zip_safe=False)
<commit_msg>Add version requirements to extras_require
Otherwise, they'll just grab latest-and-greatest.<commit_after>#!/usr/bin/env python
from setuptools import setup
import versioneer
with open('requirements.txt') as file:
aiobotocore_version_suffix = ''
for line in file:
parts = line.rstrip().split('aiobotocore')
if len(parts) == 2:
aiobotocore_version_suffix = parts[1]
break
setup(name='s3fs',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description='Convenient Filesystem interface over S3',
url='http://github.com/dask/s3fs/',
maintainer='Martin Durant',
maintainer_email='mdurant@continuum.io',
license='BSD',
keywords='s3, boto',
packages=['s3fs'],
python_requires='>= 3.6',
install_requires=[open('requirements.txt').read().strip().split('\n')],
extras_require={
'awscli': [f"aiobotocore[awscli]{aiobotocore_version_suffix}"],
'boto3': [f"aiobotocore[boto3]{aiobotocore_version_suffix}"],
},
zip_safe=False)
|
fdf8e5d872bb6579d7ae6ef7ac4c93040db3f71c | setup.py | setup.py | import os
from setuptools import setup, find_packages
import subprocess
here = os.path.abspath(os.path.dirname(__file__))
def get_version(version=None):
"Returns a version number with commit id if the git repo is present"
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
repo_dir = os.path.dirname(os.path.abspath(__file__))
try:
_commit = subprocess.Popen(
'git rev-parse --short HEAD',
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
shell=True,
cwd=repo_dir,
universal_newlines=True
)
commit = _commit.communicate()[0].partition('\n')[0]
except:
commit = None
if commit:
version = "{}.{}".format(version, commit)
return version
setup(
name='django-geonode-client',
version=get_version(),
author='Mila Frerichs',
author_email='mila.frerichs@gmail.com',
url='https://github.com/GeoNode/geonode-client',
description="Use GeoNode client in your django projects",
long_description=open(os.path.join(here, 'README.md')).read(),
license='LGPL, see LICENSE file.',
install_requires=[],
packages=find_packages(),
include_package_data = True,
zip_safe = False,
classifiers = [],
)
| import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name='django-geonode-client',
version=version,
author='Mila Frerichs',
author_email='mila.frerichs@gmail.com',
url='https://github.com/GeoNode/geonode-client',
description="Use GeoNode client in your django projects",
long_description=open(os.path.join(here, 'README.md')).read(),
license='LGPL, see LICENSE file.',
install_requires=[],
packages=find_packages(),
include_package_data = True,
zip_safe = False,
classifiers = [],
)
| Revert commit hash in get_version | Revert commit hash in get_version
| Python | mit | GeoNode/geonode-client,GeoNode/geonode-client,GeoNode/geonode-client,GeoNode/geonode-client | import os
from setuptools import setup, find_packages
import subprocess
here = os.path.abspath(os.path.dirname(__file__))
def get_version(version=None):
"Returns a version number with commit id if the git repo is present"
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
repo_dir = os.path.dirname(os.path.abspath(__file__))
try:
_commit = subprocess.Popen(
'git rev-parse --short HEAD',
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
shell=True,
cwd=repo_dir,
universal_newlines=True
)
commit = _commit.communicate()[0].partition('\n')[0]
except:
commit = None
if commit:
version = "{}.{}".format(version, commit)
return version
setup(
name='django-geonode-client',
version=get_version(),
author='Mila Frerichs',
author_email='mila.frerichs@gmail.com',
url='https://github.com/GeoNode/geonode-client',
description="Use GeoNode client in your django projects",
long_description=open(os.path.join(here, 'README.md')).read(),
license='LGPL, see LICENSE file.',
install_requires=[],
packages=find_packages(),
include_package_data = True,
zip_safe = False,
classifiers = [],
)
Revert commit hash in get_version | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name='django-geonode-client',
version=version,
author='Mila Frerichs',
author_email='mila.frerichs@gmail.com',
url='https://github.com/GeoNode/geonode-client',
description="Use GeoNode client in your django projects",
long_description=open(os.path.join(here, 'README.md')).read(),
license='LGPL, see LICENSE file.',
install_requires=[],
packages=find_packages(),
include_package_data = True,
zip_safe = False,
classifiers = [],
)
| <commit_before>import os
from setuptools import setup, find_packages
import subprocess
here = os.path.abspath(os.path.dirname(__file__))
def get_version(version=None):
"Returns a version number with commit id if the git repo is present"
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
repo_dir = os.path.dirname(os.path.abspath(__file__))
try:
_commit = subprocess.Popen(
'git rev-parse --short HEAD',
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
shell=True,
cwd=repo_dir,
universal_newlines=True
)
commit = _commit.communicate()[0].partition('\n')[0]
except:
commit = None
if commit:
version = "{}.{}".format(version, commit)
return version
setup(
name='django-geonode-client',
version=get_version(),
author='Mila Frerichs',
author_email='mila.frerichs@gmail.com',
url='https://github.com/GeoNode/geonode-client',
description="Use GeoNode client in your django projects",
long_description=open(os.path.join(here, 'README.md')).read(),
license='LGPL, see LICENSE file.',
install_requires=[],
packages=find_packages(),
include_package_data = True,
zip_safe = False,
classifiers = [],
)
<commit_msg>Revert commit hash in get_version<commit_after> | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name='django-geonode-client',
version=version,
author='Mila Frerichs',
author_email='mila.frerichs@gmail.com',
url='https://github.com/GeoNode/geonode-client',
description="Use GeoNode client in your django projects",
long_description=open(os.path.join(here, 'README.md')).read(),
license='LGPL, see LICENSE file.',
install_requires=[],
packages=find_packages(),
include_package_data = True,
zip_safe = False,
classifiers = [],
)
| import os
from setuptools import setup, find_packages
import subprocess
here = os.path.abspath(os.path.dirname(__file__))
def get_version(version=None):
"Returns a version number with commit id if the git repo is present"
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
repo_dir = os.path.dirname(os.path.abspath(__file__))
try:
_commit = subprocess.Popen(
'git rev-parse --short HEAD',
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
shell=True,
cwd=repo_dir,
universal_newlines=True
)
commit = _commit.communicate()[0].partition('\n')[0]
except:
commit = None
if commit:
version = "{}.{}".format(version, commit)
return version
setup(
name='django-geonode-client',
version=get_version(),
author='Mila Frerichs',
author_email='mila.frerichs@gmail.com',
url='https://github.com/GeoNode/geonode-client',
description="Use GeoNode client in your django projects",
long_description=open(os.path.join(here, 'README.md')).read(),
license='LGPL, see LICENSE file.',
install_requires=[],
packages=find_packages(),
include_package_data = True,
zip_safe = False,
classifiers = [],
)
Revert commit hash in get_versionimport os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name='django-geonode-client',
version=version,
author='Mila Frerichs',
author_email='mila.frerichs@gmail.com',
url='https://github.com/GeoNode/geonode-client',
description="Use GeoNode client in your django projects",
long_description=open(os.path.join(here, 'README.md')).read(),
license='LGPL, see LICENSE file.',
install_requires=[],
packages=find_packages(),
include_package_data = True,
zip_safe = False,
classifiers = [],
)
| <commit_before>import os
from setuptools import setup, find_packages
import subprocess
here = os.path.abspath(os.path.dirname(__file__))
def get_version(version=None):
"Returns a version number with commit id if the git repo is present"
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
repo_dir = os.path.dirname(os.path.abspath(__file__))
try:
_commit = subprocess.Popen(
'git rev-parse --short HEAD',
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
shell=True,
cwd=repo_dir,
universal_newlines=True
)
commit = _commit.communicate()[0].partition('\n')[0]
except:
commit = None
if commit:
version = "{}.{}".format(version, commit)
return version
setup(
name='django-geonode-client',
version=get_version(),
author='Mila Frerichs',
author_email='mila.frerichs@gmail.com',
url='https://github.com/GeoNode/geonode-client',
description="Use GeoNode client in your django projects",
long_description=open(os.path.join(here, 'README.md')).read(),
license='LGPL, see LICENSE file.',
install_requires=[],
packages=find_packages(),
include_package_data = True,
zip_safe = False,
classifiers = [],
)
<commit_msg>Revert commit hash in get_version<commit_after>import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name='django-geonode-client',
version=version,
author='Mila Frerichs',
author_email='mila.frerichs@gmail.com',
url='https://github.com/GeoNode/geonode-client',
description="Use GeoNode client in your django projects",
long_description=open(os.path.join(here, 'README.md')).read(),
license='LGPL, see LICENSE file.',
install_requires=[],
packages=find_packages(),
include_package_data = True,
zip_safe = False,
classifiers = [],
)
|
df0c2093366a8f6c4d7d8117d3168303fe39c085 | setup.py | setup.py | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'parserutils.tests.tests'])
raise SystemExit(errno)
setup(
name='parserutils',
description='A collection of performant parsing utilities',
keywords='parser,parsing,utils,utilities,collections,dates,elements,numbers,strings,url,xml',
version='0.2.4',
packages=[
'parserutils', 'parserutils.tests'
],
install_requires=[
'defusedxml', 'python-dateutil', 'six'
],
url='https://github.com/consbio/parserutils',
license='BSD',
cmdclass={'test': RunTests}
)
| import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'parserutils.tests.tests'])
raise SystemExit(errno)
setup(
name='parserutils',
description='A collection of performant parsing utilities',
keywords='parser,parsing,utils,utilities,collections,dates,elements,numbers,strings,url,xml',
version='0.3.0',
packages=[
'parserutils', 'parserutils.tests'
],
install_requires=[
'defusedxml', 'python-dateutil', 'six'
],
url='https://github.com/consbio/parserutils',
license='BSD',
cmdclass={'test': RunTests}
)
| Increment version in preparation for release | Increment version in preparation for release | Python | bsd-3-clause | consbio/parserutils | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'parserutils.tests.tests'])
raise SystemExit(errno)
setup(
name='parserutils',
description='A collection of performant parsing utilities',
keywords='parser,parsing,utils,utilities,collections,dates,elements,numbers,strings,url,xml',
version='0.2.4',
packages=[
'parserutils', 'parserutils.tests'
],
install_requires=[
'defusedxml', 'python-dateutil', 'six'
],
url='https://github.com/consbio/parserutils',
license='BSD',
cmdclass={'test': RunTests}
)
Increment version in preparation for release | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'parserutils.tests.tests'])
raise SystemExit(errno)
setup(
name='parserutils',
description='A collection of performant parsing utilities',
keywords='parser,parsing,utils,utilities,collections,dates,elements,numbers,strings,url,xml',
version='0.3.0',
packages=[
'parserutils', 'parserutils.tests'
],
install_requires=[
'defusedxml', 'python-dateutil', 'six'
],
url='https://github.com/consbio/parserutils',
license='BSD',
cmdclass={'test': RunTests}
)
| <commit_before>import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'parserutils.tests.tests'])
raise SystemExit(errno)
setup(
name='parserutils',
description='A collection of performant parsing utilities',
keywords='parser,parsing,utils,utilities,collections,dates,elements,numbers,strings,url,xml',
version='0.2.4',
packages=[
'parserutils', 'parserutils.tests'
],
install_requires=[
'defusedxml', 'python-dateutil', 'six'
],
url='https://github.com/consbio/parserutils',
license='BSD',
cmdclass={'test': RunTests}
)
<commit_msg>Increment version in preparation for release<commit_after> | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'parserutils.tests.tests'])
raise SystemExit(errno)
setup(
name='parserutils',
description='A collection of performant parsing utilities',
keywords='parser,parsing,utils,utilities,collections,dates,elements,numbers,strings,url,xml',
version='0.3.0',
packages=[
'parserutils', 'parserutils.tests'
],
install_requires=[
'defusedxml', 'python-dateutil', 'six'
],
url='https://github.com/consbio/parserutils',
license='BSD',
cmdclass={'test': RunTests}
)
| import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'parserutils.tests.tests'])
raise SystemExit(errno)
setup(
name='parserutils',
description='A collection of performant parsing utilities',
keywords='parser,parsing,utils,utilities,collections,dates,elements,numbers,strings,url,xml',
version='0.2.4',
packages=[
'parserutils', 'parserutils.tests'
],
install_requires=[
'defusedxml', 'python-dateutil', 'six'
],
url='https://github.com/consbio/parserutils',
license='BSD',
cmdclass={'test': RunTests}
)
Increment version in preparation for releaseimport subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'parserutils.tests.tests'])
raise SystemExit(errno)
setup(
name='parserutils',
description='A collection of performant parsing utilities',
keywords='parser,parsing,utils,utilities,collections,dates,elements,numbers,strings,url,xml',
version='0.3.0',
packages=[
'parserutils', 'parserutils.tests'
],
install_requires=[
'defusedxml', 'python-dateutil', 'six'
],
url='https://github.com/consbio/parserutils',
license='BSD',
cmdclass={'test': RunTests}
)
| <commit_before>import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'parserutils.tests.tests'])
raise SystemExit(errno)
setup(
name='parserutils',
description='A collection of performant parsing utilities',
keywords='parser,parsing,utils,utilities,collections,dates,elements,numbers,strings,url,xml',
version='0.2.4',
packages=[
'parserutils', 'parserutils.tests'
],
install_requires=[
'defusedxml', 'python-dateutil', 'six'
],
url='https://github.com/consbio/parserutils',
license='BSD',
cmdclass={'test': RunTests}
)
<commit_msg>Increment version in preparation for release<commit_after>import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'parserutils.tests.tests'])
raise SystemExit(errno)
setup(
name='parserutils',
description='A collection of performant parsing utilities',
keywords='parser,parsing,utils,utilities,collections,dates,elements,numbers,strings,url,xml',
version='0.3.0',
packages=[
'parserutils', 'parserutils.tests'
],
install_requires=[
'defusedxml', 'python-dateutil', 'six'
],
url='https://github.com/consbio/parserutils',
license='BSD',
cmdclass={'test': RunTests}
)
|
9bbe3dfa75f5fa91f526ebccdacf4b8e5220e42b | setup.py | setup.py | try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='Partner Feeds',
version=__import__('partner_feeds').__version__,
author_email='ATMOprogrammers@theatlantic.com',
packages=find_packages(),
url='https://github.com/theatlantic/django-partner-feeds',
description='Consume partner RSS or ATOM feeds',
long_description=open('README.rst').read(),
include_package_data=True,
install_requires=[
"Django >= 1.2",
"celery >= 2.1.4",
"django-celery >= 2.1.4",
"feedparser >= 5",
"timelib",
],
) | try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-partner-feeds',
version=__import__('partner_feeds').__version__,
author_email='ATMOprogrammers@theatlantic.com',
packages=find_packages(),
url='https://github.com/theatlantic/django-partner-feeds',
description='Consume partner RSS or ATOM feeds',
long_description=open('README.rst').read(),
include_package_data=True,
install_requires=[
"Django >= 1.2",
"celery >= 2.1.4",
"django-celery >= 2.1.4",
"feedparser >= 5",
"timelib",
],
) | Use more standard package name django-partner-feeds | Use more standard package name django-partner-feeds
| Python | bsd-2-clause | theatlantic/django-partner-feeds | try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='Partner Feeds',
version=__import__('partner_feeds').__version__,
author_email='ATMOprogrammers@theatlantic.com',
packages=find_packages(),
url='https://github.com/theatlantic/django-partner-feeds',
description='Consume partner RSS or ATOM feeds',
long_description=open('README.rst').read(),
include_package_data=True,
install_requires=[
"Django >= 1.2",
"celery >= 2.1.4",
"django-celery >= 2.1.4",
"feedparser >= 5",
"timelib",
],
)Use more standard package name django-partner-feeds | try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-partner-feeds',
version=__import__('partner_feeds').__version__,
author_email='ATMOprogrammers@theatlantic.com',
packages=find_packages(),
url='https://github.com/theatlantic/django-partner-feeds',
description='Consume partner RSS or ATOM feeds',
long_description=open('README.rst').read(),
include_package_data=True,
install_requires=[
"Django >= 1.2",
"celery >= 2.1.4",
"django-celery >= 2.1.4",
"feedparser >= 5",
"timelib",
],
) | <commit_before>try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='Partner Feeds',
version=__import__('partner_feeds').__version__,
author_email='ATMOprogrammers@theatlantic.com',
packages=find_packages(),
url='https://github.com/theatlantic/django-partner-feeds',
description='Consume partner RSS or ATOM feeds',
long_description=open('README.rst').read(),
include_package_data=True,
install_requires=[
"Django >= 1.2",
"celery >= 2.1.4",
"django-celery >= 2.1.4",
"feedparser >= 5",
"timelib",
],
)<commit_msg>Use more standard package name django-partner-feeds<commit_after> | try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-partner-feeds',
version=__import__('partner_feeds').__version__,
author_email='ATMOprogrammers@theatlantic.com',
packages=find_packages(),
url='https://github.com/theatlantic/django-partner-feeds',
description='Consume partner RSS or ATOM feeds',
long_description=open('README.rst').read(),
include_package_data=True,
install_requires=[
"Django >= 1.2",
"celery >= 2.1.4",
"django-celery >= 2.1.4",
"feedparser >= 5",
"timelib",
],
) | try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='Partner Feeds',
version=__import__('partner_feeds').__version__,
author_email='ATMOprogrammers@theatlantic.com',
packages=find_packages(),
url='https://github.com/theatlantic/django-partner-feeds',
description='Consume partner RSS or ATOM feeds',
long_description=open('README.rst').read(),
include_package_data=True,
install_requires=[
"Django >= 1.2",
"celery >= 2.1.4",
"django-celery >= 2.1.4",
"feedparser >= 5",
"timelib",
],
)Use more standard package name django-partner-feedstry:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-partner-feeds',
version=__import__('partner_feeds').__version__,
author_email='ATMOprogrammers@theatlantic.com',
packages=find_packages(),
url='https://github.com/theatlantic/django-partner-feeds',
description='Consume partner RSS or ATOM feeds',
long_description=open('README.rst').read(),
include_package_data=True,
install_requires=[
"Django >= 1.2",
"celery >= 2.1.4",
"django-celery >= 2.1.4",
"feedparser >= 5",
"timelib",
],
) | <commit_before>try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='Partner Feeds',
version=__import__('partner_feeds').__version__,
author_email='ATMOprogrammers@theatlantic.com',
packages=find_packages(),
url='https://github.com/theatlantic/django-partner-feeds',
description='Consume partner RSS or ATOM feeds',
long_description=open('README.rst').read(),
include_package_data=True,
install_requires=[
"Django >= 1.2",
"celery >= 2.1.4",
"django-celery >= 2.1.4",
"feedparser >= 5",
"timelib",
],
)<commit_msg>Use more standard package name django-partner-feeds<commit_after>try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-partner-feeds',
version=__import__('partner_feeds').__version__,
author_email='ATMOprogrammers@theatlantic.com',
packages=find_packages(),
url='https://github.com/theatlantic/django-partner-feeds',
description='Consume partner RSS or ATOM feeds',
long_description=open('README.rst').read(),
include_package_data=True,
install_requires=[
"Django >= 1.2",
"celery >= 2.1.4",
"django-celery >= 2.1.4",
"feedparser >= 5",
"timelib",
],
) |
ef81b053e0e32546354dfc86be2c5d4b1e0f74ac | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.0.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<6.8',
'PyYAML>=3.12,<3.13',
'panoptes-client>=1.0,<2.0',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
| from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.0.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<6.8',
'PyYAML>=3.12,<4.2',
'panoptes-client>=1.0,<2.0',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
| Update pyyaml requirement to >=3.12,<4.2 | Update pyyaml requirement to >=3.12,<4.2
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/commits/4.1)
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com> | Python | apache-2.0 | zooniverse/panoptes-cli | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.0.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<6.8',
'PyYAML>=3.12,<3.13',
'panoptes-client>=1.0,<2.0',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
Update pyyaml requirement to >=3.12,<4.2
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/commits/4.1)
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com> | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.0.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<6.8',
'PyYAML>=3.12,<4.2',
'panoptes-client>=1.0,<2.0',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.0.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<6.8',
'PyYAML>=3.12,<3.13',
'panoptes-client>=1.0,<2.0',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
<commit_msg>Update pyyaml requirement to >=3.12,<4.2
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/commits/4.1)
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com><commit_after> | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.0.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<6.8',
'PyYAML>=3.12,<4.2',
'panoptes-client>=1.0,<2.0',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
| from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.0.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<6.8',
'PyYAML>=3.12,<3.13',
'panoptes-client>=1.0,<2.0',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
Update pyyaml requirement to >=3.12,<4.2
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/commits/4.1)
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.0.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<6.8',
'PyYAML>=3.12,<4.2',
'panoptes-client>=1.0,<2.0',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.0.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<6.8',
'PyYAML>=3.12,<3.13',
'panoptes-client>=1.0,<2.0',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
<commit_msg>Update pyyaml requirement to >=3.12,<4.2
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/commits/4.1)
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com><commit_after>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.0.1',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<6.8',
'PyYAML>=3.12,<4.2',
'panoptes-client>=1.0,<2.0',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
|
24bda30926d06a6fdc457c61c26fd5a48b4b0755 | setup.py | setup.py | from setuptools import setup
setup(
name = "django-safe-project",
version = "0.0.3",
author = "Matthew Reid",
author_email = "matt@nomadic-recording.com",
description = ("Start Django projects with sensitive data outside of the "
"global settings module"),
url='https://github.com/nocarryr/django-safe-project',
license='MIT',
keywords = "django",
packages=['django_safe_project'],
include_package_data=True,
scripts=['startproject.py'],
entry_points={
'console_scripts':[
'django-safe-project = startproject:main',
],
},
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Security',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
)
| from setuptools import setup
setup(
name = "django-safe-project",
version = "0.0.4",
author = "Matthew Reid",
author_email = "matt@nomadic-recording.com",
description = ("Start Django projects with sensitive data outside of the "
"global settings module"),
url='https://github.com/nocarryr/django-safe-project',
license='MIT',
keywords = "django",
packages=['django_safe_project'],
include_package_data=True,
scripts=['startproject.py'],
entry_points={
'console_scripts':[
'django-safe-project = startproject:main',
],
},
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Security',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
)
| Bump version due to failed markdown/rST conversion in README | Bump version due to failed markdown/rST conversion in README
| Python | mit | nocarryr/django-safe-project | from setuptools import setup
setup(
name = "django-safe-project",
version = "0.0.3",
author = "Matthew Reid",
author_email = "matt@nomadic-recording.com",
description = ("Start Django projects with sensitive data outside of the "
"global settings module"),
url='https://github.com/nocarryr/django-safe-project',
license='MIT',
keywords = "django",
packages=['django_safe_project'],
include_package_data=True,
scripts=['startproject.py'],
entry_points={
'console_scripts':[
'django-safe-project = startproject:main',
],
},
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Security',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
)
Bump version due to failed markdown/rST conversion in README | from setuptools import setup
setup(
name = "django-safe-project",
version = "0.0.4",
author = "Matthew Reid",
author_email = "matt@nomadic-recording.com",
description = ("Start Django projects with sensitive data outside of the "
"global settings module"),
url='https://github.com/nocarryr/django-safe-project',
license='MIT',
keywords = "django",
packages=['django_safe_project'],
include_package_data=True,
scripts=['startproject.py'],
entry_points={
'console_scripts':[
'django-safe-project = startproject:main',
],
},
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Security',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
)
| <commit_before>from setuptools import setup
setup(
name = "django-safe-project",
version = "0.0.3",
author = "Matthew Reid",
author_email = "matt@nomadic-recording.com",
description = ("Start Django projects with sensitive data outside of the "
"global settings module"),
url='https://github.com/nocarryr/django-safe-project',
license='MIT',
keywords = "django",
packages=['django_safe_project'],
include_package_data=True,
scripts=['startproject.py'],
entry_points={
'console_scripts':[
'django-safe-project = startproject:main',
],
},
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Security',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
)
<commit_msg>Bump version due to failed markdown/rST conversion in README<commit_after> | from setuptools import setup
setup(
name = "django-safe-project",
version = "0.0.4",
author = "Matthew Reid",
author_email = "matt@nomadic-recording.com",
description = ("Start Django projects with sensitive data outside of the "
"global settings module"),
url='https://github.com/nocarryr/django-safe-project',
license='MIT',
keywords = "django",
packages=['django_safe_project'],
include_package_data=True,
scripts=['startproject.py'],
entry_points={
'console_scripts':[
'django-safe-project = startproject:main',
],
},
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Security',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
)
| from setuptools import setup
setup(
name = "django-safe-project",
version = "0.0.3",
author = "Matthew Reid",
author_email = "matt@nomadic-recording.com",
description = ("Start Django projects with sensitive data outside of the "
"global settings module"),
url='https://github.com/nocarryr/django-safe-project',
license='MIT',
keywords = "django",
packages=['django_safe_project'],
include_package_data=True,
scripts=['startproject.py'],
entry_points={
'console_scripts':[
'django-safe-project = startproject:main',
],
},
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Security',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
)
Bump version due to failed markdown/rST conversion in READMEfrom setuptools import setup
setup(
name = "django-safe-project",
version = "0.0.4",
author = "Matthew Reid",
author_email = "matt@nomadic-recording.com",
description = ("Start Django projects with sensitive data outside of the "
"global settings module"),
url='https://github.com/nocarryr/django-safe-project',
license='MIT',
keywords = "django",
packages=['django_safe_project'],
include_package_data=True,
scripts=['startproject.py'],
entry_points={
'console_scripts':[
'django-safe-project = startproject:main',
],
},
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Security',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
)
| <commit_before>from setuptools import setup
setup(
name = "django-safe-project",
version = "0.0.3",
author = "Matthew Reid",
author_email = "matt@nomadic-recording.com",
description = ("Start Django projects with sensitive data outside of the "
"global settings module"),
url='https://github.com/nocarryr/django-safe-project',
license='MIT',
keywords = "django",
packages=['django_safe_project'],
include_package_data=True,
scripts=['startproject.py'],
entry_points={
'console_scripts':[
'django-safe-project = startproject:main',
],
},
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Security',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
)
<commit_msg>Bump version due to failed markdown/rST conversion in README<commit_after>from setuptools import setup
setup(
name = "django-safe-project",
version = "0.0.4",
author = "Matthew Reid",
author_email = "matt@nomadic-recording.com",
description = ("Start Django projects with sensitive data outside of the "
"global settings module"),
url='https://github.com/nocarryr/django-safe-project',
license='MIT',
keywords = "django",
packages=['django_safe_project'],
include_package_data=True,
scripts=['startproject.py'],
entry_points={
'console_scripts':[
'django-safe-project = startproject:main',
],
},
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Security',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
)
|
dd0d4854e59e85e101612057d4681aa77c5fde65 | setup.py | setup.py | import codecs
from setuptools import setup
import pypandoc
long_desc = ''
with codecs.open('README.md', 'r', 'utf-8') as f:
logn_desc_md = f.read()
with codecs.open('README.rst', 'w', 'utf-8') as rf:
long_desc = pypandoc.convert('README.md', 'rst')
rf.write(long_desc)
setup(name='cronquot',
version='0.0.7',
description='Cron scheduler.',
long_description=long_desc,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='cron crontab schedule',
author='Shohei Mukai',
author_email='mukaishohei76@gmail.com',
url='https://github.com/pyohei/cronquot',
license='MIT',
packages=['cronquot'],
entry_points={
'console_scripts': [
'cronquot = cronquot.cronquot:execute_from_console'],
},
install_requires=['crontab'],
test_suite='test'
)
| import codecs
from setuptools import setup
try:
import pypandoc
is_travis = False
except ImportError as e:
import os
if not 'TRAVIS' in os.environ:
raise ImportError(e)
else:
is_travis = True
def _create_log_desc(travis):
if is_travis:
return ''
_long_desc = ''
with codecs.open('README.rst', 'w', 'utf-8') as rf:
_long_desc = pypandoc.convert('README.md', 'rst')
rf.write(_long_desc)
return _long_desc
long_desc = _create_log_desc(is_travis)
setup(name='cronquot',
version='0.0.7',
description='Cron scheduler.',
long_description=long_desc,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='cron crontab schedule',
author='Shohei Mukai',
author_email='mukaishohei76@gmail.com',
url='https://github.com/pyohei/cronquot',
license='MIT',
packages=['cronquot'],
entry_points={
'console_scripts': [
'cronquot = cronquot.cronquot:execute_from_console'],
},
install_requires=['crontab'],
test_suite='test'
)
| Fix testing error in travis. | Fix testing error in travis.
| Python | mit | pyohei/cronquot,pyohei/cronquot | import codecs
from setuptools import setup
import pypandoc
long_desc = ''
with codecs.open('README.md', 'r', 'utf-8') as f:
logn_desc_md = f.read()
with codecs.open('README.rst', 'w', 'utf-8') as rf:
long_desc = pypandoc.convert('README.md', 'rst')
rf.write(long_desc)
setup(name='cronquot',
version='0.0.7',
description='Cron scheduler.',
long_description=long_desc,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='cron crontab schedule',
author='Shohei Mukai',
author_email='mukaishohei76@gmail.com',
url='https://github.com/pyohei/cronquot',
license='MIT',
packages=['cronquot'],
entry_points={
'console_scripts': [
'cronquot = cronquot.cronquot:execute_from_console'],
},
install_requires=['crontab'],
test_suite='test'
)
Fix testing error in travis. | import codecs
from setuptools import setup
try:
import pypandoc
is_travis = False
except ImportError as e:
import os
if not 'TRAVIS' in os.environ:
raise ImportError(e)
else:
is_travis = True
def _create_log_desc(travis):
if is_travis:
return ''
_long_desc = ''
with codecs.open('README.rst', 'w', 'utf-8') as rf:
_long_desc = pypandoc.convert('README.md', 'rst')
rf.write(_long_desc)
return _long_desc
long_desc = _create_log_desc(is_travis)
setup(name='cronquot',
version='0.0.7',
description='Cron scheduler.',
long_description=long_desc,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='cron crontab schedule',
author='Shohei Mukai',
author_email='mukaishohei76@gmail.com',
url='https://github.com/pyohei/cronquot',
license='MIT',
packages=['cronquot'],
entry_points={
'console_scripts': [
'cronquot = cronquot.cronquot:execute_from_console'],
},
install_requires=['crontab'],
test_suite='test'
)
| <commit_before>import codecs
from setuptools import setup
import pypandoc
long_desc = ''
with codecs.open('README.md', 'r', 'utf-8') as f:
logn_desc_md = f.read()
with codecs.open('README.rst', 'w', 'utf-8') as rf:
long_desc = pypandoc.convert('README.md', 'rst')
rf.write(long_desc)
setup(name='cronquot',
version='0.0.7',
description='Cron scheduler.',
long_description=long_desc,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='cron crontab schedule',
author='Shohei Mukai',
author_email='mukaishohei76@gmail.com',
url='https://github.com/pyohei/cronquot',
license='MIT',
packages=['cronquot'],
entry_points={
'console_scripts': [
'cronquot = cronquot.cronquot:execute_from_console'],
},
install_requires=['crontab'],
test_suite='test'
)
<commit_msg>Fix testing error in travis.<commit_after> | import codecs
from setuptools import setup
try:
import pypandoc
is_travis = False
except ImportError as e:
import os
if not 'TRAVIS' in os.environ:
raise ImportError(e)
else:
is_travis = True
def _create_log_desc(travis):
if is_travis:
return ''
_long_desc = ''
with codecs.open('README.rst', 'w', 'utf-8') as rf:
_long_desc = pypandoc.convert('README.md', 'rst')
rf.write(_long_desc)
return _long_desc
long_desc = _create_log_desc(is_travis)
setup(name='cronquot',
version='0.0.7',
description='Cron scheduler.',
long_description=long_desc,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='cron crontab schedule',
author='Shohei Mukai',
author_email='mukaishohei76@gmail.com',
url='https://github.com/pyohei/cronquot',
license='MIT',
packages=['cronquot'],
entry_points={
'console_scripts': [
'cronquot = cronquot.cronquot:execute_from_console'],
},
install_requires=['crontab'],
test_suite='test'
)
| import codecs
from setuptools import setup
import pypandoc
long_desc = ''
with codecs.open('README.md', 'r', 'utf-8') as f:
logn_desc_md = f.read()
with codecs.open('README.rst', 'w', 'utf-8') as rf:
long_desc = pypandoc.convert('README.md', 'rst')
rf.write(long_desc)
setup(name='cronquot',
version='0.0.7',
description='Cron scheduler.',
long_description=long_desc,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='cron crontab schedule',
author='Shohei Mukai',
author_email='mukaishohei76@gmail.com',
url='https://github.com/pyohei/cronquot',
license='MIT',
packages=['cronquot'],
entry_points={
'console_scripts': [
'cronquot = cronquot.cronquot:execute_from_console'],
},
install_requires=['crontab'],
test_suite='test'
)
Fix testing error in travis.import codecs
from setuptools import setup
try:
import pypandoc
is_travis = False
except ImportError as e:
import os
if not 'TRAVIS' in os.environ:
raise ImportError(e)
else:
is_travis = True
def _create_log_desc(travis):
if is_travis:
return ''
_long_desc = ''
with codecs.open('README.rst', 'w', 'utf-8') as rf:
_long_desc = pypandoc.convert('README.md', 'rst')
rf.write(_long_desc)
return _long_desc
long_desc = _create_log_desc(is_travis)
setup(name='cronquot',
version='0.0.7',
description='Cron scheduler.',
long_description=long_desc,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='cron crontab schedule',
author='Shohei Mukai',
author_email='mukaishohei76@gmail.com',
url='https://github.com/pyohei/cronquot',
license='MIT',
packages=['cronquot'],
entry_points={
'console_scripts': [
'cronquot = cronquot.cronquot:execute_from_console'],
},
install_requires=['crontab'],
test_suite='test'
)
| <commit_before>import codecs
from setuptools import setup
import pypandoc
long_desc = ''
with codecs.open('README.md', 'r', 'utf-8') as f:
logn_desc_md = f.read()
with codecs.open('README.rst', 'w', 'utf-8') as rf:
long_desc = pypandoc.convert('README.md', 'rst')
rf.write(long_desc)
setup(name='cronquot',
version='0.0.7',
description='Cron scheduler.',
long_description=long_desc,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='cron crontab schedule',
author='Shohei Mukai',
author_email='mukaishohei76@gmail.com',
url='https://github.com/pyohei/cronquot',
license='MIT',
packages=['cronquot'],
entry_points={
'console_scripts': [
'cronquot = cronquot.cronquot:execute_from_console'],
},
install_requires=['crontab'],
test_suite='test'
)
<commit_msg>Fix testing error in travis.<commit_after>import codecs
from setuptools import setup
try:
import pypandoc
is_travis = False
except ImportError as e:
import os
if not 'TRAVIS' in os.environ:
raise ImportError(e)
else:
is_travis = True
def _create_log_desc(travis):
if is_travis:
return ''
_long_desc = ''
with codecs.open('README.rst', 'w', 'utf-8') as rf:
_long_desc = pypandoc.convert('README.md', 'rst')
rf.write(_long_desc)
return _long_desc
long_desc = _create_log_desc(is_travis)
setup(name='cronquot',
version='0.0.7',
description='Cron scheduler.',
long_description=long_desc,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='cron crontab schedule',
author='Shohei Mukai',
author_email='mukaishohei76@gmail.com',
url='https://github.com/pyohei/cronquot',
license='MIT',
packages=['cronquot'],
entry_points={
'console_scripts': [
'cronquot = cronquot.cronquot:execute_from_console'],
},
install_requires=['crontab'],
test_suite='test'
)
|
341d8bf56a6664be931549566f809ea69427d67a | setup.py | setup.py | from setuptools import setup, find_packages
import sys
execfile('yas3fs/_version.py')
requires = ['setuptools>=2.2', 'boto>=2.25.0']
# Versions of Python pre-2.7 require argparse separately. 2.7+ and 3+ all
# include this as the replacement for optparse.
if sys.version_info[:2] < (2, 7):
requires.append("argparse")
setup(
name='yas3fs',
version=__version__,
description='YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3.',
packages=find_packages(),
author='Danilo Poccia',
author_email='dpoccia@gmail.com',
url='https://github.com/danilop/yas3fs',
install_requires=requires,
entry_points = { 'console_scripts': ['yas3fs = yas3fs:main'] },
)
| from setuptools import setup, find_packages
import sys
exec(open('yas3fs/_version.py').read())
requires = ['setuptools>=2.2', 'boto>=2.25.0']
# Versions of Python pre-2.7 require argparse separately. 2.7+ and 3+ all
# include this as the replacement for optparse.
if sys.version_info[:2] < (2, 7):
requires.append("argparse")
setup(
name='yas3fs',
version=__version__,
description='YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3.',
packages=find_packages(),
author='Danilo Poccia',
author_email='dpoccia@gmail.com',
url='https://github.com/danilop/yas3fs',
install_requires=requires,
entry_points = { 'console_scripts': ['yas3fs = yas3fs:main'] },
)
| Replace `execfile()` with `exec(open().read())` for python3 | Replace `execfile()` with `exec(open().read())` for python3
| Python | mit | danilop/yas3fs,danilop/yas3fs | from setuptools import setup, find_packages
import sys
execfile('yas3fs/_version.py')
requires = ['setuptools>=2.2', 'boto>=2.25.0']
# Versions of Python pre-2.7 require argparse separately. 2.7+ and 3+ all
# include this as the replacement for optparse.
if sys.version_info[:2] < (2, 7):
requires.append("argparse")
setup(
name='yas3fs',
version=__version__,
description='YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3.',
packages=find_packages(),
author='Danilo Poccia',
author_email='dpoccia@gmail.com',
url='https://github.com/danilop/yas3fs',
install_requires=requires,
entry_points = { 'console_scripts': ['yas3fs = yas3fs:main'] },
)
Replace `execfile()` with `exec(open().read())` for python3 | from setuptools import setup, find_packages
import sys
exec(open('yas3fs/_version.py').read())
requires = ['setuptools>=2.2', 'boto>=2.25.0']
# Versions of Python pre-2.7 require argparse separately. 2.7+ and 3+ all
# include this as the replacement for optparse.
if sys.version_info[:2] < (2, 7):
requires.append("argparse")
setup(
name='yas3fs',
version=__version__,
description='YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3.',
packages=find_packages(),
author='Danilo Poccia',
author_email='dpoccia@gmail.com',
url='https://github.com/danilop/yas3fs',
install_requires=requires,
entry_points = { 'console_scripts': ['yas3fs = yas3fs:main'] },
)
| <commit_before>from setuptools import setup, find_packages
import sys
execfile('yas3fs/_version.py')
requires = ['setuptools>=2.2', 'boto>=2.25.0']
# Versions of Python pre-2.7 require argparse separately. 2.7+ and 3+ all
# include this as the replacement for optparse.
if sys.version_info[:2] < (2, 7):
requires.append("argparse")
setup(
name='yas3fs',
version=__version__,
description='YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3.',
packages=find_packages(),
author='Danilo Poccia',
author_email='dpoccia@gmail.com',
url='https://github.com/danilop/yas3fs',
install_requires=requires,
entry_points = { 'console_scripts': ['yas3fs = yas3fs:main'] },
)
<commit_msg>Replace `execfile()` with `exec(open().read())` for python3<commit_after> | from setuptools import setup, find_packages
import sys
exec(open('yas3fs/_version.py').read())
requires = ['setuptools>=2.2', 'boto>=2.25.0']
# Versions of Python pre-2.7 require argparse separately. 2.7+ and 3+ all
# include this as the replacement for optparse.
if sys.version_info[:2] < (2, 7):
requires.append("argparse")
setup(
name='yas3fs',
version=__version__,
description='YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3.',
packages=find_packages(),
author='Danilo Poccia',
author_email='dpoccia@gmail.com',
url='https://github.com/danilop/yas3fs',
install_requires=requires,
entry_points = { 'console_scripts': ['yas3fs = yas3fs:main'] },
)
| from setuptools import setup, find_packages
import sys
execfile('yas3fs/_version.py')
requires = ['setuptools>=2.2', 'boto>=2.25.0']
# Versions of Python pre-2.7 require argparse separately. 2.7+ and 3+ all
# include this as the replacement for optparse.
if sys.version_info[:2] < (2, 7):
requires.append("argparse")
setup(
name='yas3fs',
version=__version__,
description='YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3.',
packages=find_packages(),
author='Danilo Poccia',
author_email='dpoccia@gmail.com',
url='https://github.com/danilop/yas3fs',
install_requires=requires,
entry_points = { 'console_scripts': ['yas3fs = yas3fs:main'] },
)
Replace `execfile()` with `exec(open().read())` for python3from setuptools import setup, find_packages
import sys
exec(open('yas3fs/_version.py').read())
requires = ['setuptools>=2.2', 'boto>=2.25.0']
# Versions of Python pre-2.7 require argparse separately. 2.7+ and 3+ all
# include this as the replacement for optparse.
if sys.version_info[:2] < (2, 7):
requires.append("argparse")
setup(
name='yas3fs',
version=__version__,
description='YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3.',
packages=find_packages(),
author='Danilo Poccia',
author_email='dpoccia@gmail.com',
url='https://github.com/danilop/yas3fs',
install_requires=requires,
entry_points = { 'console_scripts': ['yas3fs = yas3fs:main'] },
)
| <commit_before>from setuptools import setup, find_packages
import sys
execfile('yas3fs/_version.py')
requires = ['setuptools>=2.2', 'boto>=2.25.0']
# Versions of Python pre-2.7 require argparse separately. 2.7+ and 3+ all
# include this as the replacement for optparse.
if sys.version_info[:2] < (2, 7):
requires.append("argparse")
setup(
name='yas3fs',
version=__version__,
description='YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3.',
packages=find_packages(),
author='Danilo Poccia',
author_email='dpoccia@gmail.com',
url='https://github.com/danilop/yas3fs',
install_requires=requires,
entry_points = { 'console_scripts': ['yas3fs = yas3fs:main'] },
)
<commit_msg>Replace `execfile()` with `exec(open().read())` for python3<commit_after>from setuptools import setup, find_packages
import sys
exec(open('yas3fs/_version.py').read())
requires = ['setuptools>=2.2', 'boto>=2.25.0']
# Versions of Python pre-2.7 require argparse separately. 2.7+ and 3+ all
# include this as the replacement for optparse.
if sys.version_info[:2] < (2, 7):
requires.append("argparse")
setup(
name='yas3fs',
version=__version__,
description='YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3.',
packages=find_packages(),
author='Danilo Poccia',
author_email='dpoccia@gmail.com',
url='https://github.com/danilop/yas3fs',
install_requires=requires,
entry_points = { 'console_scripts': ['yas3fs = yas3fs:main'] },
)
|
3f0f1d8202a26916dfcab616c1bec02f31da330b | setup.py | setup.py | """ Setup file for distutils
"""
from distutils.core import setup
from setuptools import find_packages
setup(
name='python-gdrive',
version='0.1',
author='Tony Sanchez',
author_email='mail.tsanchez@gmail.com',
url='https://github.com/tsanch3z/python-gdrive',
download_url='https://github.com/tsanch3z/python-gdrive/archive/master.zip',
description='Gdrive REST api client',
packages=find_packages(exclude=['tests']),
license='GPLv2',
platforms='OS Independent',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Development Status :: 4 - Beta'
],
install_requires='requests>=2.2.1'
)
| """ Setup file for distutils
"""
from distutils.core import setup
from setuptools import find_packages
setup(
name='python-gdrive',
version='0.2',
author='Tony Sanchez',
author_email='mail.tsanchez@gmail.com',
url='https://github.com/tsanch3z/python-gdrive',
download_url='https://github.com/tsanch3z/python-gdrive/archive/master.zip',
description='Gdrive REST api client',
packages=find_packages(exclude=['tests']),
license='GPLv2',
platforms='OS Independent',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Development Status :: 4 - Beta'
],
install_requires='requests>=2.2.1'
)
| Change version 0.1 -> 0.2 | Change version 0.1 -> 0.2
| Python | apache-2.0 | cogniteev/python-gdrive | """ Setup file for distutils
"""
from distutils.core import setup
from setuptools import find_packages
setup(
name='python-gdrive',
version='0.1',
author='Tony Sanchez',
author_email='mail.tsanchez@gmail.com',
url='https://github.com/tsanch3z/python-gdrive',
download_url='https://github.com/tsanch3z/python-gdrive/archive/master.zip',
description='Gdrive REST api client',
packages=find_packages(exclude=['tests']),
license='GPLv2',
platforms='OS Independent',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Development Status :: 4 - Beta'
],
install_requires='requests>=2.2.1'
)
Change version 0.1 -> 0.2 | """ Setup file for distutils
"""
from distutils.core import setup
from setuptools import find_packages
setup(
name='python-gdrive',
version='0.2',
author='Tony Sanchez',
author_email='mail.tsanchez@gmail.com',
url='https://github.com/tsanch3z/python-gdrive',
download_url='https://github.com/tsanch3z/python-gdrive/archive/master.zip',
description='Gdrive REST api client',
packages=find_packages(exclude=['tests']),
license='GPLv2',
platforms='OS Independent',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Development Status :: 4 - Beta'
],
install_requires='requests>=2.2.1'
)
| <commit_before>""" Setup file for distutils
"""
from distutils.core import setup
from setuptools import find_packages
setup(
name='python-gdrive',
version='0.1',
author='Tony Sanchez',
author_email='mail.tsanchez@gmail.com',
url='https://github.com/tsanch3z/python-gdrive',
download_url='https://github.com/tsanch3z/python-gdrive/archive/master.zip',
description='Gdrive REST api client',
packages=find_packages(exclude=['tests']),
license='GPLv2',
platforms='OS Independent',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Development Status :: 4 - Beta'
],
install_requires='requests>=2.2.1'
)
<commit_msg>Change version 0.1 -> 0.2<commit_after> | """ Setup file for distutils
"""
from distutils.core import setup
from setuptools import find_packages
setup(
name='python-gdrive',
version='0.2',
author='Tony Sanchez',
author_email='mail.tsanchez@gmail.com',
url='https://github.com/tsanch3z/python-gdrive',
download_url='https://github.com/tsanch3z/python-gdrive/archive/master.zip',
description='Gdrive REST api client',
packages=find_packages(exclude=['tests']),
license='GPLv2',
platforms='OS Independent',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Development Status :: 4 - Beta'
],
install_requires='requests>=2.2.1'
)
| """ Setup file for distutils
"""
from distutils.core import setup
from setuptools import find_packages
setup(
name='python-gdrive',
version='0.1',
author='Tony Sanchez',
author_email='mail.tsanchez@gmail.com',
url='https://github.com/tsanch3z/python-gdrive',
download_url='https://github.com/tsanch3z/python-gdrive/archive/master.zip',
description='Gdrive REST api client',
packages=find_packages(exclude=['tests']),
license='GPLv2',
platforms='OS Independent',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Development Status :: 4 - Beta'
],
install_requires='requests>=2.2.1'
)
Change version 0.1 -> 0.2""" Setup file for distutils
"""
from distutils.core import setup
from setuptools import find_packages
setup(
name='python-gdrive',
version='0.2',
author='Tony Sanchez',
author_email='mail.tsanchez@gmail.com',
url='https://github.com/tsanch3z/python-gdrive',
download_url='https://github.com/tsanch3z/python-gdrive/archive/master.zip',
description='Gdrive REST api client',
packages=find_packages(exclude=['tests']),
license='GPLv2',
platforms='OS Independent',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Development Status :: 4 - Beta'
],
install_requires='requests>=2.2.1'
)
| <commit_before>""" Setup file for distutils
"""
from distutils.core import setup
from setuptools import find_packages
setup(
name='python-gdrive',
version='0.1',
author='Tony Sanchez',
author_email='mail.tsanchez@gmail.com',
url='https://github.com/tsanch3z/python-gdrive',
download_url='https://github.com/tsanch3z/python-gdrive/archive/master.zip',
description='Gdrive REST api client',
packages=find_packages(exclude=['tests']),
license='GPLv2',
platforms='OS Independent',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Development Status :: 4 - Beta'
],
install_requires='requests>=2.2.1'
)
<commit_msg>Change version 0.1 -> 0.2<commit_after>""" Setup file for distutils
"""
from distutils.core import setup
from setuptools import find_packages
setup(
name='python-gdrive',
version='0.2',
author='Tony Sanchez',
author_email='mail.tsanchez@gmail.com',
url='https://github.com/tsanch3z/python-gdrive',
download_url='https://github.com/tsanch3z/python-gdrive/archive/master.zip',
description='Gdrive REST api client',
packages=find_packages(exclude=['tests']),
license='GPLv2',
platforms='OS Independent',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Development Status :: 4 - Beta'
],
install_requires='requests>=2.2.1'
)
|
6081ffcbf587352ede305e34d78c32f9ed78f44f | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-events',
version='1.8',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-cms>=2.4.1',
'django-theherk-resources>=1.4',
],
license='see file LICENSE',
description='Django CMS plugin to track events on multiple calendars',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-events',
download_url='https://github.com/theherk/django-theherk-events/archive/1.8.zip',
author='Adam Sherwood',
author_email='theherk@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-events',
version='1.8.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-cms>=2.4.1',
'django-theherk-resources>=1.4',
],
license='see file LICENSE',
description='Django CMS plugin to track events on multiple calendars',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-events',
download_url='https://github.com/theherk/django-theherk-events/archive/1.8.1.zip',
author='Adam Sherwood',
author_email='theherk@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| Update for new version 1.8.1 | Update for new version 1.8.1
| Python | bsd-3-clause | theherk/django-theherk-events | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-events',
version='1.8',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-cms>=2.4.1',
'django-theherk-resources>=1.4',
],
license='see file LICENSE',
description='Django CMS plugin to track events on multiple calendars',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-events',
download_url='https://github.com/theherk/django-theherk-events/archive/1.8.zip',
author='Adam Sherwood',
author_email='theherk@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
Update for new version 1.8.1 | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-events',
version='1.8.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-cms>=2.4.1',
'django-theherk-resources>=1.4',
],
license='see file LICENSE',
description='Django CMS plugin to track events on multiple calendars',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-events',
download_url='https://github.com/theherk/django-theherk-events/archive/1.8.1.zip',
author='Adam Sherwood',
author_email='theherk@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| <commit_before>import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-events',
version='1.8',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-cms>=2.4.1',
'django-theherk-resources>=1.4',
],
license='see file LICENSE',
description='Django CMS plugin to track events on multiple calendars',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-events',
download_url='https://github.com/theherk/django-theherk-events/archive/1.8.zip',
author='Adam Sherwood',
author_email='theherk@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
<commit_msg>Update for new version 1.8.1<commit_after> | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-events',
version='1.8.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-cms>=2.4.1',
'django-theherk-resources>=1.4',
],
license='see file LICENSE',
description='Django CMS plugin to track events on multiple calendars',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-events',
download_url='https://github.com/theherk/django-theherk-events/archive/1.8.1.zip',
author='Adam Sherwood',
author_email='theherk@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-events',
version='1.8',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-cms>=2.4.1',
'django-theherk-resources>=1.4',
],
license='see file LICENSE',
description='Django CMS plugin to track events on multiple calendars',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-events',
download_url='https://github.com/theherk/django-theherk-events/archive/1.8.zip',
author='Adam Sherwood',
author_email='theherk@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
Update for new version 1.8.1import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-events',
version='1.8.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-cms>=2.4.1',
'django-theherk-resources>=1.4',
],
license='see file LICENSE',
description='Django CMS plugin to track events on multiple calendars',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-events',
download_url='https://github.com/theherk/django-theherk-events/archive/1.8.1.zip',
author='Adam Sherwood',
author_email='theherk@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| <commit_before>import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-events',
version='1.8',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-cms>=2.4.1',
'django-theherk-resources>=1.4',
],
license='see file LICENSE',
description='Django CMS plugin to track events on multiple calendars',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-events',
download_url='https://github.com/theherk/django-theherk-events/archive/1.8.zip',
author='Adam Sherwood',
author_email='theherk@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
<commit_msg>Update for new version 1.8.1<commit_after>import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-events',
version='1.8.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-cms>=2.4.1',
'django-theherk-resources>=1.4',
],
license='see file LICENSE',
description='Django CMS plugin to track events on multiple calendars',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-events',
download_url='https://github.com/theherk/django-theherk-events/archive/1.8.1.zip',
author='Adam Sherwood',
author_email='theherk@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
|
a45fa05bc1f8c5f8c72db54484f8a18d2c53dadc | ibmcnx/doc/DataSources.py | ibmcnx/doc/DataSources.py | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
print AdminControl.getCell()
cell = "/Cell:" + AdminControl.getCell() + "/"
cellid = AdminConfig.getid( cell )
dbs = AdminConfig.list( 'DataSource', str(cellid) )
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.list( t1 ) | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
print AdminControl.getCell()
cell = "/Cell:" + AdminControl.getCell() + "/"
cellid = AdminConfig.getid( cell )
dbs = AdminConfig.list( 'DataSource', str(cellid) )
for db in dbs.splitlines():
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.list( t1 ) | Create documentation of DataSource Settings | : Create documentation of DataSource Settings
Task-Url: | Python | apache-2.0 | stoeps13/ibmcnx2,stoeps13/ibmcnx2 | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
print AdminControl.getCell()
cell = "/Cell:" + AdminControl.getCell() + "/"
cellid = AdminConfig.getid( cell )
dbs = AdminConfig.list( 'DataSource', str(cellid) )
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.list( t1 ): Create documentation of DataSource Settings
Task-Url: | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
print AdminControl.getCell()
cell = "/Cell:" + AdminControl.getCell() + "/"
cellid = AdminConfig.getid( cell )
dbs = AdminConfig.list( 'DataSource', str(cellid) )
for db in dbs.splitlines():
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.list( t1 ) | <commit_before>######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
print AdminControl.getCell()
cell = "/Cell:" + AdminControl.getCell() + "/"
cellid = AdminConfig.getid( cell )
dbs = AdminConfig.list( 'DataSource', str(cellid) )
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.list( t1 )<commit_msg>: Create documentation of DataSource Settings
Task-Url: <commit_after> | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
print AdminControl.getCell()
cell = "/Cell:" + AdminControl.getCell() + "/"
cellid = AdminConfig.getid( cell )
dbs = AdminConfig.list( 'DataSource', str(cellid) )
for db in dbs.splitlines():
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.list( t1 ) | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
print AdminControl.getCell()
cell = "/Cell:" + AdminControl.getCell() + "/"
cellid = AdminConfig.getid( cell )
dbs = AdminConfig.list( 'DataSource', str(cellid) )
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.list( t1 ): Create documentation of DataSource Settings
Task-Url: ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
print AdminControl.getCell()
cell = "/Cell:" + AdminControl.getCell() + "/"
cellid = AdminConfig.getid( cell )
dbs = AdminConfig.list( 'DataSource', str(cellid) )
for db in dbs.splitlines():
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.list( t1 ) | <commit_before>######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
print AdminControl.getCell()
cell = "/Cell:" + AdminControl.getCell() + "/"
cellid = AdminConfig.getid( cell )
dbs = AdminConfig.list( 'DataSource', str(cellid) )
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.list( t1 )<commit_msg>: Create documentation of DataSource Settings
Task-Url: <commit_after>######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
print AdminControl.getCell()
cell = "/Cell:" + AdminControl.getCell() + "/"
cellid = AdminConfig.getid( cell )
dbs = AdminConfig.list( 'DataSource', str(cellid) )
for db in dbs.splitlines():
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.list( t1 ) |
4559acc15b009be5d853dfdad0fdc9d3184370df | ibmcnx/doc/DataSources.py | ibmcnx/doc/DataSources.py | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
dbs = ['FNOSDS', 'FNGCDDS', 'IBM_FORMS_DATA_SOURCE', 'activities', 'blogs', 'communities', 'dogear', 'files', 'forum', 'homepage', 'metrics', 'mobile', 'news', 'oauth provider', 'profiles', 'search', 'wikis'] # List of all databases to check
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.show( t1 )
print '\n\n'
AdminConfig.showall( t1 ) | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
dbs = ['FNOSDS', 'FNGCDDS', 'IBM_FORMS_DATA_SOURCE', 'activities', 'blogs', 'communities', 'dogear', 'files', 'forum', 'homepage', 'metrics', 'mobile', 'news', 'oauth provider', 'profiles', 'search', 'wikis'] # List of all databases to check
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.show( t1 )
print '\n\n'
AdminConfig.showall( t1 )
AdminConfig.showAttribute(t1,'[[statementCacheSize]]' ) | Create documentation of DataSource Settings | : Create documentation of DataSource Settings
Task-Url: | Python | apache-2.0 | stoeps13/ibmcnx2,stoeps13/ibmcnx2 | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
dbs = ['FNOSDS', 'FNGCDDS', 'IBM_FORMS_DATA_SOURCE', 'activities', 'blogs', 'communities', 'dogear', 'files', 'forum', 'homepage', 'metrics', 'mobile', 'news', 'oauth provider', 'profiles', 'search', 'wikis'] # List of all databases to check
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.show( t1 )
print '\n\n'
AdminConfig.showall( t1 ): Create documentation of DataSource Settings
Task-Url: | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
dbs = ['FNOSDS', 'FNGCDDS', 'IBM_FORMS_DATA_SOURCE', 'activities', 'blogs', 'communities', 'dogear', 'files', 'forum', 'homepage', 'metrics', 'mobile', 'news', 'oauth provider', 'profiles', 'search', 'wikis'] # List of all databases to check
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.show( t1 )
print '\n\n'
AdminConfig.showall( t1 )
AdminConfig.showAttribute(t1,'[[statementCacheSize]]' ) | <commit_before>######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
dbs = ['FNOSDS', 'FNGCDDS', 'IBM_FORMS_DATA_SOURCE', 'activities', 'blogs', 'communities', 'dogear', 'files', 'forum', 'homepage', 'metrics', 'mobile', 'news', 'oauth provider', 'profiles', 'search', 'wikis'] # List of all databases to check
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.show( t1 )
print '\n\n'
AdminConfig.showall( t1 )<commit_msg>: Create documentation of DataSource Settings
Task-Url: <commit_after> | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
dbs = ['FNOSDS', 'FNGCDDS', 'IBM_FORMS_DATA_SOURCE', 'activities', 'blogs', 'communities', 'dogear', 'files', 'forum', 'homepage', 'metrics', 'mobile', 'news', 'oauth provider', 'profiles', 'search', 'wikis'] # List of all databases to check
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.show( t1 )
print '\n\n'
AdminConfig.showall( t1 )
AdminConfig.showAttribute(t1,'[[statementCacheSize]]' ) | ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
dbs = ['FNOSDS', 'FNGCDDS', 'IBM_FORMS_DATA_SOURCE', 'activities', 'blogs', 'communities', 'dogear', 'files', 'forum', 'homepage', 'metrics', 'mobile', 'news', 'oauth provider', 'profiles', 'search', 'wikis'] # List of all databases to check
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.show( t1 )
print '\n\n'
AdminConfig.showall( t1 ): Create documentation of DataSource Settings
Task-Url: ######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
dbs = ['FNOSDS', 'FNGCDDS', 'IBM_FORMS_DATA_SOURCE', 'activities', 'blogs', 'communities', 'dogear', 'files', 'forum', 'homepage', 'metrics', 'mobile', 'news', 'oauth provider', 'profiles', 'search', 'wikis'] # List of all databases to check
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.show( t1 )
print '\n\n'
AdminConfig.showall( t1 )
AdminConfig.showAttribute(t1,'[[statementCacheSize]]' ) | <commit_before>######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
dbs = ['FNOSDS', 'FNGCDDS', 'IBM_FORMS_DATA_SOURCE', 'activities', 'blogs', 'communities', 'dogear', 'files', 'forum', 'homepage', 'metrics', 'mobile', 'news', 'oauth provider', 'profiles', 'search', 'wikis'] # List of all databases to check
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.show( t1 )
print '\n\n'
AdminConfig.showall( t1 )<commit_msg>: Create documentation of DataSource Settings
Task-Url: <commit_after>######
# Check ExId (GUID) by Email through JDBC
#
# Author: Christoph Stoettner
# Mail: christoph.stoettner@stoeps.de
# Documentation: http://scripting101.stoeps.de
#
# Version: 2.0
# Date: 2014-06-04
#
# License: Apache 2.0
#
# Check ExId of a User in all Connections Applications
import ibmcnx.functions
dbs = ['FNOSDS', 'FNGCDDS', 'IBM_FORMS_DATA_SOURCE', 'activities', 'blogs', 'communities', 'dogear', 'files', 'forum', 'homepage', 'metrics', 'mobile', 'news', 'oauth provider', 'profiles', 'search', 'wikis'] # List of all databases to check
for db in dbs:
t1 = ibmcnx.functions.getDSId( db )
AdminConfig.show( t1 )
print '\n\n'
AdminConfig.showall( t1 )
AdminConfig.showAttribute(t1,'[[statementCacheSize]]' ) |
c297b882cbe5139062672dbb295c2b42adfc1ed8 | setup.py | setup.py | from setuptools import setup
setup(
name='bwapi',
version='3.2.0',
description='A software development kit for the Brandwatch API',
url='https://github.com/BrandwatchLtd/api_sdk',
author='Amy Barker, Jamie Lebovics, Paul Siegel and Jessica Bowden',
author_email='amyb@brandwatch.com, paul@brandwatch.com, jess@brandwatch.com',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
py_modules=['bwproject', 'bwresources', 'bwdata', 'filters'],
install_requires=['requests'],
tests_require=['responses']
)
| from setuptools import setup
setup(
name='bwapi',
version='3.2.0',
description='A software development kit for the Brandwatch API',
url='https://github.com/BrandwatchLtd/api_sdk',
author='Amy Barker, Jamie Lebovics, Paul Siegel and Jessica Bowden',
author_email='amyb@brandwatch.com, paul@brandwatch.com, jess@brandwatch.com',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
py_modules=['bwproject', 'bwresources', 'bwdata', 'filters'],
scripts=['authenticate.py'],
install_requires=['requests'],
tests_require=['responses']
)
| Add authenticate.py to installed scripts | Add authenticate.py to installed scripts
| Python | mit | anthonybu/api_sdk,BrandwatchLtd/api_sdk | from setuptools import setup
setup(
name='bwapi',
version='3.2.0',
description='A software development kit for the Brandwatch API',
url='https://github.com/BrandwatchLtd/api_sdk',
author='Amy Barker, Jamie Lebovics, Paul Siegel and Jessica Bowden',
author_email='amyb@brandwatch.com, paul@brandwatch.com, jess@brandwatch.com',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
py_modules=['bwproject', 'bwresources', 'bwdata', 'filters'],
install_requires=['requests'],
tests_require=['responses']
)
Add authenticate.py to installed scripts | from setuptools import setup
setup(
name='bwapi',
version='3.2.0',
description='A software development kit for the Brandwatch API',
url='https://github.com/BrandwatchLtd/api_sdk',
author='Amy Barker, Jamie Lebovics, Paul Siegel and Jessica Bowden',
author_email='amyb@brandwatch.com, paul@brandwatch.com, jess@brandwatch.com',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
py_modules=['bwproject', 'bwresources', 'bwdata', 'filters'],
scripts=['authenticate.py'],
install_requires=['requests'],
tests_require=['responses']
)
| <commit_before>from setuptools import setup
setup(
name='bwapi',
version='3.2.0',
description='A software development kit for the Brandwatch API',
url='https://github.com/BrandwatchLtd/api_sdk',
author='Amy Barker, Jamie Lebovics, Paul Siegel and Jessica Bowden',
author_email='amyb@brandwatch.com, paul@brandwatch.com, jess@brandwatch.com',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
py_modules=['bwproject', 'bwresources', 'bwdata', 'filters'],
install_requires=['requests'],
tests_require=['responses']
)
<commit_msg>Add authenticate.py to installed scripts<commit_after> | from setuptools import setup
setup(
name='bwapi',
version='3.2.0',
description='A software development kit for the Brandwatch API',
url='https://github.com/BrandwatchLtd/api_sdk',
author='Amy Barker, Jamie Lebovics, Paul Siegel and Jessica Bowden',
author_email='amyb@brandwatch.com, paul@brandwatch.com, jess@brandwatch.com',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
py_modules=['bwproject', 'bwresources', 'bwdata', 'filters'],
scripts=['authenticate.py'],
install_requires=['requests'],
tests_require=['responses']
)
| from setuptools import setup
setup(
name='bwapi',
version='3.2.0',
description='A software development kit for the Brandwatch API',
url='https://github.com/BrandwatchLtd/api_sdk',
author='Amy Barker, Jamie Lebovics, Paul Siegel and Jessica Bowden',
author_email='amyb@brandwatch.com, paul@brandwatch.com, jess@brandwatch.com',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
py_modules=['bwproject', 'bwresources', 'bwdata', 'filters'],
install_requires=['requests'],
tests_require=['responses']
)
Add authenticate.py to installed scriptsfrom setuptools import setup
setup(
name='bwapi',
version='3.2.0',
description='A software development kit for the Brandwatch API',
url='https://github.com/BrandwatchLtd/api_sdk',
author='Amy Barker, Jamie Lebovics, Paul Siegel and Jessica Bowden',
author_email='amyb@brandwatch.com, paul@brandwatch.com, jess@brandwatch.com',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
py_modules=['bwproject', 'bwresources', 'bwdata', 'filters'],
scripts=['authenticate.py'],
install_requires=['requests'],
tests_require=['responses']
)
| <commit_before>from setuptools import setup
setup(
name='bwapi',
version='3.2.0',
description='A software development kit for the Brandwatch API',
url='https://github.com/BrandwatchLtd/api_sdk',
author='Amy Barker, Jamie Lebovics, Paul Siegel and Jessica Bowden',
author_email='amyb@brandwatch.com, paul@brandwatch.com, jess@brandwatch.com',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
py_modules=['bwproject', 'bwresources', 'bwdata', 'filters'],
install_requires=['requests'],
tests_require=['responses']
)
<commit_msg>Add authenticate.py to installed scripts<commit_after>from setuptools import setup
setup(
name='bwapi',
version='3.2.0',
description='A software development kit for the Brandwatch API',
url='https://github.com/BrandwatchLtd/api_sdk',
author='Amy Barker, Jamie Lebovics, Paul Siegel and Jessica Bowden',
author_email='amyb@brandwatch.com, paul@brandwatch.com, jess@brandwatch.com',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
py_modules=['bwproject', 'bwresources', 'bwdata', 'filters'],
scripts=['authenticate.py'],
install_requires=['requests'],
tests_require=['responses']
)
|
af0b2b4ae205adb59e9e1922ca6ec10d491ebf2a | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name='tequila-sessions',
version='1.0.0',
description='Requests session for Tequila (EPFL login manager)',
author='Antoine Albertelli',
author_email='antoine.albertelli+github@gmail.com',
url='https://github.com/antoinealb/python-tequila',
py_modules=['tequila'],
install_requires=['requests', 'BeautifulSoup'],
)
| #!/usr/bin/env python
from distutils.core import setup
setup(name='tequila-sessions',
version='1.0.1',
description='Requests session for Tequila (EPFL login manager)',
author='Antoine Albertelli',
author_email='antoine.albertelli+github@gmail.com',
url='https://github.com/antoinealb/python-tequila',
py_modules=['tequila'],
install_requires=['requests', 'beautifulsoup4'],
)
| Use BeautifulSoup 4.x instead of 3.x | Use BeautifulSoup 4.x instead of 3.x
BS 3.x is obsolete, switch to more recent version
| Python | bsd-3-clause | antoinealb/python-tequila | #!/usr/bin/env python
from distutils.core import setup
setup(name='tequila-sessions',
version='1.0.0',
description='Requests session for Tequila (EPFL login manager)',
author='Antoine Albertelli',
author_email='antoine.albertelli+github@gmail.com',
url='https://github.com/antoinealb/python-tequila',
py_modules=['tequila'],
install_requires=['requests', 'BeautifulSoup'],
)
Use BeautifulSoup 4.x instead of 3.x
BS 3.x is obsolete, switch to more recent version | #!/usr/bin/env python
from distutils.core import setup
setup(name='tequila-sessions',
version='1.0.1',
description='Requests session for Tequila (EPFL login manager)',
author='Antoine Albertelli',
author_email='antoine.albertelli+github@gmail.com',
url='https://github.com/antoinealb/python-tequila',
py_modules=['tequila'],
install_requires=['requests', 'beautifulsoup4'],
)
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='tequila-sessions',
version='1.0.0',
description='Requests session for Tequila (EPFL login manager)',
author='Antoine Albertelli',
author_email='antoine.albertelli+github@gmail.com',
url='https://github.com/antoinealb/python-tequila',
py_modules=['tequila'],
install_requires=['requests', 'BeautifulSoup'],
)
<commit_msg>Use BeautifulSoup 4.x instead of 3.x
BS 3.x is obsolete, switch to more recent version<commit_after> | #!/usr/bin/env python
from distutils.core import setup
setup(name='tequila-sessions',
version='1.0.1',
description='Requests session for Tequila (EPFL login manager)',
author='Antoine Albertelli',
author_email='antoine.albertelli+github@gmail.com',
url='https://github.com/antoinealb/python-tequila',
py_modules=['tequila'],
install_requires=['requests', 'beautifulsoup4'],
)
| #!/usr/bin/env python
from distutils.core import setup
setup(name='tequila-sessions',
version='1.0.0',
description='Requests session for Tequila (EPFL login manager)',
author='Antoine Albertelli',
author_email='antoine.albertelli+github@gmail.com',
url='https://github.com/antoinealb/python-tequila',
py_modules=['tequila'],
install_requires=['requests', 'BeautifulSoup'],
)
Use BeautifulSoup 4.x instead of 3.x
BS 3.x is obsolete, switch to more recent version#!/usr/bin/env python
from distutils.core import setup
setup(name='tequila-sessions',
version='1.0.1',
description='Requests session for Tequila (EPFL login manager)',
author='Antoine Albertelli',
author_email='antoine.albertelli+github@gmail.com',
url='https://github.com/antoinealb/python-tequila',
py_modules=['tequila'],
install_requires=['requests', 'beautifulsoup4'],
)
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='tequila-sessions',
version='1.0.0',
description='Requests session for Tequila (EPFL login manager)',
author='Antoine Albertelli',
author_email='antoine.albertelli+github@gmail.com',
url='https://github.com/antoinealb/python-tequila',
py_modules=['tequila'],
install_requires=['requests', 'BeautifulSoup'],
)
<commit_msg>Use BeautifulSoup 4.x instead of 3.x
BS 3.x is obsolete, switch to more recent version<commit_after>#!/usr/bin/env python
from distutils.core import setup
setup(name='tequila-sessions',
version='1.0.1',
description='Requests session for Tequila (EPFL login manager)',
author='Antoine Albertelli',
author_email='antoine.albertelli+github@gmail.com',
url='https://github.com/antoinealb/python-tequila',
py_modules=['tequila'],
install_requires=['requests', 'beautifulsoup4'],
)
|
d404b6d606aff840819f9e811a429bd472a72e56 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==0.24.2',
'cvxopt==1.2.3',
'statsmodels==0.9.0',
]
)
| #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==0.24.2',
'cvxopt==1.2.3',
'statsmodels==0.10.1',
]
)
| Bump statsmodels from 0.9.0 to 0.10.1 | Bump statsmodels from 0.9.0 to 0.10.1
Bumps [statsmodels](https://github.com/statsmodels/statsmodels) from 0.9.0 to 0.10.1.
- [Release notes](https://github.com/statsmodels/statsmodels/releases)
- [Changelog](https://github.com/statsmodels/statsmodels/blob/master/CHANGES.md)
- [Commits](https://github.com/statsmodels/statsmodels/compare/v0.9.0...v0.10.1)
Signed-off-by: dependabot-preview[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com> | Python | apache-2.0 | bugra/l1 | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==0.24.2',
'cvxopt==1.2.3',
'statsmodels==0.9.0',
]
)
Bump statsmodels from 0.9.0 to 0.10.1
Bumps [statsmodels](https://github.com/statsmodels/statsmodels) from 0.9.0 to 0.10.1.
- [Release notes](https://github.com/statsmodels/statsmodels/releases)
- [Changelog](https://github.com/statsmodels/statsmodels/blob/master/CHANGES.md)
- [Commits](https://github.com/statsmodels/statsmodels/compare/v0.9.0...v0.10.1)
Signed-off-by: dependabot-preview[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com> | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==0.24.2',
'cvxopt==1.2.3',
'statsmodels==0.10.1',
]
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==0.24.2',
'cvxopt==1.2.3',
'statsmodels==0.9.0',
]
)
<commit_msg>Bump statsmodels from 0.9.0 to 0.10.1
Bumps [statsmodels](https://github.com/statsmodels/statsmodels) from 0.9.0 to 0.10.1.
- [Release notes](https://github.com/statsmodels/statsmodels/releases)
- [Changelog](https://github.com/statsmodels/statsmodels/blob/master/CHANGES.md)
- [Commits](https://github.com/statsmodels/statsmodels/compare/v0.9.0...v0.10.1)
Signed-off-by: dependabot-preview[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com><commit_after> | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==0.24.2',
'cvxopt==1.2.3',
'statsmodels==0.10.1',
]
)
| #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==0.24.2',
'cvxopt==1.2.3',
'statsmodels==0.9.0',
]
)
Bump statsmodels from 0.9.0 to 0.10.1
Bumps [statsmodels](https://github.com/statsmodels/statsmodels) from 0.9.0 to 0.10.1.
- [Release notes](https://github.com/statsmodels/statsmodels/releases)
- [Changelog](https://github.com/statsmodels/statsmodels/blob/master/CHANGES.md)
- [Commits](https://github.com/statsmodels/statsmodels/compare/v0.9.0...v0.10.1)
Signed-off-by: dependabot-preview[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com>#!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==0.24.2',
'cvxopt==1.2.3',
'statsmodels==0.10.1',
]
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==0.24.2',
'cvxopt==1.2.3',
'statsmodels==0.9.0',
]
)
<commit_msg>Bump statsmodels from 0.9.0 to 0.10.1
Bumps [statsmodels](https://github.com/statsmodels/statsmodels) from 0.9.0 to 0.10.1.
- [Release notes](https://github.com/statsmodels/statsmodels/releases)
- [Changelog](https://github.com/statsmodels/statsmodels/blob/master/CHANGES.md)
- [Commits](https://github.com/statsmodels/statsmodels/compare/v0.9.0...v0.10.1)
Signed-off-by: dependabot-preview[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com><commit_after>#!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==0.24.2',
'cvxopt==1.2.3',
'statsmodels==0.10.1',
]
)
|
229c71fd33956e27fc70468f3ff3d6c87796b574 | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='django-post_office',
version='1.1.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_description=open('README.rst').read(),
zip_safe=False,
include_package_data=True,
package_data={'': ['README.rst']},
install_requires=['django>=1.4', 'jsonfield'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='django-post_office',
version='1.1.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_description=open('README.rst').read(),
zip_safe=False,
include_package_data=True,
package_data={'': ['README.rst']},
install_requires=['django>=1.4', 'jsonfield', 'six', ],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| Include six as a requirement. | Include six as a requirement.
| Python | mit | RafRaf/django-post_office,yprez/django-post_office,ekohl/django-post_office,fapelhanz/django-post_office,ui/django-post_office,JostCrow/django-post_office,ui/django-post_office,jrief/django-post_office | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='django-post_office',
version='1.1.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_description=open('README.rst').read(),
zip_safe=False,
include_package_data=True,
package_data={'': ['README.rst']},
install_requires=['django>=1.4', 'jsonfield'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
Include six as a requirement. | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='django-post_office',
version='1.1.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_description=open('README.rst').read(),
zip_safe=False,
include_package_data=True,
package_data={'': ['README.rst']},
install_requires=['django>=1.4', 'jsonfield', 'six', ],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| <commit_before># -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='django-post_office',
version='1.1.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_description=open('README.rst').read(),
zip_safe=False,
include_package_data=True,
package_data={'': ['README.rst']},
install_requires=['django>=1.4', 'jsonfield'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
<commit_msg>Include six as a requirement.<commit_after> | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='django-post_office',
version='1.1.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_description=open('README.rst').read(),
zip_safe=False,
include_package_data=True,
package_data={'': ['README.rst']},
install_requires=['django>=1.4', 'jsonfield', 'six', ],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='django-post_office',
version='1.1.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_description=open('README.rst').read(),
zip_safe=False,
include_package_data=True,
package_data={'': ['README.rst']},
install_requires=['django>=1.4', 'jsonfield'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
Include six as a requirement.# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='django-post_office',
version='1.1.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_description=open('README.rst').read(),
zip_safe=False,
include_package_data=True,
package_data={'': ['README.rst']},
install_requires=['django>=1.4', 'jsonfield', 'six', ],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| <commit_before># -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='django-post_office',
version='1.1.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_description=open('README.rst').read(),
zip_safe=False,
include_package_data=True,
package_data={'': ['README.rst']},
install_requires=['django>=1.4', 'jsonfield'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
<commit_msg>Include six as a requirement.<commit_after># -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='django-post_office',
version='1.1.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_description=open('README.rst').read(),
zip_safe=False,
include_package_data=True,
package_data={'': ['README.rst']},
install_requires=['django>=1.4', 'jsonfield', 'six', ],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
8b6429173e177acf3b1303e71ef717a2f26d950b | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='wafw00f',
version=__import__('wafw00f').__version__,
description=('WAFW00F identifies and fingerprints '
'Web Application Firewall (WAF) products.'),
author='sandrogauci',
author_email='sandro@enablesecurity.com',
license='BSD License',
url='https://github.com/sandrogauci/wafw00f',
packages=find_packages(),
scripts=['wafw00f/bin/wafw00f'],
install_requires=[
'beautifulsoup4==4.6.0',
'pluginbase==0.3',
],
extras_require={
'dev': [
'prospector==0.10.1',
],
'test': [
'httpretty==0.8.10',
'coverage==3.7.1',
'coveralls==0.5',
'python-coveralls==2.5.0',
'nose==1.3.6',
],
'docs': [
'Sphinx==1.3.1',
],
},
test_suite='nose.collector',
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='wafw00f',
version=__import__('wafw00f').__version__,
description=('WAFW00F identifies and fingerprints '
'Web Application Firewall (WAF) products.'),
author='sandrogauci',
author_email='sandro@enablesecurity.com',
license='BSD License',
url='https://github.com/sandrogauci/wafw00f',
packages=find_packages(),
scripts=['wafw00f/bin/wafw00f'],
install_requires=[
'beautifulsoup4==4.6.0',
'pluginbase==0.3',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'Topic :: Internet',
'Topic :: Security',
'Topic :: System :: Networking :: Firewalls',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
],
keywords='waf firewall detector',
extras_require={
'dev': [
'prospector==0.10.1',
],
'test': [
'httpretty==0.8.10',
'coverage==3.7.1',
'coveralls==0.5',
'python-coveralls==2.5.0',
'nose==1.3.6',
],
'docs': [
'Sphinx==1.3.1',
],
},
test_suite='nose.collector',
)
| Add classifiers and Keywords per PyPi sample | Add classifiers and Keywords per PyPi sample
https://github.com/pypa/sampleproject/blob/master/setup.py | Python | bsd-3-clause | EnableSecurity/wafw00f,sandrogauci/wafw00f | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='wafw00f',
version=__import__('wafw00f').__version__,
description=('WAFW00F identifies and fingerprints '
'Web Application Firewall (WAF) products.'),
author='sandrogauci',
author_email='sandro@enablesecurity.com',
license='BSD License',
url='https://github.com/sandrogauci/wafw00f',
packages=find_packages(),
scripts=['wafw00f/bin/wafw00f'],
install_requires=[
'beautifulsoup4==4.6.0',
'pluginbase==0.3',
],
extras_require={
'dev': [
'prospector==0.10.1',
],
'test': [
'httpretty==0.8.10',
'coverage==3.7.1',
'coveralls==0.5',
'python-coveralls==2.5.0',
'nose==1.3.6',
],
'docs': [
'Sphinx==1.3.1',
],
},
test_suite='nose.collector',
)
Add classifiers and Keywords per PyPi sample
https://github.com/pypa/sampleproject/blob/master/setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='wafw00f',
version=__import__('wafw00f').__version__,
description=('WAFW00F identifies and fingerprints '
'Web Application Firewall (WAF) products.'),
author='sandrogauci',
author_email='sandro@enablesecurity.com',
license='BSD License',
url='https://github.com/sandrogauci/wafw00f',
packages=find_packages(),
scripts=['wafw00f/bin/wafw00f'],
install_requires=[
'beautifulsoup4==4.6.0',
'pluginbase==0.3',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'Topic :: Internet',
'Topic :: Security',
'Topic :: System :: Networking :: Firewalls',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
],
keywords='waf firewall detector',
extras_require={
'dev': [
'prospector==0.10.1',
],
'test': [
'httpretty==0.8.10',
'coverage==3.7.1',
'coveralls==0.5',
'python-coveralls==2.5.0',
'nose==1.3.6',
],
'docs': [
'Sphinx==1.3.1',
],
},
test_suite='nose.collector',
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='wafw00f',
version=__import__('wafw00f').__version__,
description=('WAFW00F identifies and fingerprints '
'Web Application Firewall (WAF) products.'),
author='sandrogauci',
author_email='sandro@enablesecurity.com',
license='BSD License',
url='https://github.com/sandrogauci/wafw00f',
packages=find_packages(),
scripts=['wafw00f/bin/wafw00f'],
install_requires=[
'beautifulsoup4==4.6.0',
'pluginbase==0.3',
],
extras_require={
'dev': [
'prospector==0.10.1',
],
'test': [
'httpretty==0.8.10',
'coverage==3.7.1',
'coveralls==0.5',
'python-coveralls==2.5.0',
'nose==1.3.6',
],
'docs': [
'Sphinx==1.3.1',
],
},
test_suite='nose.collector',
)
<commit_msg>Add classifiers and Keywords per PyPi sample
https://github.com/pypa/sampleproject/blob/master/setup.py<commit_after> | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='wafw00f',
version=__import__('wafw00f').__version__,
description=('WAFW00F identifies and fingerprints '
'Web Application Firewall (WAF) products.'),
author='sandrogauci',
author_email='sandro@enablesecurity.com',
license='BSD License',
url='https://github.com/sandrogauci/wafw00f',
packages=find_packages(),
scripts=['wafw00f/bin/wafw00f'],
install_requires=[
'beautifulsoup4==4.6.0',
'pluginbase==0.3',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'Topic :: Internet',
'Topic :: Security',
'Topic :: System :: Networking :: Firewalls',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
],
keywords='waf firewall detector',
extras_require={
'dev': [
'prospector==0.10.1',
],
'test': [
'httpretty==0.8.10',
'coverage==3.7.1',
'coveralls==0.5',
'python-coveralls==2.5.0',
'nose==1.3.6',
],
'docs': [
'Sphinx==1.3.1',
],
},
test_suite='nose.collector',
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='wafw00f',
version=__import__('wafw00f').__version__,
description=('WAFW00F identifies and fingerprints '
'Web Application Firewall (WAF) products.'),
author='sandrogauci',
author_email='sandro@enablesecurity.com',
license='BSD License',
url='https://github.com/sandrogauci/wafw00f',
packages=find_packages(),
scripts=['wafw00f/bin/wafw00f'],
install_requires=[
'beautifulsoup4==4.6.0',
'pluginbase==0.3',
],
extras_require={
'dev': [
'prospector==0.10.1',
],
'test': [
'httpretty==0.8.10',
'coverage==3.7.1',
'coveralls==0.5',
'python-coveralls==2.5.0',
'nose==1.3.6',
],
'docs': [
'Sphinx==1.3.1',
],
},
test_suite='nose.collector',
)
Add classifiers and Keywords per PyPi sample
https://github.com/pypa/sampleproject/blob/master/setup.py#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='wafw00f',
version=__import__('wafw00f').__version__,
description=('WAFW00F identifies and fingerprints '
'Web Application Firewall (WAF) products.'),
author='sandrogauci',
author_email='sandro@enablesecurity.com',
license='BSD License',
url='https://github.com/sandrogauci/wafw00f',
packages=find_packages(),
scripts=['wafw00f/bin/wafw00f'],
install_requires=[
'beautifulsoup4==4.6.0',
'pluginbase==0.3',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'Topic :: Internet',
'Topic :: Security',
'Topic :: System :: Networking :: Firewalls',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
],
keywords='waf firewall detector',
extras_require={
'dev': [
'prospector==0.10.1',
],
'test': [
'httpretty==0.8.10',
'coverage==3.7.1',
'coveralls==0.5',
'python-coveralls==2.5.0',
'nose==1.3.6',
],
'docs': [
'Sphinx==1.3.1',
],
},
test_suite='nose.collector',
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='wafw00f',
version=__import__('wafw00f').__version__,
description=('WAFW00F identifies and fingerprints '
'Web Application Firewall (WAF) products.'),
author='sandrogauci',
author_email='sandro@enablesecurity.com',
license='BSD License',
url='https://github.com/sandrogauci/wafw00f',
packages=find_packages(),
scripts=['wafw00f/bin/wafw00f'],
install_requires=[
'beautifulsoup4==4.6.0',
'pluginbase==0.3',
],
extras_require={
'dev': [
'prospector==0.10.1',
],
'test': [
'httpretty==0.8.10',
'coverage==3.7.1',
'coveralls==0.5',
'python-coveralls==2.5.0',
'nose==1.3.6',
],
'docs': [
'Sphinx==1.3.1',
],
},
test_suite='nose.collector',
)
<commit_msg>Add classifiers and Keywords per PyPi sample
https://github.com/pypa/sampleproject/blob/master/setup.py<commit_after>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='wafw00f',
version=__import__('wafw00f').__version__,
description=('WAFW00F identifies and fingerprints '
'Web Application Firewall (WAF) products.'),
author='sandrogauci',
author_email='sandro@enablesecurity.com',
license='BSD License',
url='https://github.com/sandrogauci/wafw00f',
packages=find_packages(),
scripts=['wafw00f/bin/wafw00f'],
install_requires=[
'beautifulsoup4==4.6.0',
'pluginbase==0.3',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'Topic :: Internet',
'Topic :: Security',
'Topic :: System :: Networking :: Firewalls',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
],
keywords='waf firewall detector',
extras_require={
'dev': [
'prospector==0.10.1',
],
'test': [
'httpretty==0.8.10',
'coverage==3.7.1',
'coveralls==0.5',
'python-coveralls==2.5.0',
'nose==1.3.6',
],
'docs': [
'Sphinx==1.3.1',
],
},
test_suite='nose.collector',
)
|
a101321fecca49754cf3a640fbfac19953fd56fb | setup.py | setup.py | # -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def _read_file(name, encoding='utf-8'):
"""
Read the contents of a file.
:param name: The name of the file in the current directory.
:param encoding: The encoding of the file; defaults to utf-8.
:return: The contents of the file.
"""
with codecs.open(name, encoding=encoding) as f:
return f.read()
setup(
name='chandl',
version='0.0.1',
description='A lightweight tool for parsing and downloading 4chan threads.',
long_description=_read_file('README.md'),
license='MIT',
url='https://github.com/gebn/chandl',
author='George Brighton',
author_email='oss@gebn.co.uk',
packages=find_packages(),
install_requires=[
'six>=1.9.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Utilities'
]
)
| # -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def _read_file(name, encoding='utf-8'):
"""
Read the contents of a file.
:param name: The name of the file in the current directory.
:param encoding: The encoding of the file; defaults to utf-8.
:return: The contents of the file.
"""
with codecs.open(name, encoding=encoding) as f:
return f.read()
setup(
name='chandl',
version='0.0.1',
description='A lightweight tool for parsing and downloading 4chan threads.',
long_description=_read_file('README.md'),
license='MIT',
url='https://github.com/gebn/chandl',
author='George Brighton',
author_email='oss@gebn.co.uk',
packages=find_packages(),
install_requires=[
'six>=1.9.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Utilities'
],
entry_points={
'console_scripts': [
'chandl = chandl.__main__:main',
]
}
)
| Make chandl available directly on the command line | Make chandl available directly on the command line
| Python | mit | gebn/chandl,gebn/chandl | # -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def _read_file(name, encoding='utf-8'):
"""
Read the contents of a file.
:param name: The name of the file in the current directory.
:param encoding: The encoding of the file; defaults to utf-8.
:return: The contents of the file.
"""
with codecs.open(name, encoding=encoding) as f:
return f.read()
setup(
name='chandl',
version='0.0.1',
description='A lightweight tool for parsing and downloading 4chan threads.',
long_description=_read_file('README.md'),
license='MIT',
url='https://github.com/gebn/chandl',
author='George Brighton',
author_email='oss@gebn.co.uk',
packages=find_packages(),
install_requires=[
'six>=1.9.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Utilities'
]
)
Make chandl available directly on the command line | # -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def _read_file(name, encoding='utf-8'):
"""
Read the contents of a file.
:param name: The name of the file in the current directory.
:param encoding: The encoding of the file; defaults to utf-8.
:return: The contents of the file.
"""
with codecs.open(name, encoding=encoding) as f:
return f.read()
setup(
name='chandl',
version='0.0.1',
description='A lightweight tool for parsing and downloading 4chan threads.',
long_description=_read_file('README.md'),
license='MIT',
url='https://github.com/gebn/chandl',
author='George Brighton',
author_email='oss@gebn.co.uk',
packages=find_packages(),
install_requires=[
'six>=1.9.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Utilities'
],
entry_points={
'console_scripts': [
'chandl = chandl.__main__:main',
]
}
)
| <commit_before># -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def _read_file(name, encoding='utf-8'):
"""
Read the contents of a file.
:param name: The name of the file in the current directory.
:param encoding: The encoding of the file; defaults to utf-8.
:return: The contents of the file.
"""
with codecs.open(name, encoding=encoding) as f:
return f.read()
setup(
name='chandl',
version='0.0.1',
description='A lightweight tool for parsing and downloading 4chan threads.',
long_description=_read_file('README.md'),
license='MIT',
url='https://github.com/gebn/chandl',
author='George Brighton',
author_email='oss@gebn.co.uk',
packages=find_packages(),
install_requires=[
'six>=1.9.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Utilities'
]
)
<commit_msg>Make chandl available directly on the command line<commit_after> | # -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def _read_file(name, encoding='utf-8'):
"""
Read the contents of a file.
:param name: The name of the file in the current directory.
:param encoding: The encoding of the file; defaults to utf-8.
:return: The contents of the file.
"""
with codecs.open(name, encoding=encoding) as f:
return f.read()
setup(
name='chandl',
version='0.0.1',
description='A lightweight tool for parsing and downloading 4chan threads.',
long_description=_read_file('README.md'),
license='MIT',
url='https://github.com/gebn/chandl',
author='George Brighton',
author_email='oss@gebn.co.uk',
packages=find_packages(),
install_requires=[
'six>=1.9.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Utilities'
],
entry_points={
'console_scripts': [
'chandl = chandl.__main__:main',
]
}
)
| # -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def _read_file(name, encoding='utf-8'):
"""
Read the contents of a file.
:param name: The name of the file in the current directory.
:param encoding: The encoding of the file; defaults to utf-8.
:return: The contents of the file.
"""
with codecs.open(name, encoding=encoding) as f:
return f.read()
setup(
name='chandl',
version='0.0.1',
description='A lightweight tool for parsing and downloading 4chan threads.',
long_description=_read_file('README.md'),
license='MIT',
url='https://github.com/gebn/chandl',
author='George Brighton',
author_email='oss@gebn.co.uk',
packages=find_packages(),
install_requires=[
'six>=1.9.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Utilities'
]
)
Make chandl available directly on the command line# -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def _read_file(name, encoding='utf-8'):
"""
Read the contents of a file.
:param name: The name of the file in the current directory.
:param encoding: The encoding of the file; defaults to utf-8.
:return: The contents of the file.
"""
with codecs.open(name, encoding=encoding) as f:
return f.read()
setup(
name='chandl',
version='0.0.1',
description='A lightweight tool for parsing and downloading 4chan threads.',
long_description=_read_file('README.md'),
license='MIT',
url='https://github.com/gebn/chandl',
author='George Brighton',
author_email='oss@gebn.co.uk',
packages=find_packages(),
install_requires=[
'six>=1.9.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Utilities'
],
entry_points={
'console_scripts': [
'chandl = chandl.__main__:main',
]
}
)
| <commit_before># -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def _read_file(name, encoding='utf-8'):
"""
Read the contents of a file.
:param name: The name of the file in the current directory.
:param encoding: The encoding of the file; defaults to utf-8.
:return: The contents of the file.
"""
with codecs.open(name, encoding=encoding) as f:
return f.read()
setup(
name='chandl',
version='0.0.1',
description='A lightweight tool for parsing and downloading 4chan threads.',
long_description=_read_file('README.md'),
license='MIT',
url='https://github.com/gebn/chandl',
author='George Brighton',
author_email='oss@gebn.co.uk',
packages=find_packages(),
install_requires=[
'six>=1.9.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Utilities'
]
)
<commit_msg>Make chandl available directly on the command line<commit_after># -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def _read_file(name, encoding='utf-8'):
"""
Read the contents of a file.
:param name: The name of the file in the current directory.
:param encoding: The encoding of the file; defaults to utf-8.
:return: The contents of the file.
"""
with codecs.open(name, encoding=encoding) as f:
return f.read()
setup(
name='chandl',
version='0.0.1',
description='A lightweight tool for parsing and downloading 4chan threads.',
long_description=_read_file('README.md'),
license='MIT',
url='https://github.com/gebn/chandl',
author='George Brighton',
author_email='oss@gebn.co.uk',
packages=find_packages(),
install_requires=[
'six>=1.9.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Utilities'
],
entry_points={
'console_scripts': [
'chandl = chandl.__main__:main',
]
}
)
|
6cd2a721d90c991b7c7dde221affd6ebecf70e95 | setup.py | setup.py | from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
packages = ["fastcache", "fastcache.tests"],
ext_modules= [Extension("fastcache._lrucache",
["src/_lrucache.c"],
),
]
)
| from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
packages = ["fastcache", "fastcache.tests"],
ext_modules= [Extension("fastcache._lrucache",
["src/_lrucache.c"],
extra_compile_args=['-std=c99']),
]
)
| Fix travis build error by specifying compiler arg -std=c99 | Fix travis build error by specifying compiler arg -std=c99
| Python | mit | pbrady/fastcache,pbrady/fastcache,pbrady/fastcache | from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
packages = ["fastcache", "fastcache.tests"],
ext_modules= [Extension("fastcache._lrucache",
["src/_lrucache.c"],
),
]
)
Fix travis build error by specifying compiler arg -std=c99 | from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
packages = ["fastcache", "fastcache.tests"],
ext_modules= [Extension("fastcache._lrucache",
["src/_lrucache.c"],
extra_compile_args=['-std=c99']),
]
)
| <commit_before>from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
packages = ["fastcache", "fastcache.tests"],
ext_modules= [Extension("fastcache._lrucache",
["src/_lrucache.c"],
),
]
)
<commit_msg>Fix travis build error by specifying compiler arg -std=c99<commit_after> | from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
packages = ["fastcache", "fastcache.tests"],
ext_modules= [Extension("fastcache._lrucache",
["src/_lrucache.c"],
extra_compile_args=['-std=c99']),
]
)
| from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
packages = ["fastcache", "fastcache.tests"],
ext_modules= [Extension("fastcache._lrucache",
["src/_lrucache.c"],
),
]
)
Fix travis build error by specifying compiler arg -std=c99from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
packages = ["fastcache", "fastcache.tests"],
ext_modules= [Extension("fastcache._lrucache",
["src/_lrucache.c"],
extra_compile_args=['-std=c99']),
]
)
| <commit_before>from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
packages = ["fastcache", "fastcache.tests"],
ext_modules= [Extension("fastcache._lrucache",
["src/_lrucache.c"],
),
]
)
<commit_msg>Fix travis build error by specifying compiler arg -std=c99<commit_after>from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
packages = ["fastcache", "fastcache.tests"],
ext_modules= [Extension("fastcache._lrucache",
["src/_lrucache.c"],
extra_compile_args=['-std=c99']),
]
)
|
42ba81023397eb7bdf9361e981102aec0dd65a0b | setup.py | setup.py | #/usr/bin/env python
from setuptools import setup
try:
readme = open("README.rst")
long_description = str(readme.read())
finally:
readme.close()
setup(
name='pyziptax',
version='1.0',
description='Python API for accessing sales tax information from Zip-Tax.com',
long_description=long_description,
author='Albert Wang',
author_email='aywang31@gmail.com',
url='http://github.com/albertyw/pyziptax',
packages=['pyziptax', ],
install_requires=[
'requests>=1.1.0',
],
license='Apache',
test_suite="tests",
tests_require=[
'mock>=1.0.1',
'tox',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Localization',
'Topic :: Office/Business :: Financial :: Accounting',
],
)
| #/usr/bin/env python
from setuptools import setup
try:
readme = open("README.rst")
long_description = str(readme.read())
finally:
readme.close()
setup(
name='pyziptax',
version='1.1',
description='Python API for accessing sales tax information from Zip-Tax.com',
long_description=long_description,
author='Albert Wang',
author_email='aywang31@gmail.com',
url='http://github.com/albertyw/pyziptax',
packages=['pyziptax', ],
install_requires=[
'requests>=1.1.0',
],
license='Apache',
test_suite="tests",
tests_require=[
'mock>=1.0.1',
'tox',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Localization',
'Topic :: Office/Business :: Financial :: Accounting',
],
)
| Update package to version 1.1 | Update package to version 1.1
| Python | apache-2.0 | albertyw/pyziptax | #/usr/bin/env python
from setuptools import setup
try:
readme = open("README.rst")
long_description = str(readme.read())
finally:
readme.close()
setup(
name='pyziptax',
version='1.0',
description='Python API for accessing sales tax information from Zip-Tax.com',
long_description=long_description,
author='Albert Wang',
author_email='aywang31@gmail.com',
url='http://github.com/albertyw/pyziptax',
packages=['pyziptax', ],
install_requires=[
'requests>=1.1.0',
],
license='Apache',
test_suite="tests",
tests_require=[
'mock>=1.0.1',
'tox',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Localization',
'Topic :: Office/Business :: Financial :: Accounting',
],
)
Update package to version 1.1 | #/usr/bin/env python
from setuptools import setup
try:
readme = open("README.rst")
long_description = str(readme.read())
finally:
readme.close()
setup(
name='pyziptax',
version='1.1',
description='Python API for accessing sales tax information from Zip-Tax.com',
long_description=long_description,
author='Albert Wang',
author_email='aywang31@gmail.com',
url='http://github.com/albertyw/pyziptax',
packages=['pyziptax', ],
install_requires=[
'requests>=1.1.0',
],
license='Apache',
test_suite="tests",
tests_require=[
'mock>=1.0.1',
'tox',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Localization',
'Topic :: Office/Business :: Financial :: Accounting',
],
)
| <commit_before>#/usr/bin/env python
from setuptools import setup
try:
readme = open("README.rst")
long_description = str(readme.read())
finally:
readme.close()
setup(
name='pyziptax',
version='1.0',
description='Python API for accessing sales tax information from Zip-Tax.com',
long_description=long_description,
author='Albert Wang',
author_email='aywang31@gmail.com',
url='http://github.com/albertyw/pyziptax',
packages=['pyziptax', ],
install_requires=[
'requests>=1.1.0',
],
license='Apache',
test_suite="tests",
tests_require=[
'mock>=1.0.1',
'tox',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Localization',
'Topic :: Office/Business :: Financial :: Accounting',
],
)
<commit_msg>Update package to version 1.1<commit_after> | #/usr/bin/env python
from setuptools import setup
try:
readme = open("README.rst")
long_description = str(readme.read())
finally:
readme.close()
setup(
name='pyziptax',
version='1.1',
description='Python API for accessing sales tax information from Zip-Tax.com',
long_description=long_description,
author='Albert Wang',
author_email='aywang31@gmail.com',
url='http://github.com/albertyw/pyziptax',
packages=['pyziptax', ],
install_requires=[
'requests>=1.1.0',
],
license='Apache',
test_suite="tests",
tests_require=[
'mock>=1.0.1',
'tox',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Localization',
'Topic :: Office/Business :: Financial :: Accounting',
],
)
| #/usr/bin/env python
from setuptools import setup
try:
readme = open("README.rst")
long_description = str(readme.read())
finally:
readme.close()
setup(
name='pyziptax',
version='1.0',
description='Python API for accessing sales tax information from Zip-Tax.com',
long_description=long_description,
author='Albert Wang',
author_email='aywang31@gmail.com',
url='http://github.com/albertyw/pyziptax',
packages=['pyziptax', ],
install_requires=[
'requests>=1.1.0',
],
license='Apache',
test_suite="tests",
tests_require=[
'mock>=1.0.1',
'tox',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Localization',
'Topic :: Office/Business :: Financial :: Accounting',
],
)
Update package to version 1.1#/usr/bin/env python
from setuptools import setup
try:
readme = open("README.rst")
long_description = str(readme.read())
finally:
readme.close()
setup(
name='pyziptax',
version='1.1',
description='Python API for accessing sales tax information from Zip-Tax.com',
long_description=long_description,
author='Albert Wang',
author_email='aywang31@gmail.com',
url='http://github.com/albertyw/pyziptax',
packages=['pyziptax', ],
install_requires=[
'requests>=1.1.0',
],
license='Apache',
test_suite="tests",
tests_require=[
'mock>=1.0.1',
'tox',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Localization',
'Topic :: Office/Business :: Financial :: Accounting',
],
)
| <commit_before>#/usr/bin/env python
from setuptools import setup
try:
readme = open("README.rst")
long_description = str(readme.read())
finally:
readme.close()
setup(
name='pyziptax',
version='1.0',
description='Python API for accessing sales tax information from Zip-Tax.com',
long_description=long_description,
author='Albert Wang',
author_email='aywang31@gmail.com',
url='http://github.com/albertyw/pyziptax',
packages=['pyziptax', ],
install_requires=[
'requests>=1.1.0',
],
license='Apache',
test_suite="tests",
tests_require=[
'mock>=1.0.1',
'tox',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Localization',
'Topic :: Office/Business :: Financial :: Accounting',
],
)
<commit_msg>Update package to version 1.1<commit_after>#/usr/bin/env python
from setuptools import setup
try:
readme = open("README.rst")
long_description = str(readme.read())
finally:
readme.close()
setup(
name='pyziptax',
version='1.1',
description='Python API for accessing sales tax information from Zip-Tax.com',
long_description=long_description,
author='Albert Wang',
author_email='aywang31@gmail.com',
url='http://github.com/albertyw/pyziptax',
packages=['pyziptax', ],
install_requires=[
'requests>=1.1.0',
],
license='Apache',
test_suite="tests",
tests_require=[
'mock>=1.0.1',
'tox',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Localization',
'Topic :: Office/Business :: Financial :: Accounting',
],
)
|
b2f1c1c54f3ebb3c95de0032fc13fc03997d222c | setup.py | setup.py | from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
python_requires='>=3.5',
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus/python-cozify',
project_urls={"Documentation": "https://python-cozify.readthedocs.io/"},
description='Unofficial Python3 client library for the Cozify API.',
long_description=long_description,
license='MIT',
packages=['cozify'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
install_requires=['requests', 'absl-py'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6'
'Programming Language :: Python :: 3.7'
'Programming Language :: Python :: 3.8'
'Programming Language :: Python :: 3.9'
]) # yapf: disable
| from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
python_requires='>=3.6',
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus/python-cozify',
project_urls={"Documentation": "https://python-cozify.readthedocs.io/"},
description='Unofficial Python3 client library for the Cozify API.',
long_description=long_description,
license='MIT',
packages=['cozify'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
install_requires=['requests', 'absl-py'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
]) # yapf: disable
| Fix python version syntax errors, bump minimum to 3.6 [no ci] | Fix python version syntax errors, bump minimum to 3.6 [no ci]
| Python | mit | Artanicus/python-cozify,Artanicus/python-cozify | from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
python_requires='>=3.5',
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus/python-cozify',
project_urls={"Documentation": "https://python-cozify.readthedocs.io/"},
description='Unofficial Python3 client library for the Cozify API.',
long_description=long_description,
license='MIT',
packages=['cozify'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
install_requires=['requests', 'absl-py'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6'
'Programming Language :: Python :: 3.7'
'Programming Language :: Python :: 3.8'
'Programming Language :: Python :: 3.9'
]) # yapf: disable
Fix python version syntax errors, bump minimum to 3.6 [no ci] | from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
python_requires='>=3.6',
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus/python-cozify',
project_urls={"Documentation": "https://python-cozify.readthedocs.io/"},
description='Unofficial Python3 client library for the Cozify API.',
long_description=long_description,
license='MIT',
packages=['cozify'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
install_requires=['requests', 'absl-py'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
]) # yapf: disable
| <commit_before>from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
python_requires='>=3.5',
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus/python-cozify',
project_urls={"Documentation": "https://python-cozify.readthedocs.io/"},
description='Unofficial Python3 client library for the Cozify API.',
long_description=long_description,
license='MIT',
packages=['cozify'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
install_requires=['requests', 'absl-py'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6'
'Programming Language :: Python :: 3.7'
'Programming Language :: Python :: 3.8'
'Programming Language :: Python :: 3.9'
]) # yapf: disable
<commit_msg>Fix python version syntax errors, bump minimum to 3.6 [no ci]<commit_after> | from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
python_requires='>=3.6',
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus/python-cozify',
project_urls={"Documentation": "https://python-cozify.readthedocs.io/"},
description='Unofficial Python3 client library for the Cozify API.',
long_description=long_description,
license='MIT',
packages=['cozify'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
install_requires=['requests', 'absl-py'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
]) # yapf: disable
| from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
python_requires='>=3.5',
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus/python-cozify',
project_urls={"Documentation": "https://python-cozify.readthedocs.io/"},
description='Unofficial Python3 client library for the Cozify API.',
long_description=long_description,
license='MIT',
packages=['cozify'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
install_requires=['requests', 'absl-py'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6'
'Programming Language :: Python :: 3.7'
'Programming Language :: Python :: 3.8'
'Programming Language :: Python :: 3.9'
]) # yapf: disable
Fix python version syntax errors, bump minimum to 3.6 [no ci]from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
python_requires='>=3.6',
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus/python-cozify',
project_urls={"Documentation": "https://python-cozify.readthedocs.io/"},
description='Unofficial Python3 client library for the Cozify API.',
long_description=long_description,
license='MIT',
packages=['cozify'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
install_requires=['requests', 'absl-py'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
]) # yapf: disable
| <commit_before>from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
python_requires='>=3.5',
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus/python-cozify',
project_urls={"Documentation": "https://python-cozify.readthedocs.io/"},
description='Unofficial Python3 client library for the Cozify API.',
long_description=long_description,
license='MIT',
packages=['cozify'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
install_requires=['requests', 'absl-py'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6'
'Programming Language :: Python :: 3.7'
'Programming Language :: Python :: 3.8'
'Programming Language :: Python :: 3.9'
]) # yapf: disable
<commit_msg>Fix python version syntax errors, bump minimum to 3.6 [no ci]<commit_after>from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
python_requires='>=3.6',
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus/python-cozify',
project_urls={"Documentation": "https://python-cozify.readthedocs.io/"},
description='Unofficial Python3 client library for the Cozify API.',
long_description=long_description,
license='MIT',
packages=['cozify'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
install_requires=['requests', 'absl-py'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
]) # yapf: disable
|
10fc032aafb22801fbb73accc7930cb57636e10c | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.8',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
| # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.9',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
| Update the PyPI version to 0.2.9 | Update the PyPI version to 0.2.9
| Python | mit | Doist/todoist-python,electronick1/todoist-python | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.8',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
Update the PyPI version to 0.2.9 | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.9',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
| <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.8',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
<commit_msg>Update the PyPI version to 0.2.9<commit_after> | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.9',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
| # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.8',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
Update the PyPI version to 0.2.9# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.9',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
| <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.8',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
<commit_msg>Update the PyPI version to 0.2.9<commit_after># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.9',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
|
03dc8e57616984631cf48fa91cee9ae2292dc067 | setup.py | setup.py | # Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=[
'pbr>=1.8',
'requests!=2.8.0,>=2.5.2',
'requests-unixsocket>=0.1.5',
],
pbr=True)
| # Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=[
'pbr>=1.8',
'requests!=2.8.0,>=2.5.2',
# >= 0.1.5 needed for HTTP_PROXY support
'requests-unixsocket>=0.1.5',
],
pbr=True)
| Add explanatory note for the req-unixsockets version dependency | Add explanatory note for the req-unixsockets version dependency
| Python | apache-2.0 | lxc/pylxd,lxc/pylxd | # Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=[
'pbr>=1.8',
'requests!=2.8.0,>=2.5.2',
'requests-unixsocket>=0.1.5',
],
pbr=True)
Add explanatory note for the req-unixsockets version dependency | # Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=[
'pbr>=1.8',
'requests!=2.8.0,>=2.5.2',
# >= 0.1.5 needed for HTTP_PROXY support
'requests-unixsocket>=0.1.5',
],
pbr=True)
| <commit_before># Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=[
'pbr>=1.8',
'requests!=2.8.0,>=2.5.2',
'requests-unixsocket>=0.1.5',
],
pbr=True)
<commit_msg>Add explanatory note for the req-unixsockets version dependency<commit_after> | # Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=[
'pbr>=1.8',
'requests!=2.8.0,>=2.5.2',
# >= 0.1.5 needed for HTTP_PROXY support
'requests-unixsocket>=0.1.5',
],
pbr=True)
| # Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=[
'pbr>=1.8',
'requests!=2.8.0,>=2.5.2',
'requests-unixsocket>=0.1.5',
],
pbr=True)
Add explanatory note for the req-unixsockets version dependency# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=[
'pbr>=1.8',
'requests!=2.8.0,>=2.5.2',
# >= 0.1.5 needed for HTTP_PROXY support
'requests-unixsocket>=0.1.5',
],
pbr=True)
| <commit_before># Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=[
'pbr>=1.8',
'requests!=2.8.0,>=2.5.2',
'requests-unixsocket>=0.1.5',
],
pbr=True)
<commit_msg>Add explanatory note for the req-unixsockets version dependency<commit_after># Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=[
'pbr>=1.8',
'requests!=2.8.0,>=2.5.2',
# >= 0.1.5 needed for HTTP_PROXY support
'requests-unixsocket>=0.1.5',
],
pbr=True)
|
cb59ed68e390d92b8ba2d6aaeece998bd389d64b | setup.py | setup.py | from setuptools import setup, find_packages
try:
from pyqt_distutils.build_ui import build_ui
cmdclass={'build_ui': build_ui}
except ImportError:
cmdclass={}
pass
setup(
name='gauges',
version='0.1',
description='PyQt5 + Autobahn/Twisted version of Gauges Crossbar demo',
url='http://github.com/estan/gauges',
author='Elvis Stansvik',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(),
install_requires=[
'autobahn',
'twisted',
'pyOpenSSL',
'service_identity',
'qt5reactor-fork',
],
entry_points={
'gui_scripts': [
'gauges-qt=gauges.gauges_qt:main'
],
},
cmdclass=cmdclass
)
| from setuptools import setup, find_packages
try:
from pyqt_distutils.build_ui import build_ui
cmdclass={'build_ui': build_ui}
except ImportError:
cmdclass={}
setup(
name='gauges',
version='0.1',
description='PyQt5 + Autobahn/Twisted version of Gauges Crossbar demo',
url='http://github.com/estan/gauges',
author='Elvis Stansvik',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(),
install_requires=[
'autobahn',
'twisted',
'pyOpenSSL',
'service_identity',
'qt5reactor-fork',
],
entry_points={
'gui_scripts': [
'gauges-qt=gauges.gauges_qt:main'
],
},
cmdclass=cmdclass
)
| Remove unneeded `pass` in except block. | Remove unneeded `pass` in except block.
| Python | mit | estan/gauges | from setuptools import setup, find_packages
try:
from pyqt_distutils.build_ui import build_ui
cmdclass={'build_ui': build_ui}
except ImportError:
cmdclass={}
pass
setup(
name='gauges',
version='0.1',
description='PyQt5 + Autobahn/Twisted version of Gauges Crossbar demo',
url='http://github.com/estan/gauges',
author='Elvis Stansvik',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(),
install_requires=[
'autobahn',
'twisted',
'pyOpenSSL',
'service_identity',
'qt5reactor-fork',
],
entry_points={
'gui_scripts': [
'gauges-qt=gauges.gauges_qt:main'
],
},
cmdclass=cmdclass
)
Remove unneeded `pass` in except block. | from setuptools import setup, find_packages
try:
from pyqt_distutils.build_ui import build_ui
cmdclass={'build_ui': build_ui}
except ImportError:
cmdclass={}
setup(
name='gauges',
version='0.1',
description='PyQt5 + Autobahn/Twisted version of Gauges Crossbar demo',
url='http://github.com/estan/gauges',
author='Elvis Stansvik',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(),
install_requires=[
'autobahn',
'twisted',
'pyOpenSSL',
'service_identity',
'qt5reactor-fork',
],
entry_points={
'gui_scripts': [
'gauges-qt=gauges.gauges_qt:main'
],
},
cmdclass=cmdclass
)
| <commit_before>from setuptools import setup, find_packages
try:
from pyqt_distutils.build_ui import build_ui
cmdclass={'build_ui': build_ui}
except ImportError:
cmdclass={}
pass
setup(
name='gauges',
version='0.1',
description='PyQt5 + Autobahn/Twisted version of Gauges Crossbar demo',
url='http://github.com/estan/gauges',
author='Elvis Stansvik',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(),
install_requires=[
'autobahn',
'twisted',
'pyOpenSSL',
'service_identity',
'qt5reactor-fork',
],
entry_points={
'gui_scripts': [
'gauges-qt=gauges.gauges_qt:main'
],
},
cmdclass=cmdclass
)
<commit_msg>Remove unneeded `pass` in except block.<commit_after> | from setuptools import setup, find_packages
try:
from pyqt_distutils.build_ui import build_ui
cmdclass={'build_ui': build_ui}
except ImportError:
cmdclass={}
setup(
name='gauges',
version='0.1',
description='PyQt5 + Autobahn/Twisted version of Gauges Crossbar demo',
url='http://github.com/estan/gauges',
author='Elvis Stansvik',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(),
install_requires=[
'autobahn',
'twisted',
'pyOpenSSL',
'service_identity',
'qt5reactor-fork',
],
entry_points={
'gui_scripts': [
'gauges-qt=gauges.gauges_qt:main'
],
},
cmdclass=cmdclass
)
| from setuptools import setup, find_packages
try:
from pyqt_distutils.build_ui import build_ui
cmdclass={'build_ui': build_ui}
except ImportError:
cmdclass={}
pass
setup(
name='gauges',
version='0.1',
description='PyQt5 + Autobahn/Twisted version of Gauges Crossbar demo',
url='http://github.com/estan/gauges',
author='Elvis Stansvik',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(),
install_requires=[
'autobahn',
'twisted',
'pyOpenSSL',
'service_identity',
'qt5reactor-fork',
],
entry_points={
'gui_scripts': [
'gauges-qt=gauges.gauges_qt:main'
],
},
cmdclass=cmdclass
)
Remove unneeded `pass` in except block.from setuptools import setup, find_packages
try:
from pyqt_distutils.build_ui import build_ui
cmdclass={'build_ui': build_ui}
except ImportError:
cmdclass={}
setup(
name='gauges',
version='0.1',
description='PyQt5 + Autobahn/Twisted version of Gauges Crossbar demo',
url='http://github.com/estan/gauges',
author='Elvis Stansvik',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(),
install_requires=[
'autobahn',
'twisted',
'pyOpenSSL',
'service_identity',
'qt5reactor-fork',
],
entry_points={
'gui_scripts': [
'gauges-qt=gauges.gauges_qt:main'
],
},
cmdclass=cmdclass
)
| <commit_before>from setuptools import setup, find_packages
try:
from pyqt_distutils.build_ui import build_ui
cmdclass={'build_ui': build_ui}
except ImportError:
cmdclass={}
pass
setup(
name='gauges',
version='0.1',
description='PyQt5 + Autobahn/Twisted version of Gauges Crossbar demo',
url='http://github.com/estan/gauges',
author='Elvis Stansvik',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(),
install_requires=[
'autobahn',
'twisted',
'pyOpenSSL',
'service_identity',
'qt5reactor-fork',
],
entry_points={
'gui_scripts': [
'gauges-qt=gauges.gauges_qt:main'
],
},
cmdclass=cmdclass
)
<commit_msg>Remove unneeded `pass` in except block.<commit_after>from setuptools import setup, find_packages
try:
from pyqt_distutils.build_ui import build_ui
cmdclass={'build_ui': build_ui}
except ImportError:
cmdclass={}
setup(
name='gauges',
version='0.1',
description='PyQt5 + Autobahn/Twisted version of Gauges Crossbar demo',
url='http://github.com/estan/gauges',
author='Elvis Stansvik',
license='License :: OSI Approved :: MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(),
install_requires=[
'autobahn',
'twisted',
'pyOpenSSL',
'service_identity',
'qt5reactor-fork',
],
entry_points={
'gui_scripts': [
'gauges-qt=gauges.gauges_qt:main'
],
},
cmdclass=cmdclass
)
|
6eff80bcf12357e943d705b8812822b1c0c0e409 | tests/sentry/metrics/test_datadog.py | tests/sentry/metrics/test_datadog.py | from __future__ import absolute_import
import socket
from mock import patch
from sentry.metrics.datadog import DatadogMetricsBackend
from sentry.testutils import TestCase
class DatadogMetricsBackendTest(TestCase):
def setUp(self):
self.backend = DatadogMetricsBackend(prefix='sentrytest.')
@patch('datadog.threadstats.base.ThreadStats.increment')
def test_incr(self, mock_incr):
self.backend.incr('foo', instance='bar')
mock_incr.assert_called_once_with(
'sentrytest.foo', 1,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
@patch('datadog.threadstats.base.ThreadStats.timing')
def test_timing(self, mock_timing):
self.backend.timing('foo', 30, instance='bar')
mock_timing.assert_called_once_with(
'sentrytest.foo', 30,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
| from __future__ import absolute_import
import socket
from mock import patch
from sentry.metrics.datadog import DatadogMetricsBackend
from sentry.testutils import TestCase
class DatadogMetricsBackendTest(TestCase):
def setUp(self):
self.backend = DatadogMetricsBackend(prefix='sentrytest.')
@patch('datadog.threadstats.base.ThreadStats.increment')
def test_incr(self, mock_incr):
self.backend.incr('foo', instance='bar')
mock_incr.assert_called_once_with(
'sentrytest.foo', 1,
tags=['instance:bar'],
host=socket.gethostname(),
)
@patch('datadog.threadstats.base.ThreadStats.timing')
def test_timing(self, mock_timing):
self.backend.timing('foo', 30, instance='bar')
mock_timing.assert_called_once_with(
'sentrytest.foo', 30,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
| Remove no longer valid test | Remove no longer valid test
| Python | bsd-3-clause | pauloschilling/sentry,pauloschilling/sentry,pauloschilling/sentry | from __future__ import absolute_import
import socket
from mock import patch
from sentry.metrics.datadog import DatadogMetricsBackend
from sentry.testutils import TestCase
class DatadogMetricsBackendTest(TestCase):
def setUp(self):
self.backend = DatadogMetricsBackend(prefix='sentrytest.')
@patch('datadog.threadstats.base.ThreadStats.increment')
def test_incr(self, mock_incr):
self.backend.incr('foo', instance='bar')
mock_incr.assert_called_once_with(
'sentrytest.foo', 1,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
@patch('datadog.threadstats.base.ThreadStats.timing')
def test_timing(self, mock_timing):
self.backend.timing('foo', 30, instance='bar')
mock_timing.assert_called_once_with(
'sentrytest.foo', 30,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
Remove no longer valid test | from __future__ import absolute_import
import socket
from mock import patch
from sentry.metrics.datadog import DatadogMetricsBackend
from sentry.testutils import TestCase
class DatadogMetricsBackendTest(TestCase):
def setUp(self):
self.backend = DatadogMetricsBackend(prefix='sentrytest.')
@patch('datadog.threadstats.base.ThreadStats.increment')
def test_incr(self, mock_incr):
self.backend.incr('foo', instance='bar')
mock_incr.assert_called_once_with(
'sentrytest.foo', 1,
tags=['instance:bar'],
host=socket.gethostname(),
)
@patch('datadog.threadstats.base.ThreadStats.timing')
def test_timing(self, mock_timing):
self.backend.timing('foo', 30, instance='bar')
mock_timing.assert_called_once_with(
'sentrytest.foo', 30,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
| <commit_before>from __future__ import absolute_import
import socket
from mock import patch
from sentry.metrics.datadog import DatadogMetricsBackend
from sentry.testutils import TestCase
class DatadogMetricsBackendTest(TestCase):
def setUp(self):
self.backend = DatadogMetricsBackend(prefix='sentrytest.')
@patch('datadog.threadstats.base.ThreadStats.increment')
def test_incr(self, mock_incr):
self.backend.incr('foo', instance='bar')
mock_incr.assert_called_once_with(
'sentrytest.foo', 1,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
@patch('datadog.threadstats.base.ThreadStats.timing')
def test_timing(self, mock_timing):
self.backend.timing('foo', 30, instance='bar')
mock_timing.assert_called_once_with(
'sentrytest.foo', 30,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
<commit_msg>Remove no longer valid test<commit_after> | from __future__ import absolute_import
import socket
from mock import patch
from sentry.metrics.datadog import DatadogMetricsBackend
from sentry.testutils import TestCase
class DatadogMetricsBackendTest(TestCase):
def setUp(self):
self.backend = DatadogMetricsBackend(prefix='sentrytest.')
@patch('datadog.threadstats.base.ThreadStats.increment')
def test_incr(self, mock_incr):
self.backend.incr('foo', instance='bar')
mock_incr.assert_called_once_with(
'sentrytest.foo', 1,
tags=['instance:bar'],
host=socket.gethostname(),
)
@patch('datadog.threadstats.base.ThreadStats.timing')
def test_timing(self, mock_timing):
self.backend.timing('foo', 30, instance='bar')
mock_timing.assert_called_once_with(
'sentrytest.foo', 30,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
| from __future__ import absolute_import
import socket
from mock import patch
from sentry.metrics.datadog import DatadogMetricsBackend
from sentry.testutils import TestCase
class DatadogMetricsBackendTest(TestCase):
def setUp(self):
self.backend = DatadogMetricsBackend(prefix='sentrytest.')
@patch('datadog.threadstats.base.ThreadStats.increment')
def test_incr(self, mock_incr):
self.backend.incr('foo', instance='bar')
mock_incr.assert_called_once_with(
'sentrytest.foo', 1,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
@patch('datadog.threadstats.base.ThreadStats.timing')
def test_timing(self, mock_timing):
self.backend.timing('foo', 30, instance='bar')
mock_timing.assert_called_once_with(
'sentrytest.foo', 30,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
Remove no longer valid testfrom __future__ import absolute_import
import socket
from mock import patch
from sentry.metrics.datadog import DatadogMetricsBackend
from sentry.testutils import TestCase
class DatadogMetricsBackendTest(TestCase):
def setUp(self):
self.backend = DatadogMetricsBackend(prefix='sentrytest.')
@patch('datadog.threadstats.base.ThreadStats.increment')
def test_incr(self, mock_incr):
self.backend.incr('foo', instance='bar')
mock_incr.assert_called_once_with(
'sentrytest.foo', 1,
tags=['instance:bar'],
host=socket.gethostname(),
)
@patch('datadog.threadstats.base.ThreadStats.timing')
def test_timing(self, mock_timing):
self.backend.timing('foo', 30, instance='bar')
mock_timing.assert_called_once_with(
'sentrytest.foo', 30,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
| <commit_before>from __future__ import absolute_import
import socket
from mock import patch
from sentry.metrics.datadog import DatadogMetricsBackend
from sentry.testutils import TestCase
class DatadogMetricsBackendTest(TestCase):
def setUp(self):
self.backend = DatadogMetricsBackend(prefix='sentrytest.')
@patch('datadog.threadstats.base.ThreadStats.increment')
def test_incr(self, mock_incr):
self.backend.incr('foo', instance='bar')
mock_incr.assert_called_once_with(
'sentrytest.foo', 1,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
@patch('datadog.threadstats.base.ThreadStats.timing')
def test_timing(self, mock_timing):
self.backend.timing('foo', 30, instance='bar')
mock_timing.assert_called_once_with(
'sentrytest.foo', 30,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
<commit_msg>Remove no longer valid test<commit_after>from __future__ import absolute_import
import socket
from mock import patch
from sentry.metrics.datadog import DatadogMetricsBackend
from sentry.testutils import TestCase
class DatadogMetricsBackendTest(TestCase):
def setUp(self):
self.backend = DatadogMetricsBackend(prefix='sentrytest.')
@patch('datadog.threadstats.base.ThreadStats.increment')
def test_incr(self, mock_incr):
self.backend.incr('foo', instance='bar')
mock_incr.assert_called_once_with(
'sentrytest.foo', 1,
tags=['instance:bar'],
host=socket.gethostname(),
)
@patch('datadog.threadstats.base.ThreadStats.timing')
def test_timing(self, mock_timing):
self.backend.timing('foo', 30, instance='bar')
mock_timing.assert_called_once_with(
'sentrytest.foo', 30,
sample_rate=1,
tags=['instance:bar'],
host=socket.gethostname(),
)
|
1a9c9b60d8e0b69b5d196ff8323befd6d9e330aa | make_mozilla/events/models.py | make_mozilla/events/models.py | from django.contrib.gis.db import models
from django.contrib.gis import geos
from datetime import datetime
class Venue(models.Model):
name = models.CharField(max_length=255)
street_address = models.TextField()
country = models.CharField(max_length=255)
location = models.PointField(blank=True)
objects = models.GeoManager()
def __init__(self, *args, **kwargs):
super(Venue, self).__init__(*args, **kwargs)
if self.location is None:
self.location = geos.Point(0, 0)
@property
def latitude(self):
return self.location.x
@latitude.setter
def latitude(self, value):
self.location.x = value
@property
def longitude(self):
return self.location.y
@longitude.setter
def longitude(self, value):
self.location.y = value
class Event(models.Model):
name = models.CharField(max_length=255)
event_url = models.CharField(max_length=255, blank = True)
venue = models.ForeignKey(Venue)
start = models.DateTimeField(null = True, blank = True)
end = models.DateTimeField(null = True, blank = True)
source_id = models.CharField(max_length=255)
organiser_email = models.CharField(max_length=255)
objects = models.GeoManager()
@classmethod
def upcoming(self):
return self.objects.filter(start__gte = datetime.now())
| from django.contrib.gis.db import models
from django.contrib.gis import geos
from datetime import datetime
class Venue(models.Model):
name = models.CharField(max_length=255)
street_address = models.TextField()
country = models.CharField(max_length=255)
location = models.PointField(blank=True)
objects = models.GeoManager()
def __init__(self, *args, **kwargs):
super(Venue, self).__init__(*args, **kwargs)
if self.location is None:
self.location = geos.Point(0, 0)
@property
def latitude(self):
return self.location.x
@latitude.setter
def latitude(self, value):
self.location.x = value
@property
def longitude(self):
return self.location.y
@longitude.setter
def longitude(self, value):
self.location.y = value
class Event(models.Model):
name = models.CharField(max_length = 255)
event_url = models.CharField(max_length = 255, blank = True)
venue = models.ForeignKey(Venue)
start = models.DateTimeField(null = True, blank = True)
end = models.DateTimeField(null = True, blank = True)
source_id = models.CharField(max_length = 255, blank = True)
organiser_email = models.CharField(max_length = 255)
objects = models.GeoManager()
@classmethod
def upcoming(self):
return self.objects.filter(start__gte = datetime.now())
| Allow blank source_id in event, tweak formatting of the code | Allow blank source_id in event, tweak formatting of the code
| Python | bsd-3-clause | mozilla/make.mozilla.org,mozilla/make.mozilla.org,mozilla/make.mozilla.org,mozilla/make.mozilla.org | from django.contrib.gis.db import models
from django.contrib.gis import geos
from datetime import datetime
class Venue(models.Model):
name = models.CharField(max_length=255)
street_address = models.TextField()
country = models.CharField(max_length=255)
location = models.PointField(blank=True)
objects = models.GeoManager()
def __init__(self, *args, **kwargs):
super(Venue, self).__init__(*args, **kwargs)
if self.location is None:
self.location = geos.Point(0, 0)
@property
def latitude(self):
return self.location.x
@latitude.setter
def latitude(self, value):
self.location.x = value
@property
def longitude(self):
return self.location.y
@longitude.setter
def longitude(self, value):
self.location.y = value
class Event(models.Model):
name = models.CharField(max_length=255)
event_url = models.CharField(max_length=255, blank = True)
venue = models.ForeignKey(Venue)
start = models.DateTimeField(null = True, blank = True)
end = models.DateTimeField(null = True, blank = True)
source_id = models.CharField(max_length=255)
organiser_email = models.CharField(max_length=255)
objects = models.GeoManager()
@classmethod
def upcoming(self):
return self.objects.filter(start__gte = datetime.now())
Allow blank source_id in event, tweak formatting of the code | from django.contrib.gis.db import models
from django.contrib.gis import geos
from datetime import datetime
class Venue(models.Model):
name = models.CharField(max_length=255)
street_address = models.TextField()
country = models.CharField(max_length=255)
location = models.PointField(blank=True)
objects = models.GeoManager()
def __init__(self, *args, **kwargs):
super(Venue, self).__init__(*args, **kwargs)
if self.location is None:
self.location = geos.Point(0, 0)
@property
def latitude(self):
return self.location.x
@latitude.setter
def latitude(self, value):
self.location.x = value
@property
def longitude(self):
return self.location.y
@longitude.setter
def longitude(self, value):
self.location.y = value
class Event(models.Model):
name = models.CharField(max_length = 255)
event_url = models.CharField(max_length = 255, blank = True)
venue = models.ForeignKey(Venue)
start = models.DateTimeField(null = True, blank = True)
end = models.DateTimeField(null = True, blank = True)
source_id = models.CharField(max_length = 255, blank = True)
organiser_email = models.CharField(max_length = 255)
objects = models.GeoManager()
@classmethod
def upcoming(self):
return self.objects.filter(start__gte = datetime.now())
| <commit_before>from django.contrib.gis.db import models
from django.contrib.gis import geos
from datetime import datetime
class Venue(models.Model):
name = models.CharField(max_length=255)
street_address = models.TextField()
country = models.CharField(max_length=255)
location = models.PointField(blank=True)
objects = models.GeoManager()
def __init__(self, *args, **kwargs):
super(Venue, self).__init__(*args, **kwargs)
if self.location is None:
self.location = geos.Point(0, 0)
@property
def latitude(self):
return self.location.x
@latitude.setter
def latitude(self, value):
self.location.x = value
@property
def longitude(self):
return self.location.y
@longitude.setter
def longitude(self, value):
self.location.y = value
class Event(models.Model):
name = models.CharField(max_length=255)
event_url = models.CharField(max_length=255, blank = True)
venue = models.ForeignKey(Venue)
start = models.DateTimeField(null = True, blank = True)
end = models.DateTimeField(null = True, blank = True)
source_id = models.CharField(max_length=255)
organiser_email = models.CharField(max_length=255)
objects = models.GeoManager()
@classmethod
def upcoming(self):
return self.objects.filter(start__gte = datetime.now())
<commit_msg>Allow blank source_id in event, tweak formatting of the code<commit_after> | from django.contrib.gis.db import models
from django.contrib.gis import geos
from datetime import datetime
class Venue(models.Model):
name = models.CharField(max_length=255)
street_address = models.TextField()
country = models.CharField(max_length=255)
location = models.PointField(blank=True)
objects = models.GeoManager()
def __init__(self, *args, **kwargs):
super(Venue, self).__init__(*args, **kwargs)
if self.location is None:
self.location = geos.Point(0, 0)
@property
def latitude(self):
return self.location.x
@latitude.setter
def latitude(self, value):
self.location.x = value
@property
def longitude(self):
return self.location.y
@longitude.setter
def longitude(self, value):
self.location.y = value
class Event(models.Model):
name = models.CharField(max_length = 255)
event_url = models.CharField(max_length = 255, blank = True)
venue = models.ForeignKey(Venue)
start = models.DateTimeField(null = True, blank = True)
end = models.DateTimeField(null = True, blank = True)
source_id = models.CharField(max_length = 255, blank = True)
organiser_email = models.CharField(max_length = 255)
objects = models.GeoManager()
@classmethod
def upcoming(self):
return self.objects.filter(start__gte = datetime.now())
| from django.contrib.gis.db import models
from django.contrib.gis import geos
from datetime import datetime
class Venue(models.Model):
name = models.CharField(max_length=255)
street_address = models.TextField()
country = models.CharField(max_length=255)
location = models.PointField(blank=True)
objects = models.GeoManager()
def __init__(self, *args, **kwargs):
super(Venue, self).__init__(*args, **kwargs)
if self.location is None:
self.location = geos.Point(0, 0)
@property
def latitude(self):
return self.location.x
@latitude.setter
def latitude(self, value):
self.location.x = value
@property
def longitude(self):
return self.location.y
@longitude.setter
def longitude(self, value):
self.location.y = value
class Event(models.Model):
name = models.CharField(max_length=255)
event_url = models.CharField(max_length=255, blank = True)
venue = models.ForeignKey(Venue)
start = models.DateTimeField(null = True, blank = True)
end = models.DateTimeField(null = True, blank = True)
source_id = models.CharField(max_length=255)
organiser_email = models.CharField(max_length=255)
objects = models.GeoManager()
@classmethod
def upcoming(self):
return self.objects.filter(start__gte = datetime.now())
Allow blank source_id in event, tweak formatting of the codefrom django.contrib.gis.db import models
from django.contrib.gis import geos
from datetime import datetime
class Venue(models.Model):
name = models.CharField(max_length=255)
street_address = models.TextField()
country = models.CharField(max_length=255)
location = models.PointField(blank=True)
objects = models.GeoManager()
def __init__(self, *args, **kwargs):
super(Venue, self).__init__(*args, **kwargs)
if self.location is None:
self.location = geos.Point(0, 0)
@property
def latitude(self):
return self.location.x
@latitude.setter
def latitude(self, value):
self.location.x = value
@property
def longitude(self):
return self.location.y
@longitude.setter
def longitude(self, value):
self.location.y = value
class Event(models.Model):
name = models.CharField(max_length = 255)
event_url = models.CharField(max_length = 255, blank = True)
venue = models.ForeignKey(Venue)
start = models.DateTimeField(null = True, blank = True)
end = models.DateTimeField(null = True, blank = True)
source_id = models.CharField(max_length = 255, blank = True)
organiser_email = models.CharField(max_length = 255)
objects = models.GeoManager()
@classmethod
def upcoming(self):
return self.objects.filter(start__gte = datetime.now())
| <commit_before>from django.contrib.gis.db import models
from django.contrib.gis import geos
from datetime import datetime
class Venue(models.Model):
name = models.CharField(max_length=255)
street_address = models.TextField()
country = models.CharField(max_length=255)
location = models.PointField(blank=True)
objects = models.GeoManager()
def __init__(self, *args, **kwargs):
super(Venue, self).__init__(*args, **kwargs)
if self.location is None:
self.location = geos.Point(0, 0)
@property
def latitude(self):
return self.location.x
@latitude.setter
def latitude(self, value):
self.location.x = value
@property
def longitude(self):
return self.location.y
@longitude.setter
def longitude(self, value):
self.location.y = value
class Event(models.Model):
name = models.CharField(max_length=255)
event_url = models.CharField(max_length=255, blank = True)
venue = models.ForeignKey(Venue)
start = models.DateTimeField(null = True, blank = True)
end = models.DateTimeField(null = True, blank = True)
source_id = models.CharField(max_length=255)
organiser_email = models.CharField(max_length=255)
objects = models.GeoManager()
@classmethod
def upcoming(self):
return self.objects.filter(start__gte = datetime.now())
<commit_msg>Allow blank source_id in event, tweak formatting of the code<commit_after>from django.contrib.gis.db import models
from django.contrib.gis import geos
from datetime import datetime
class Venue(models.Model):
name = models.CharField(max_length=255)
street_address = models.TextField()
country = models.CharField(max_length=255)
location = models.PointField(blank=True)
objects = models.GeoManager()
def __init__(self, *args, **kwargs):
super(Venue, self).__init__(*args, **kwargs)
if self.location is None:
self.location = geos.Point(0, 0)
@property
def latitude(self):
return self.location.x
@latitude.setter
def latitude(self, value):
self.location.x = value
@property
def longitude(self):
return self.location.y
@longitude.setter
def longitude(self, value):
self.location.y = value
class Event(models.Model):
name = models.CharField(max_length = 255)
event_url = models.CharField(max_length = 255, blank = True)
venue = models.ForeignKey(Venue)
start = models.DateTimeField(null = True, blank = True)
end = models.DateTimeField(null = True, blank = True)
source_id = models.CharField(max_length = 255, blank = True)
organiser_email = models.CharField(max_length = 255)
objects = models.GeoManager()
@classmethod
def upcoming(self):
return self.objects.filter(start__gte = datetime.now())
|
5eb67411a44366ed90a6078f29f1977013c1a39c | awx/main/migrations/0017_v300_prompting_migrations.py | awx/main/migrations/0017_v300_prompting_migrations.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from awx.main.migrations import _ask_for_variables as ask_for_variables
from awx.main.migrations import _migration_utils as migration_utils
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0016_v300_prompting_changes'),
]
operations = [
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
migrations.RunPython(ask_for_variables.migrate_credential),
]
| # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from awx.main.migrations import _rbac as rbac
from awx.main.migrations import _ask_for_variables as ask_for_variables
from awx.main.migrations import _migration_utils as migration_utils
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0016_v300_prompting_changes'),
]
operations = [
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
migrations.RunPython(ask_for_variables.migrate_credential),
migrations.RunPython(rbac.rebuild_role_hierarchy),
]
| Rebuild role hierarchy after making changes in migrations | Rebuild role hierarchy after making changes in migrations
Signals don't fire in migrations, so gotta do this step manually
| Python | apache-2.0 | snahelou/awx,wwitzel3/awx,snahelou/awx,wwitzel3/awx,snahelou/awx,wwitzel3/awx,snahelou/awx,wwitzel3/awx | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from awx.main.migrations import _ask_for_variables as ask_for_variables
from awx.main.migrations import _migration_utils as migration_utils
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0016_v300_prompting_changes'),
]
operations = [
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
migrations.RunPython(ask_for_variables.migrate_credential),
]
Rebuild role hierarchy after making changes in migrations
Signals don't fire in migrations, so gotta do this step manually | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from awx.main.migrations import _rbac as rbac
from awx.main.migrations import _ask_for_variables as ask_for_variables
from awx.main.migrations import _migration_utils as migration_utils
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0016_v300_prompting_changes'),
]
operations = [
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
migrations.RunPython(ask_for_variables.migrate_credential),
migrations.RunPython(rbac.rebuild_role_hierarchy),
]
| <commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from awx.main.migrations import _ask_for_variables as ask_for_variables
from awx.main.migrations import _migration_utils as migration_utils
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0016_v300_prompting_changes'),
]
operations = [
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
migrations.RunPython(ask_for_variables.migrate_credential),
]
<commit_msg>Rebuild role hierarchy after making changes in migrations
Signals don't fire in migrations, so gotta do this step manually<commit_after> | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from awx.main.migrations import _rbac as rbac
from awx.main.migrations import _ask_for_variables as ask_for_variables
from awx.main.migrations import _migration_utils as migration_utils
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0016_v300_prompting_changes'),
]
operations = [
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
migrations.RunPython(ask_for_variables.migrate_credential),
migrations.RunPython(rbac.rebuild_role_hierarchy),
]
| # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from awx.main.migrations import _ask_for_variables as ask_for_variables
from awx.main.migrations import _migration_utils as migration_utils
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0016_v300_prompting_changes'),
]
operations = [
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
migrations.RunPython(ask_for_variables.migrate_credential),
]
Rebuild role hierarchy after making changes in migrations
Signals don't fire in migrations, so gotta do this step manually# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from awx.main.migrations import _rbac as rbac
from awx.main.migrations import _ask_for_variables as ask_for_variables
from awx.main.migrations import _migration_utils as migration_utils
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0016_v300_prompting_changes'),
]
operations = [
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
migrations.RunPython(ask_for_variables.migrate_credential),
migrations.RunPython(rbac.rebuild_role_hierarchy),
]
| <commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from awx.main.migrations import _ask_for_variables as ask_for_variables
from awx.main.migrations import _migration_utils as migration_utils
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0016_v300_prompting_changes'),
]
operations = [
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
migrations.RunPython(ask_for_variables.migrate_credential),
]
<commit_msg>Rebuild role hierarchy after making changes in migrations
Signals don't fire in migrations, so gotta do this step manually<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from awx.main.migrations import _rbac as rbac
from awx.main.migrations import _ask_for_variables as ask_for_variables
from awx.main.migrations import _migration_utils as migration_utils
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0016_v300_prompting_changes'),
]
operations = [
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
migrations.RunPython(ask_for_variables.migrate_credential),
migrations.RunPython(rbac.rebuild_role_hierarchy),
]
|
bb90fe7c59435d1bef361b64d4083710ffadcf7f | common/apps.py | common/apps.py | from django.apps import AppConfig
from django.conf import settings
from common.helpers.db import db_is_initialized
class CommonConfig(AppConfig):
name = 'common'
def ready(self):
self.display_missing_environment_variables()
from common.helpers.tags import import_tags_from_csv
if db_is_initialized():
import_tags_from_csv()
def display_missing_environment_variables(self):
for key, value in settings.ENVIRONMENT_VARIABLE_WARNINGS.items():
if not hasattr(settings, key):
print(value['message'])
| from django.apps import AppConfig
from django.conf import settings
from common.helpers.db import db_is_initialized
class CommonConfig(AppConfig):
name = 'common'
def ready(self):
self.display_missing_environment_variables()
from common.helpers.tags import import_tags_from_csv
if db_is_initialized():
import_tags_from_csv()
def display_missing_environment_variables(self):
for key, value in settings.ENVIRONMENT_VARIABLE_WARNINGS.items():
if not hasattr(settings, key):
if value['error']:
raise EnvironmentError(value['message'])
else:
print(value['message'])
| Stop server startup when required environment variables are missing | Stop server startup when required environment variables are missing
| Python | mit | DemocracyLab/CivicTechExchange,DemocracyLab/CivicTechExchange,DemocracyLab/CivicTechExchange,DemocracyLab/CivicTechExchange | from django.apps import AppConfig
from django.conf import settings
from common.helpers.db import db_is_initialized
class CommonConfig(AppConfig):
name = 'common'
def ready(self):
self.display_missing_environment_variables()
from common.helpers.tags import import_tags_from_csv
if db_is_initialized():
import_tags_from_csv()
def display_missing_environment_variables(self):
for key, value in settings.ENVIRONMENT_VARIABLE_WARNINGS.items():
if not hasattr(settings, key):
print(value['message'])
Stop server startup when required environment variables are missing | from django.apps import AppConfig
from django.conf import settings
from common.helpers.db import db_is_initialized
class CommonConfig(AppConfig):
name = 'common'
def ready(self):
self.display_missing_environment_variables()
from common.helpers.tags import import_tags_from_csv
if db_is_initialized():
import_tags_from_csv()
def display_missing_environment_variables(self):
for key, value in settings.ENVIRONMENT_VARIABLE_WARNINGS.items():
if not hasattr(settings, key):
if value['error']:
raise EnvironmentError(value['message'])
else:
print(value['message'])
| <commit_before>from django.apps import AppConfig
from django.conf import settings
from common.helpers.db import db_is_initialized
class CommonConfig(AppConfig):
name = 'common'
def ready(self):
self.display_missing_environment_variables()
from common.helpers.tags import import_tags_from_csv
if db_is_initialized():
import_tags_from_csv()
def display_missing_environment_variables(self):
for key, value in settings.ENVIRONMENT_VARIABLE_WARNINGS.items():
if not hasattr(settings, key):
print(value['message'])
<commit_msg>Stop server startup when required environment variables are missing<commit_after> | from django.apps import AppConfig
from django.conf import settings
from common.helpers.db import db_is_initialized
class CommonConfig(AppConfig):
name = 'common'
def ready(self):
self.display_missing_environment_variables()
from common.helpers.tags import import_tags_from_csv
if db_is_initialized():
import_tags_from_csv()
def display_missing_environment_variables(self):
for key, value in settings.ENVIRONMENT_VARIABLE_WARNINGS.items():
if not hasattr(settings, key):
if value['error']:
raise EnvironmentError(value['message'])
else:
print(value['message'])
| from django.apps import AppConfig
from django.conf import settings
from common.helpers.db import db_is_initialized
class CommonConfig(AppConfig):
name = 'common'
def ready(self):
self.display_missing_environment_variables()
from common.helpers.tags import import_tags_from_csv
if db_is_initialized():
import_tags_from_csv()
def display_missing_environment_variables(self):
for key, value in settings.ENVIRONMENT_VARIABLE_WARNINGS.items():
if not hasattr(settings, key):
print(value['message'])
Stop server startup when required environment variables are missingfrom django.apps import AppConfig
from django.conf import settings
from common.helpers.db import db_is_initialized
class CommonConfig(AppConfig):
name = 'common'
def ready(self):
self.display_missing_environment_variables()
from common.helpers.tags import import_tags_from_csv
if db_is_initialized():
import_tags_from_csv()
def display_missing_environment_variables(self):
for key, value in settings.ENVIRONMENT_VARIABLE_WARNINGS.items():
if not hasattr(settings, key):
if value['error']:
raise EnvironmentError(value['message'])
else:
print(value['message'])
| <commit_before>from django.apps import AppConfig
from django.conf import settings
from common.helpers.db import db_is_initialized
class CommonConfig(AppConfig):
name = 'common'
def ready(self):
self.display_missing_environment_variables()
from common.helpers.tags import import_tags_from_csv
if db_is_initialized():
import_tags_from_csv()
def display_missing_environment_variables(self):
for key, value in settings.ENVIRONMENT_VARIABLE_WARNINGS.items():
if not hasattr(settings, key):
print(value['message'])
<commit_msg>Stop server startup when required environment variables are missing<commit_after>from django.apps import AppConfig
from django.conf import settings
from common.helpers.db import db_is_initialized
class CommonConfig(AppConfig):
name = 'common'
def ready(self):
self.display_missing_environment_variables()
from common.helpers.tags import import_tags_from_csv
if db_is_initialized():
import_tags_from_csv()
def display_missing_environment_variables(self):
for key, value in settings.ENVIRONMENT_VARIABLE_WARNINGS.items():
if not hasattr(settings, key):
if value['error']:
raise EnvironmentError(value['message'])
else:
print(value['message'])
|
8cadb30e1c1f4d8e6302a3960408823179a263c8 | account_invoice_partner/__openerp__.py | account_invoice_partner/__openerp__.py | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2012-2013 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
"name": "Automatically select invoicing partner on invoice",
"version": "0.2",
"author": "Therp BV",
"category": 'Accounting & Finance',
'website': 'https://github.com/OCA/account-invoicing',
'license': 'AGPL-3',
'depends': ['account'],
'installable': True,
}
| # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2012-2013 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
"name": "Automatically select invoicing partner on invoice",
"version": "0.2",
"author": "Therp BV,Odoo Community Association (OCA)",
"category": 'Accounting & Finance',
'website': 'https://github.com/OCA/account-invoicing',
'license': 'AGPL-3',
'depends': ['account'],
'installable': True,
}
| Add OCA as author of OCA addons | Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
| Python | agpl-3.0 | OCA/account-invoicing,OCA/account-invoicing | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2012-2013 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
"name": "Automatically select invoicing partner on invoice",
"version": "0.2",
"author": "Therp BV",
"category": 'Accounting & Finance',
'website': 'https://github.com/OCA/account-invoicing',
'license': 'AGPL-3',
'depends': ['account'],
'installable': True,
}
Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association. | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2012-2013 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
"name": "Automatically select invoicing partner on invoice",
"version": "0.2",
"author": "Therp BV,Odoo Community Association (OCA)",
"category": 'Accounting & Finance',
'website': 'https://github.com/OCA/account-invoicing',
'license': 'AGPL-3',
'depends': ['account'],
'installable': True,
}
| <commit_before># -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2012-2013 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
"name": "Automatically select invoicing partner on invoice",
"version": "0.2",
"author": "Therp BV",
"category": 'Accounting & Finance',
'website': 'https://github.com/OCA/account-invoicing',
'license': 'AGPL-3',
'depends': ['account'],
'installable': True,
}
<commit_msg>Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.<commit_after> | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2012-2013 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
"name": "Automatically select invoicing partner on invoice",
"version": "0.2",
"author": "Therp BV,Odoo Community Association (OCA)",
"category": 'Accounting & Finance',
'website': 'https://github.com/OCA/account-invoicing',
'license': 'AGPL-3',
'depends': ['account'],
'installable': True,
}
| # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2012-2013 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
"name": "Automatically select invoicing partner on invoice",
"version": "0.2",
"author": "Therp BV",
"category": 'Accounting & Finance',
'website': 'https://github.com/OCA/account-invoicing',
'license': 'AGPL-3',
'depends': ['account'],
'installable': True,
}
Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2012-2013 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
"name": "Automatically select invoicing partner on invoice",
"version": "0.2",
"author": "Therp BV,Odoo Community Association (OCA)",
"category": 'Accounting & Finance',
'website': 'https://github.com/OCA/account-invoicing',
'license': 'AGPL-3',
'depends': ['account'],
'installable': True,
}
| <commit_before># -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2012-2013 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
"name": "Automatically select invoicing partner on invoice",
"version": "0.2",
"author": "Therp BV",
"category": 'Accounting & Finance',
'website': 'https://github.com/OCA/account-invoicing',
'license': 'AGPL-3',
'depends': ['account'],
'installable': True,
}
<commit_msg>Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.<commit_after># -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2012-2013 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
"name": "Automatically select invoicing partner on invoice",
"version": "0.2",
"author": "Therp BV,Odoo Community Association (OCA)",
"category": 'Accounting & Finance',
'website': 'https://github.com/OCA/account-invoicing',
'license': 'AGPL-3',
'depends': ['account'],
'installable': True,
}
|
442b083e9d1618569aa96a653ed2c0e4dfc27e59 | saleor/search/forms.py | saleor/search/forms.py | from django import forms
from .backends import get_search_backend
class SearchForm(forms.Form):
q = forms.CharField(label='Query', required=True)
def search(self, model_or_queryset):
backend = get_search_backend('default')
query = self.cleaned_data['q']
results = backend.search(query, model_or_queryset=model_or_queryset)
return results
| from django import forms
from django.utils.translation import pgettext
from .backends import get_search_backend
class SearchForm(forms.Form):
q = forms.CharField(label=pgettext('Search form label', 'Query'), required=True)
def search(self, model_or_queryset):
backend = get_search_backend('default')
query = self.cleaned_data['q']
results = backend.search(query, model_or_queryset=model_or_queryset)
return results
| Add contextual marker for search app | Add contextual marker for search app
| Python | bsd-3-clause | jreigel/saleor,car3oon/saleor,KenMutemi/saleor,HyperManTT/ECommerceSaleor,itbabu/saleor,UITools/saleor,HyperManTT/ECommerceSaleor,UITools/saleor,maferelo/saleor,tfroehlich82/saleor,mociepka/saleor,mociepka/saleor,UITools/saleor,maferelo/saleor,UITools/saleor,tfroehlich82/saleor,UITools/saleor,jreigel/saleor,itbabu/saleor,car3oon/saleor,KenMutemi/saleor,jreigel/saleor,car3oon/saleor,HyperManTT/ECommerceSaleor,KenMutemi/saleor,tfroehlich82/saleor,itbabu/saleor,maferelo/saleor,mociepka/saleor | from django import forms
from .backends import get_search_backend
class SearchForm(forms.Form):
q = forms.CharField(label='Query', required=True)
def search(self, model_or_queryset):
backend = get_search_backend('default')
query = self.cleaned_data['q']
results = backend.search(query, model_or_queryset=model_or_queryset)
return results
Add contextual marker for search app | from django import forms
from django.utils.translation import pgettext
from .backends import get_search_backend
class SearchForm(forms.Form):
q = forms.CharField(label=pgettext('Search form label', 'Query'), required=True)
def search(self, model_or_queryset):
backend = get_search_backend('default')
query = self.cleaned_data['q']
results = backend.search(query, model_or_queryset=model_or_queryset)
return results
| <commit_before>from django import forms
from .backends import get_search_backend
class SearchForm(forms.Form):
q = forms.CharField(label='Query', required=True)
def search(self, model_or_queryset):
backend = get_search_backend('default')
query = self.cleaned_data['q']
results = backend.search(query, model_or_queryset=model_or_queryset)
return results
<commit_msg>Add contextual marker for search app<commit_after> | from django import forms
from django.utils.translation import pgettext
from .backends import get_search_backend
class SearchForm(forms.Form):
q = forms.CharField(label=pgettext('Search form label', 'Query'), required=True)
def search(self, model_or_queryset):
backend = get_search_backend('default')
query = self.cleaned_data['q']
results = backend.search(query, model_or_queryset=model_or_queryset)
return results
| from django import forms
from .backends import get_search_backend
class SearchForm(forms.Form):
q = forms.CharField(label='Query', required=True)
def search(self, model_or_queryset):
backend = get_search_backend('default')
query = self.cleaned_data['q']
results = backend.search(query, model_or_queryset=model_or_queryset)
return results
Add contextual marker for search appfrom django import forms
from django.utils.translation import pgettext
from .backends import get_search_backend
class SearchForm(forms.Form):
q = forms.CharField(label=pgettext('Search form label', 'Query'), required=True)
def search(self, model_or_queryset):
backend = get_search_backend('default')
query = self.cleaned_data['q']
results = backend.search(query, model_or_queryset=model_or_queryset)
return results
| <commit_before>from django import forms
from .backends import get_search_backend
class SearchForm(forms.Form):
q = forms.CharField(label='Query', required=True)
def search(self, model_or_queryset):
backend = get_search_backend('default')
query = self.cleaned_data['q']
results = backend.search(query, model_or_queryset=model_or_queryset)
return results
<commit_msg>Add contextual marker for search app<commit_after>from django import forms
from django.utils.translation import pgettext
from .backends import get_search_backend
class SearchForm(forms.Form):
q = forms.CharField(label=pgettext('Search form label', 'Query'), required=True)
def search(self, model_or_queryset):
backend = get_search_backend('default')
query = self.cleaned_data['q']
results = backend.search(query, model_or_queryset=model_or_queryset)
return results
|
6faf5a38083fd21fbf7ed80d785873c977b8de09 | setup.py | setup.py | # -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
]
install_requires = ['psycopg2']
if sys.version_info < (2, 7):
install_requires.append('unittest2')
setup(
name='testing.postgresql',
version='1.0.4',
description='automatically setups a postgresql instance in a temporary directory, and destroys it after testing',
long_description=open('README.rst').read(),
classifiers=classifiers,
keywords=[],
author='Takeshi Komiya',
author_email='i.tkomiya at gmail.com',
url='http://bitbucket.org/tk0miya/testing.postgresql',
license='Apache License 2.0',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=install_requires,
extras_require=dict(
testing=[
'nose',
],
),
test_suite='nose.collector',
)
| # -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
]
install_requires = ['psycopg2 >= 2.5']
if sys.version_info < (2, 7):
install_requires.append('unittest2')
setup(
name='testing.postgresql',
version='1.0.4',
description='automatically setups a postgresql instance in a temporary directory, and destroys it after testing',
long_description=open('README.rst').read(),
classifiers=classifiers,
keywords=[],
author='Takeshi Komiya',
author_email='i.tkomiya at gmail.com',
url='http://bitbucket.org/tk0miya/testing.postgresql',
license='Apache License 2.0',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=install_requires,
extras_require=dict(
testing=[
'nose',
],
),
test_suite='nose.collector',
)
| Update install_requires: pycopg2 >= 2.5 | Update install_requires: pycopg2 >= 2.5
| Python | apache-2.0 | lpsinger/testing.postgresql,tk0miya/testing.postgresql | # -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
]
install_requires = ['psycopg2']
if sys.version_info < (2, 7):
install_requires.append('unittest2')
setup(
name='testing.postgresql',
version='1.0.4',
description='automatically setups a postgresql instance in a temporary directory, and destroys it after testing',
long_description=open('README.rst').read(),
classifiers=classifiers,
keywords=[],
author='Takeshi Komiya',
author_email='i.tkomiya at gmail.com',
url='http://bitbucket.org/tk0miya/testing.postgresql',
license='Apache License 2.0',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=install_requires,
extras_require=dict(
testing=[
'nose',
],
),
test_suite='nose.collector',
)
Update install_requires: pycopg2 >= 2.5 | # -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
]
install_requires = ['psycopg2 >= 2.5']
if sys.version_info < (2, 7):
install_requires.append('unittest2')
setup(
name='testing.postgresql',
version='1.0.4',
description='automatically setups a postgresql instance in a temporary directory, and destroys it after testing',
long_description=open('README.rst').read(),
classifiers=classifiers,
keywords=[],
author='Takeshi Komiya',
author_email='i.tkomiya at gmail.com',
url='http://bitbucket.org/tk0miya/testing.postgresql',
license='Apache License 2.0',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=install_requires,
extras_require=dict(
testing=[
'nose',
],
),
test_suite='nose.collector',
)
| <commit_before># -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
]
install_requires = ['psycopg2']
if sys.version_info < (2, 7):
install_requires.append('unittest2')
setup(
name='testing.postgresql',
version='1.0.4',
description='automatically setups a postgresql instance in a temporary directory, and destroys it after testing',
long_description=open('README.rst').read(),
classifiers=classifiers,
keywords=[],
author='Takeshi Komiya',
author_email='i.tkomiya at gmail.com',
url='http://bitbucket.org/tk0miya/testing.postgresql',
license='Apache License 2.0',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=install_requires,
extras_require=dict(
testing=[
'nose',
],
),
test_suite='nose.collector',
)
<commit_msg>Update install_requires: pycopg2 >= 2.5<commit_after> | # -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
]
install_requires = ['psycopg2 >= 2.5']
if sys.version_info < (2, 7):
install_requires.append('unittest2')
setup(
name='testing.postgresql',
version='1.0.4',
description='automatically setups a postgresql instance in a temporary directory, and destroys it after testing',
long_description=open('README.rst').read(),
classifiers=classifiers,
keywords=[],
author='Takeshi Komiya',
author_email='i.tkomiya at gmail.com',
url='http://bitbucket.org/tk0miya/testing.postgresql',
license='Apache License 2.0',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=install_requires,
extras_require=dict(
testing=[
'nose',
],
),
test_suite='nose.collector',
)
| # -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
]
install_requires = ['psycopg2']
if sys.version_info < (2, 7):
install_requires.append('unittest2')
setup(
name='testing.postgresql',
version='1.0.4',
description='automatically setups a postgresql instance in a temporary directory, and destroys it after testing',
long_description=open('README.rst').read(),
classifiers=classifiers,
keywords=[],
author='Takeshi Komiya',
author_email='i.tkomiya at gmail.com',
url='http://bitbucket.org/tk0miya/testing.postgresql',
license='Apache License 2.0',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=install_requires,
extras_require=dict(
testing=[
'nose',
],
),
test_suite='nose.collector',
)
Update install_requires: pycopg2 >= 2.5# -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
]
install_requires = ['psycopg2 >= 2.5']
if sys.version_info < (2, 7):
install_requires.append('unittest2')
setup(
name='testing.postgresql',
version='1.0.4',
description='automatically setups a postgresql instance in a temporary directory, and destroys it after testing',
long_description=open('README.rst').read(),
classifiers=classifiers,
keywords=[],
author='Takeshi Komiya',
author_email='i.tkomiya at gmail.com',
url='http://bitbucket.org/tk0miya/testing.postgresql',
license='Apache License 2.0',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=install_requires,
extras_require=dict(
testing=[
'nose',
],
),
test_suite='nose.collector',
)
| <commit_before># -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
]
install_requires = ['psycopg2']
if sys.version_info < (2, 7):
install_requires.append('unittest2')
setup(
name='testing.postgresql',
version='1.0.4',
description='automatically setups a postgresql instance in a temporary directory, and destroys it after testing',
long_description=open('README.rst').read(),
classifiers=classifiers,
keywords=[],
author='Takeshi Komiya',
author_email='i.tkomiya at gmail.com',
url='http://bitbucket.org/tk0miya/testing.postgresql',
license='Apache License 2.0',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=install_requires,
extras_require=dict(
testing=[
'nose',
],
),
test_suite='nose.collector',
)
<commit_msg>Update install_requires: pycopg2 >= 2.5<commit_after># -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
]
install_requires = ['psycopg2 >= 2.5']
if sys.version_info < (2, 7):
install_requires.append('unittest2')
setup(
name='testing.postgresql',
version='1.0.4',
description='automatically setups a postgresql instance in a temporary directory, and destroys it after testing',
long_description=open('README.rst').read(),
classifiers=classifiers,
keywords=[],
author='Takeshi Komiya',
author_email='i.tkomiya at gmail.com',
url='http://bitbucket.org/tk0miya/testing.postgresql',
license='Apache License 2.0',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=install_requires,
extras_require=dict(
testing=[
'nose',
],
),
test_suite='nose.collector',
)
|
e9cd60485ebfbe0afee60a70aea318e3e820f948 | setup.py | setup.py | #!/usr/bin/env python3
import os
from setuptools import setup, find_packages
def get_readme():
return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
author="Julio Gonzalez Altamirano",
author_email='devjga@gmail.com',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
],
description="ETL for CapMetro raw data.",
entry_points={
'console_scripts': [
'capmetrics=capmetrics_etl.cli:run',
],
},
install_requires=['click', 'pytz', 'sqlalchemy', 'xlrd'],
keywords="python etl transit",
license="MIT",
long_description=get_readme(),
name='capmetrics-etl',
package_data={
'capmetrics_etl': ['templates/*.html'],
},
packages=find_packages(include=['capmetrics_etl', 'capmetrics_etl.*'],
exclude=['tests', 'tests.*']),
platforms=['any'],
url='https://github.com/jga/capmetrics-etl',
version='0.1.0'
) | #!/usr/bin/env python3
import os
from setuptools import setup, find_packages
def get_readme():
return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
author="Julio Gonzalez Altamirano",
author_email='devjga@gmail.com',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
],
description="ETL for CapMetro raw data.",
entry_points={
'console_scripts': [
'capmetrics=capmetrics_etl.cli:run',
'capmetrics-tables=capmetrics_etl.cli.tables'
],
},
install_requires=['click', 'pytz', 'sqlalchemy', 'xlrd'],
keywords="python etl transit",
license="MIT",
long_description=get_readme(),
name='capmetrics-etl',
package_data={
'capmetrics_etl': ['templates/*.html'],
},
packages=find_packages(include=['capmetrics_etl', 'capmetrics_etl.*'],
exclude=['tests', 'tests.*']),
platforms=['any'],
url='https://github.com/jga/capmetrics-etl',
version='0.1.0'
) | Add table generation console script. | Add table generation console script.
| Python | mit | jga/capmetrics-etl,jga/capmetrics-etl | #!/usr/bin/env python3
import os
from setuptools import setup, find_packages
def get_readme():
return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
author="Julio Gonzalez Altamirano",
author_email='devjga@gmail.com',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
],
description="ETL for CapMetro raw data.",
entry_points={
'console_scripts': [
'capmetrics=capmetrics_etl.cli:run',
],
},
install_requires=['click', 'pytz', 'sqlalchemy', 'xlrd'],
keywords="python etl transit",
license="MIT",
long_description=get_readme(),
name='capmetrics-etl',
package_data={
'capmetrics_etl': ['templates/*.html'],
},
packages=find_packages(include=['capmetrics_etl', 'capmetrics_etl.*'],
exclude=['tests', 'tests.*']),
platforms=['any'],
url='https://github.com/jga/capmetrics-etl',
version='0.1.0'
)Add table generation console script. | #!/usr/bin/env python3
import os
from setuptools import setup, find_packages
def get_readme():
return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
author="Julio Gonzalez Altamirano",
author_email='devjga@gmail.com',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
],
description="ETL for CapMetro raw data.",
entry_points={
'console_scripts': [
'capmetrics=capmetrics_etl.cli:run',
'capmetrics-tables=capmetrics_etl.cli.tables'
],
},
install_requires=['click', 'pytz', 'sqlalchemy', 'xlrd'],
keywords="python etl transit",
license="MIT",
long_description=get_readme(),
name='capmetrics-etl',
package_data={
'capmetrics_etl': ['templates/*.html'],
},
packages=find_packages(include=['capmetrics_etl', 'capmetrics_etl.*'],
exclude=['tests', 'tests.*']),
platforms=['any'],
url='https://github.com/jga/capmetrics-etl',
version='0.1.0'
) | <commit_before>#!/usr/bin/env python3
import os
from setuptools import setup, find_packages
def get_readme():
return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
author="Julio Gonzalez Altamirano",
author_email='devjga@gmail.com',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
],
description="ETL for CapMetro raw data.",
entry_points={
'console_scripts': [
'capmetrics=capmetrics_etl.cli:run',
],
},
install_requires=['click', 'pytz', 'sqlalchemy', 'xlrd'],
keywords="python etl transit",
license="MIT",
long_description=get_readme(),
name='capmetrics-etl',
package_data={
'capmetrics_etl': ['templates/*.html'],
},
packages=find_packages(include=['capmetrics_etl', 'capmetrics_etl.*'],
exclude=['tests', 'tests.*']),
platforms=['any'],
url='https://github.com/jga/capmetrics-etl',
version='0.1.0'
)<commit_msg>Add table generation console script.<commit_after> | #!/usr/bin/env python3
import os
from setuptools import setup, find_packages
def get_readme():
return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
author="Julio Gonzalez Altamirano",
author_email='devjga@gmail.com',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
],
description="ETL for CapMetro raw data.",
entry_points={
'console_scripts': [
'capmetrics=capmetrics_etl.cli:run',
'capmetrics-tables=capmetrics_etl.cli.tables'
],
},
install_requires=['click', 'pytz', 'sqlalchemy', 'xlrd'],
keywords="python etl transit",
license="MIT",
long_description=get_readme(),
name='capmetrics-etl',
package_data={
'capmetrics_etl': ['templates/*.html'],
},
packages=find_packages(include=['capmetrics_etl', 'capmetrics_etl.*'],
exclude=['tests', 'tests.*']),
platforms=['any'],
url='https://github.com/jga/capmetrics-etl',
version='0.1.0'
) | #!/usr/bin/env python3
import os
from setuptools import setup, find_packages
def get_readme():
return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
author="Julio Gonzalez Altamirano",
author_email='devjga@gmail.com',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
],
description="ETL for CapMetro raw data.",
entry_points={
'console_scripts': [
'capmetrics=capmetrics_etl.cli:run',
],
},
install_requires=['click', 'pytz', 'sqlalchemy', 'xlrd'],
keywords="python etl transit",
license="MIT",
long_description=get_readme(),
name='capmetrics-etl',
package_data={
'capmetrics_etl': ['templates/*.html'],
},
packages=find_packages(include=['capmetrics_etl', 'capmetrics_etl.*'],
exclude=['tests', 'tests.*']),
platforms=['any'],
url='https://github.com/jga/capmetrics-etl',
version='0.1.0'
)Add table generation console script.#!/usr/bin/env python3
import os
from setuptools import setup, find_packages
def get_readme():
return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
author="Julio Gonzalez Altamirano",
author_email='devjga@gmail.com',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
],
description="ETL for CapMetro raw data.",
entry_points={
'console_scripts': [
'capmetrics=capmetrics_etl.cli:run',
'capmetrics-tables=capmetrics_etl.cli.tables'
],
},
install_requires=['click', 'pytz', 'sqlalchemy', 'xlrd'],
keywords="python etl transit",
license="MIT",
long_description=get_readme(),
name='capmetrics-etl',
package_data={
'capmetrics_etl': ['templates/*.html'],
},
packages=find_packages(include=['capmetrics_etl', 'capmetrics_etl.*'],
exclude=['tests', 'tests.*']),
platforms=['any'],
url='https://github.com/jga/capmetrics-etl',
version='0.1.0'
) | <commit_before>#!/usr/bin/env python3
import os
from setuptools import setup, find_packages
def get_readme():
return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
author="Julio Gonzalez Altamirano",
author_email='devjga@gmail.com',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
],
description="ETL for CapMetro raw data.",
entry_points={
'console_scripts': [
'capmetrics=capmetrics_etl.cli:run',
],
},
install_requires=['click', 'pytz', 'sqlalchemy', 'xlrd'],
keywords="python etl transit",
license="MIT",
long_description=get_readme(),
name='capmetrics-etl',
package_data={
'capmetrics_etl': ['templates/*.html'],
},
packages=find_packages(include=['capmetrics_etl', 'capmetrics_etl.*'],
exclude=['tests', 'tests.*']),
platforms=['any'],
url='https://github.com/jga/capmetrics-etl',
version='0.1.0'
)<commit_msg>Add table generation console script.<commit_after>#!/usr/bin/env python3
import os
from setuptools import setup, find_packages
def get_readme():
return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
author="Julio Gonzalez Altamirano",
author_email='devjga@gmail.com',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
],
description="ETL for CapMetro raw data.",
entry_points={
'console_scripts': [
'capmetrics=capmetrics_etl.cli:run',
'capmetrics-tables=capmetrics_etl.cli.tables'
],
},
install_requires=['click', 'pytz', 'sqlalchemy', 'xlrd'],
keywords="python etl transit",
license="MIT",
long_description=get_readme(),
name='capmetrics-etl',
package_data={
'capmetrics_etl': ['templates/*.html'],
},
packages=find_packages(include=['capmetrics_etl', 'capmetrics_etl.*'],
exclude=['tests', 'tests.*']),
platforms=['any'],
url='https://github.com/jga/capmetrics-etl',
version='0.1.0'
) |
52b481e77756530ae14de2e55a977dfac269f6b5 | model/hss/__init__.py | model/hss/__init__.py | # -*- coding: utf-8 -*-
from flask.ext.babel import gettext
from ..division import Division
from database_utils import init_db
from ldap_utils import init_ldap
from ipaddress import IPv4Network
import user
def init_context(app):
init_db(app)
init_ldap(app)
division = Division(
name='hss',
display_name=gettext(u"Hochschulstraße"),
user_class=user.User,
mail_server=u"wh12.tu-dresden.de",
subnets=[
IPv4Network(u'141.30.217.0/24'), # HSS 46
IPv4Network(u'141.30.234.0/25'), # HSS 46
IPv4Network(u'141.30.218.0/24'), # HSS 48
IPv4Network(u'141.30.215.128/25'), # HSS 48
IPv4Network(u'141.30.219.0/24'), # HSS 50
],
init_context=init_context
)
| # -*- coding: utf-8 -*-
from flask.ext.babel import gettext
from ..division import Division
from database_utils import init_db
from ldap_utils import init_ldap
from ipaddress import IPv4Network
import user
def init_context(app):
init_db(app)
init_ldap(app)
division = Division(
name='hss',
display_name=gettext(u"Hochschulstraße"),
user_class=user.User,
mail_server=u"wh12.tu-dresden.de",
subnets=[
IPv4Network(u'141.30.217.0/24'), # HSS 46
IPv4Network(u'141.30.234.0/25'), # HSS 46
IPv4Network(u'141.30.218.0/24'), # HSS 48
IPv4Network(u'141.30.215.128/25'), # HSS 48
IPv4Network(u'141.30.219.0/24'), # HSS 50
],
init_context=init_context,
debug_only=True
)
| Make data source module for hss division debug-only, until it is fixed | Make data source module for hss division debug-only, until it is fixed
| Python | mit | MarauderXtreme/sipa,fgrsnau/sipa,agdsn/sipa,lukasjuhrich/sipa,agdsn/sipa,agdsn/sipa,lukasjuhrich/sipa,MarauderXtreme/sipa,lukasjuhrich/sipa,agdsn/sipa,fgrsnau/sipa,MarauderXtreme/sipa,fgrsnau/sipa,lukasjuhrich/sipa | # -*- coding: utf-8 -*-
from flask.ext.babel import gettext
from ..division import Division
from database_utils import init_db
from ldap_utils import init_ldap
from ipaddress import IPv4Network
import user
def init_context(app):
init_db(app)
init_ldap(app)
division = Division(
name='hss',
display_name=gettext(u"Hochschulstraße"),
user_class=user.User,
mail_server=u"wh12.tu-dresden.de",
subnets=[
IPv4Network(u'141.30.217.0/24'), # HSS 46
IPv4Network(u'141.30.234.0/25'), # HSS 46
IPv4Network(u'141.30.218.0/24'), # HSS 48
IPv4Network(u'141.30.215.128/25'), # HSS 48
IPv4Network(u'141.30.219.0/24'), # HSS 50
],
init_context=init_context
)
Make data source module for hss division debug-only, until it is fixed | # -*- coding: utf-8 -*-
from flask.ext.babel import gettext
from ..division import Division
from database_utils import init_db
from ldap_utils import init_ldap
from ipaddress import IPv4Network
import user
def init_context(app):
init_db(app)
init_ldap(app)
division = Division(
name='hss',
display_name=gettext(u"Hochschulstraße"),
user_class=user.User,
mail_server=u"wh12.tu-dresden.de",
subnets=[
IPv4Network(u'141.30.217.0/24'), # HSS 46
IPv4Network(u'141.30.234.0/25'), # HSS 46
IPv4Network(u'141.30.218.0/24'), # HSS 48
IPv4Network(u'141.30.215.128/25'), # HSS 48
IPv4Network(u'141.30.219.0/24'), # HSS 50
],
init_context=init_context,
debug_only=True
)
| <commit_before># -*- coding: utf-8 -*-
from flask.ext.babel import gettext
from ..division import Division
from database_utils import init_db
from ldap_utils import init_ldap
from ipaddress import IPv4Network
import user
def init_context(app):
init_db(app)
init_ldap(app)
division = Division(
name='hss',
display_name=gettext(u"Hochschulstraße"),
user_class=user.User,
mail_server=u"wh12.tu-dresden.de",
subnets=[
IPv4Network(u'141.30.217.0/24'), # HSS 46
IPv4Network(u'141.30.234.0/25'), # HSS 46
IPv4Network(u'141.30.218.0/24'), # HSS 48
IPv4Network(u'141.30.215.128/25'), # HSS 48
IPv4Network(u'141.30.219.0/24'), # HSS 50
],
init_context=init_context
)
<commit_msg>Make data source module for hss division debug-only, until it is fixed<commit_after> | # -*- coding: utf-8 -*-
from flask.ext.babel import gettext
from ..division import Division
from database_utils import init_db
from ldap_utils import init_ldap
from ipaddress import IPv4Network
import user
def init_context(app):
init_db(app)
init_ldap(app)
division = Division(
name='hss',
display_name=gettext(u"Hochschulstraße"),
user_class=user.User,
mail_server=u"wh12.tu-dresden.de",
subnets=[
IPv4Network(u'141.30.217.0/24'), # HSS 46
IPv4Network(u'141.30.234.0/25'), # HSS 46
IPv4Network(u'141.30.218.0/24'), # HSS 48
IPv4Network(u'141.30.215.128/25'), # HSS 48
IPv4Network(u'141.30.219.0/24'), # HSS 50
],
init_context=init_context,
debug_only=True
)
| # -*- coding: utf-8 -*-
from flask.ext.babel import gettext
from ..division import Division
from database_utils import init_db
from ldap_utils import init_ldap
from ipaddress import IPv4Network
import user
def init_context(app):
init_db(app)
init_ldap(app)
division = Division(
name='hss',
display_name=gettext(u"Hochschulstraße"),
user_class=user.User,
mail_server=u"wh12.tu-dresden.de",
subnets=[
IPv4Network(u'141.30.217.0/24'), # HSS 46
IPv4Network(u'141.30.234.0/25'), # HSS 46
IPv4Network(u'141.30.218.0/24'), # HSS 48
IPv4Network(u'141.30.215.128/25'), # HSS 48
IPv4Network(u'141.30.219.0/24'), # HSS 50
],
init_context=init_context
)
Make data source module for hss division debug-only, until it is fixed# -*- coding: utf-8 -*-
from flask.ext.babel import gettext
from ..division import Division
from database_utils import init_db
from ldap_utils import init_ldap
from ipaddress import IPv4Network
import user
def init_context(app):
init_db(app)
init_ldap(app)
division = Division(
name='hss',
display_name=gettext(u"Hochschulstraße"),
user_class=user.User,
mail_server=u"wh12.tu-dresden.de",
subnets=[
IPv4Network(u'141.30.217.0/24'), # HSS 46
IPv4Network(u'141.30.234.0/25'), # HSS 46
IPv4Network(u'141.30.218.0/24'), # HSS 48
IPv4Network(u'141.30.215.128/25'), # HSS 48
IPv4Network(u'141.30.219.0/24'), # HSS 50
],
init_context=init_context,
debug_only=True
)
| <commit_before># -*- coding: utf-8 -*-
from flask.ext.babel import gettext
from ..division import Division
from database_utils import init_db
from ldap_utils import init_ldap
from ipaddress import IPv4Network
import user
def init_context(app):
init_db(app)
init_ldap(app)
division = Division(
name='hss',
display_name=gettext(u"Hochschulstraße"),
user_class=user.User,
mail_server=u"wh12.tu-dresden.de",
subnets=[
IPv4Network(u'141.30.217.0/24'), # HSS 46
IPv4Network(u'141.30.234.0/25'), # HSS 46
IPv4Network(u'141.30.218.0/24'), # HSS 48
IPv4Network(u'141.30.215.128/25'), # HSS 48
IPv4Network(u'141.30.219.0/24'), # HSS 50
],
init_context=init_context
)
<commit_msg>Make data source module for hss division debug-only, until it is fixed<commit_after># -*- coding: utf-8 -*-
from flask.ext.babel import gettext
from ..division import Division
from database_utils import init_db
from ldap_utils import init_ldap
from ipaddress import IPv4Network
import user
def init_context(app):
init_db(app)
init_ldap(app)
division = Division(
name='hss',
display_name=gettext(u"Hochschulstraße"),
user_class=user.User,
mail_server=u"wh12.tu-dresden.de",
subnets=[
IPv4Network(u'141.30.217.0/24'), # HSS 46
IPv4Network(u'141.30.234.0/25'), # HSS 46
IPv4Network(u'141.30.218.0/24'), # HSS 48
IPv4Network(u'141.30.215.128/25'), # HSS 48
IPv4Network(u'141.30.219.0/24'), # HSS 50
],
init_context=init_context,
debug_only=True
)
|
61b5bc8a7e81225a83d195e016bc4adbd7ca1db5 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='pymediainfo',
version='2.1.5',
author='Louis Sautier',
author_email='sautier.louis@gmail.com',
url='https://github.com/sbraz/pymediainfo',
description="""A Python wrapper for the mediainfo library.""",
packages=find_packages(),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
license='MIT',
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: MIT License",
]
)
| from setuptools import setup, find_packages
setup(
name='pymediainfo',
version='2.1.5',
author='Louis Sautier',
author_email='sautier.louis@gmail.com',
url='https://github.com/sbraz/pymediainfo',
description="""A Python wrapper for the mediainfo library.""",
packages=find_packages(),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
license='MIT',
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: MIT License",
]
)
| Add Python 2.6 to classifiers | Add Python 2.6 to classifiers
| Python | mit | paltman/pymediainfo,paltman-archive/pymediainfo | from setuptools import setup, find_packages
setup(
name='pymediainfo',
version='2.1.5',
author='Louis Sautier',
author_email='sautier.louis@gmail.com',
url='https://github.com/sbraz/pymediainfo',
description="""A Python wrapper for the mediainfo library.""",
packages=find_packages(),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
license='MIT',
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: MIT License",
]
)
Add Python 2.6 to classifiers | from setuptools import setup, find_packages
setup(
name='pymediainfo',
version='2.1.5',
author='Louis Sautier',
author_email='sautier.louis@gmail.com',
url='https://github.com/sbraz/pymediainfo',
description="""A Python wrapper for the mediainfo library.""",
packages=find_packages(),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
license='MIT',
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: MIT License",
]
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='pymediainfo',
version='2.1.5',
author='Louis Sautier',
author_email='sautier.louis@gmail.com',
url='https://github.com/sbraz/pymediainfo',
description="""A Python wrapper for the mediainfo library.""",
packages=find_packages(),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
license='MIT',
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: MIT License",
]
)
<commit_msg>Add Python 2.6 to classifiers<commit_after> | from setuptools import setup, find_packages
setup(
name='pymediainfo',
version='2.1.5',
author='Louis Sautier',
author_email='sautier.louis@gmail.com',
url='https://github.com/sbraz/pymediainfo',
description="""A Python wrapper for the mediainfo library.""",
packages=find_packages(),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
license='MIT',
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: MIT License",
]
)
| from setuptools import setup, find_packages
setup(
name='pymediainfo',
version='2.1.5',
author='Louis Sautier',
author_email='sautier.louis@gmail.com',
url='https://github.com/sbraz/pymediainfo',
description="""A Python wrapper for the mediainfo library.""",
packages=find_packages(),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
license='MIT',
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: MIT License",
]
)
Add Python 2.6 to classifiersfrom setuptools import setup, find_packages
setup(
name='pymediainfo',
version='2.1.5',
author='Louis Sautier',
author_email='sautier.louis@gmail.com',
url='https://github.com/sbraz/pymediainfo',
description="""A Python wrapper for the mediainfo library.""",
packages=find_packages(),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
license='MIT',
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: MIT License",
]
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='pymediainfo',
version='2.1.5',
author='Louis Sautier',
author_email='sautier.louis@gmail.com',
url='https://github.com/sbraz/pymediainfo',
description="""A Python wrapper for the mediainfo library.""",
packages=find_packages(),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
license='MIT',
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: MIT License",
]
)
<commit_msg>Add Python 2.6 to classifiers<commit_after>from setuptools import setup, find_packages
setup(
name='pymediainfo',
version='2.1.5',
author='Louis Sautier',
author_email='sautier.louis@gmail.com',
url='https://github.com/sbraz/pymediainfo',
description="""A Python wrapper for the mediainfo library.""",
packages=find_packages(),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
license='MIT',
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: MIT License",
]
)
|
1c9feb7b2d9a4ac1a1d3bef42139ec5a7f26b95e | jsonrpcclient/__init__.py | jsonrpcclient/__init__.py | """__init__.py"""
import logging
logger = logging.getLogger('jsonrpcclient')
logger.addHandler(logging.StreamHandler())
from jsonrpcclient.server import Server
| """__init__.py"""
import logging
logger = logging.getLogger('jsonrpcclient')
logger.addHandler(logging.StreamHandler())
logger.setLevel(logging.WARNING)
from jsonrpcclient.server import Server
| Set the loglevel again, seems like in certain situations, the default log level is 0 | Set the loglevel again, seems like in certain situations, the default log level is 0
| Python | mit | bcb/jsonrpcclient | """__init__.py"""
import logging
logger = logging.getLogger('jsonrpcclient')
logger.addHandler(logging.StreamHandler())
from jsonrpcclient.server import Server
Set the loglevel again, seems like in certain situations, the default log level is 0 | """__init__.py"""
import logging
logger = logging.getLogger('jsonrpcclient')
logger.addHandler(logging.StreamHandler())
logger.setLevel(logging.WARNING)
from jsonrpcclient.server import Server
| <commit_before>"""__init__.py"""
import logging
logger = logging.getLogger('jsonrpcclient')
logger.addHandler(logging.StreamHandler())
from jsonrpcclient.server import Server
<commit_msg>Set the loglevel again, seems like in certain situations, the default log level is 0<commit_after> | """__init__.py"""
import logging
logger = logging.getLogger('jsonrpcclient')
logger.addHandler(logging.StreamHandler())
logger.setLevel(logging.WARNING)
from jsonrpcclient.server import Server
| """__init__.py"""
import logging
logger = logging.getLogger('jsonrpcclient')
logger.addHandler(logging.StreamHandler())
from jsonrpcclient.server import Server
Set the loglevel again, seems like in certain situations, the default log level is 0"""__init__.py"""
import logging
logger = logging.getLogger('jsonrpcclient')
logger.addHandler(logging.StreamHandler())
logger.setLevel(logging.WARNING)
from jsonrpcclient.server import Server
| <commit_before>"""__init__.py"""
import logging
logger = logging.getLogger('jsonrpcclient')
logger.addHandler(logging.StreamHandler())
from jsonrpcclient.server import Server
<commit_msg>Set the loglevel again, seems like in certain situations, the default log level is 0<commit_after>"""__init__.py"""
import logging
logger = logging.getLogger('jsonrpcclient')
logger.addHandler(logging.StreamHandler())
logger.setLevel(logging.WARNING)
from jsonrpcclient.server import Server
|
b20c1f0c5a71d46b80b405b6561869dfd52307c1 | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='botnet',
version='0.1.0',
author='boreq',
description = ('IRC bot.'),
long_description=read('README.md'),
url='https://github.com/boreq/botnet/',
license='BSD',
packages=find_packages(),
install_requires=[
'blinker>=1.4',
'Click>=2.0',
'requests>=2.12',
'protobuf>=3.0',
'requests-oauthlib>=0.7.0',
'beautifulsoup4>=4.6.0',
'markov==0.0.0',
],
entry_points='''
[console_scripts]
botnet=botnet.cli:cli
''',
dependency_links=[
"git+https://github.com/boreq/markov#egg=markov-0.0.0"
]
)
| import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='botnet',
version='0.1.0',
author='boreq',
description = ('IRC bot.'),
long_description=read('README.md'),
url='https://github.com/boreq/botnet/',
license='BSD',
packages=find_packages(),
install_requires=[
'blinker>=1.4',
'Click>=2.0',
'requests>=2.12',
'protobuf>=3.0',
'requests-oauthlib>=0.7.0',
'beautifulsoup4>=4.6.0',
'markov @ git+https://github.com/boreq/markov#egg=markov-0.0.0',
],
entry_points='''
[console_scripts]
botnet=botnet.cli:cli
'''
)
| Fix pip developers beliving that they know what is the best for everyone else | Fix pip developers beliving that they know what is the best for everyone else
| Python | mit | boreq/botnet | import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='botnet',
version='0.1.0',
author='boreq',
description = ('IRC bot.'),
long_description=read('README.md'),
url='https://github.com/boreq/botnet/',
license='BSD',
packages=find_packages(),
install_requires=[
'blinker>=1.4',
'Click>=2.0',
'requests>=2.12',
'protobuf>=3.0',
'requests-oauthlib>=0.7.0',
'beautifulsoup4>=4.6.0',
'markov==0.0.0',
],
entry_points='''
[console_scripts]
botnet=botnet.cli:cli
''',
dependency_links=[
"git+https://github.com/boreq/markov#egg=markov-0.0.0"
]
)
Fix pip developers beliving that they know what is the best for everyone else | import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='botnet',
version='0.1.0',
author='boreq',
description = ('IRC bot.'),
long_description=read('README.md'),
url='https://github.com/boreq/botnet/',
license='BSD',
packages=find_packages(),
install_requires=[
'blinker>=1.4',
'Click>=2.0',
'requests>=2.12',
'protobuf>=3.0',
'requests-oauthlib>=0.7.0',
'beautifulsoup4>=4.6.0',
'markov @ git+https://github.com/boreq/markov#egg=markov-0.0.0',
],
entry_points='''
[console_scripts]
botnet=botnet.cli:cli
'''
)
| <commit_before>import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='botnet',
version='0.1.0',
author='boreq',
description = ('IRC bot.'),
long_description=read('README.md'),
url='https://github.com/boreq/botnet/',
license='BSD',
packages=find_packages(),
install_requires=[
'blinker>=1.4',
'Click>=2.0',
'requests>=2.12',
'protobuf>=3.0',
'requests-oauthlib>=0.7.0',
'beautifulsoup4>=4.6.0',
'markov==0.0.0',
],
entry_points='''
[console_scripts]
botnet=botnet.cli:cli
''',
dependency_links=[
"git+https://github.com/boreq/markov#egg=markov-0.0.0"
]
)
<commit_msg>Fix pip developers beliving that they know what is the best for everyone else<commit_after> | import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='botnet',
version='0.1.0',
author='boreq',
description = ('IRC bot.'),
long_description=read('README.md'),
url='https://github.com/boreq/botnet/',
license='BSD',
packages=find_packages(),
install_requires=[
'blinker>=1.4',
'Click>=2.0',
'requests>=2.12',
'protobuf>=3.0',
'requests-oauthlib>=0.7.0',
'beautifulsoup4>=4.6.0',
'markov @ git+https://github.com/boreq/markov#egg=markov-0.0.0',
],
entry_points='''
[console_scripts]
botnet=botnet.cli:cli
'''
)
| import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='botnet',
version='0.1.0',
author='boreq',
description = ('IRC bot.'),
long_description=read('README.md'),
url='https://github.com/boreq/botnet/',
license='BSD',
packages=find_packages(),
install_requires=[
'blinker>=1.4',
'Click>=2.0',
'requests>=2.12',
'protobuf>=3.0',
'requests-oauthlib>=0.7.0',
'beautifulsoup4>=4.6.0',
'markov==0.0.0',
],
entry_points='''
[console_scripts]
botnet=botnet.cli:cli
''',
dependency_links=[
"git+https://github.com/boreq/markov#egg=markov-0.0.0"
]
)
Fix pip developers beliving that they know what is the best for everyone elseimport os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='botnet',
version='0.1.0',
author='boreq',
description = ('IRC bot.'),
long_description=read('README.md'),
url='https://github.com/boreq/botnet/',
license='BSD',
packages=find_packages(),
install_requires=[
'blinker>=1.4',
'Click>=2.0',
'requests>=2.12',
'protobuf>=3.0',
'requests-oauthlib>=0.7.0',
'beautifulsoup4>=4.6.0',
'markov @ git+https://github.com/boreq/markov#egg=markov-0.0.0',
],
entry_points='''
[console_scripts]
botnet=botnet.cli:cli
'''
)
| <commit_before>import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='botnet',
version='0.1.0',
author='boreq',
description = ('IRC bot.'),
long_description=read('README.md'),
url='https://github.com/boreq/botnet/',
license='BSD',
packages=find_packages(),
install_requires=[
'blinker>=1.4',
'Click>=2.0',
'requests>=2.12',
'protobuf>=3.0',
'requests-oauthlib>=0.7.0',
'beautifulsoup4>=4.6.0',
'markov==0.0.0',
],
entry_points='''
[console_scripts]
botnet=botnet.cli:cli
''',
dependency_links=[
"git+https://github.com/boreq/markov#egg=markov-0.0.0"
]
)
<commit_msg>Fix pip developers beliving that they know what is the best for everyone else<commit_after>import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='botnet',
version='0.1.0',
author='boreq',
description = ('IRC bot.'),
long_description=read('README.md'),
url='https://github.com/boreq/botnet/',
license='BSD',
packages=find_packages(),
install_requires=[
'blinker>=1.4',
'Click>=2.0',
'requests>=2.12',
'protobuf>=3.0',
'requests-oauthlib>=0.7.0',
'beautifulsoup4>=4.6.0',
'markov @ git+https://github.com/boreq/markov#egg=markov-0.0.0',
],
entry_points='''
[console_scripts]
botnet=botnet.cli:cli
'''
)
|
e38fae5f5115b0707c16afe6b796609338da9bca | setup.py | setup.py | import codecs
from setuptools import setup
def read_lines_from_file(filename):
with codecs.open(filename, encoding='utf-8') as f:
return [line.rstrip('\n') for line in f]
long_description = read_lines_from_file('README.rst')
setup(
name='Weitersager',
version='0.2-dev',
description='A proxy to forward messages received via HTTP to to IRC',
long_description=long_description,
url='http://homework.nwsnet.de/releases/1cda/#weitersager',
author='Jochen Kupperschmidt',
author_email='homework@nwsnet.de',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Logging',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
packages=['weitersager'],
install_requires=[
'blinker==1.4',
'irc==12.3',
],
)
| import codecs
from setuptools import setup
def read_lines_from_file(filename):
with codecs.open(filename, encoding='utf-8') as f:
return [line.rstrip('\n') for line in f]
long_description = read_lines_from_file('README.rst')
requirements = read_lines_from_file('requirements.txt')
setup(
name='Weitersager',
version='0.2-dev',
description='A proxy to forward messages received via HTTP to to IRC',
long_description=long_description,
url='http://homework.nwsnet.de/releases/1cda/#weitersager',
author='Jochen Kupperschmidt',
author_email='homework@nwsnet.de',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Logging',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
packages=['weitersager'],
install_requires=requirements,
)
| Read installation requirements from dedicated file | Read installation requirements from dedicated file
Removes duplication.
| Python | mit | homeworkprod/weitersager | import codecs
from setuptools import setup
def read_lines_from_file(filename):
with codecs.open(filename, encoding='utf-8') as f:
return [line.rstrip('\n') for line in f]
long_description = read_lines_from_file('README.rst')
setup(
name='Weitersager',
version='0.2-dev',
description='A proxy to forward messages received via HTTP to to IRC',
long_description=long_description,
url='http://homework.nwsnet.de/releases/1cda/#weitersager',
author='Jochen Kupperschmidt',
author_email='homework@nwsnet.de',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Logging',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
packages=['weitersager'],
install_requires=[
'blinker==1.4',
'irc==12.3',
],
)
Read installation requirements from dedicated file
Removes duplication. | import codecs
from setuptools import setup
def read_lines_from_file(filename):
with codecs.open(filename, encoding='utf-8') as f:
return [line.rstrip('\n') for line in f]
long_description = read_lines_from_file('README.rst')
requirements = read_lines_from_file('requirements.txt')
setup(
name='Weitersager',
version='0.2-dev',
description='A proxy to forward messages received via HTTP to to IRC',
long_description=long_description,
url='http://homework.nwsnet.de/releases/1cda/#weitersager',
author='Jochen Kupperschmidt',
author_email='homework@nwsnet.de',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Logging',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
packages=['weitersager'],
install_requires=requirements,
)
| <commit_before>import codecs
from setuptools import setup
def read_lines_from_file(filename):
with codecs.open(filename, encoding='utf-8') as f:
return [line.rstrip('\n') for line in f]
long_description = read_lines_from_file('README.rst')
setup(
name='Weitersager',
version='0.2-dev',
description='A proxy to forward messages received via HTTP to to IRC',
long_description=long_description,
url='http://homework.nwsnet.de/releases/1cda/#weitersager',
author='Jochen Kupperschmidt',
author_email='homework@nwsnet.de',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Logging',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
packages=['weitersager'],
install_requires=[
'blinker==1.4',
'irc==12.3',
],
)
<commit_msg>Read installation requirements from dedicated file
Removes duplication.<commit_after> | import codecs
from setuptools import setup
def read_lines_from_file(filename):
with codecs.open(filename, encoding='utf-8') as f:
return [line.rstrip('\n') for line in f]
long_description = read_lines_from_file('README.rst')
requirements = read_lines_from_file('requirements.txt')
setup(
name='Weitersager',
version='0.2-dev',
description='A proxy to forward messages received via HTTP to to IRC',
long_description=long_description,
url='http://homework.nwsnet.de/releases/1cda/#weitersager',
author='Jochen Kupperschmidt',
author_email='homework@nwsnet.de',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Logging',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
packages=['weitersager'],
install_requires=requirements,
)
| import codecs
from setuptools import setup
def read_lines_from_file(filename):
with codecs.open(filename, encoding='utf-8') as f:
return [line.rstrip('\n') for line in f]
long_description = read_lines_from_file('README.rst')
setup(
name='Weitersager',
version='0.2-dev',
description='A proxy to forward messages received via HTTP to to IRC',
long_description=long_description,
url='http://homework.nwsnet.de/releases/1cda/#weitersager',
author='Jochen Kupperschmidt',
author_email='homework@nwsnet.de',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Logging',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
packages=['weitersager'],
install_requires=[
'blinker==1.4',
'irc==12.3',
],
)
Read installation requirements from dedicated file
Removes duplication.import codecs
from setuptools import setup
def read_lines_from_file(filename):
with codecs.open(filename, encoding='utf-8') as f:
return [line.rstrip('\n') for line in f]
long_description = read_lines_from_file('README.rst')
requirements = read_lines_from_file('requirements.txt')
setup(
name='Weitersager',
version='0.2-dev',
description='A proxy to forward messages received via HTTP to to IRC',
long_description=long_description,
url='http://homework.nwsnet.de/releases/1cda/#weitersager',
author='Jochen Kupperschmidt',
author_email='homework@nwsnet.de',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Logging',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
packages=['weitersager'],
install_requires=requirements,
)
| <commit_before>import codecs
from setuptools import setup
def read_lines_from_file(filename):
with codecs.open(filename, encoding='utf-8') as f:
return [line.rstrip('\n') for line in f]
long_description = read_lines_from_file('README.rst')
setup(
name='Weitersager',
version='0.2-dev',
description='A proxy to forward messages received via HTTP to to IRC',
long_description=long_description,
url='http://homework.nwsnet.de/releases/1cda/#weitersager',
author='Jochen Kupperschmidt',
author_email='homework@nwsnet.de',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Logging',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
packages=['weitersager'],
install_requires=[
'blinker==1.4',
'irc==12.3',
],
)
<commit_msg>Read installation requirements from dedicated file
Removes duplication.<commit_after>import codecs
from setuptools import setup
def read_lines_from_file(filename):
with codecs.open(filename, encoding='utf-8') as f:
return [line.rstrip('\n') for line in f]
long_description = read_lines_from_file('README.rst')
requirements = read_lines_from_file('requirements.txt')
setup(
name='Weitersager',
version='0.2-dev',
description='A proxy to forward messages received via HTTP to to IRC',
long_description=long_description,
url='http://homework.nwsnet.de/releases/1cda/#weitersager',
author='Jochen Kupperschmidt',
author_email='homework@nwsnet.de',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Logging',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
packages=['weitersager'],
install_requires=requirements,
)
|
26d063cd78140d69160e16364a6cdda1e26516d2 | setup.py | setup.py | # coding=utf-8
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
version = '1.0-a'
install_requires = [
'jnius>=1.0',
]
setup(
name='engerek',
version=version,
description='Turkish natural language processing tools for Python',
long_description=README + '\n\n' + NEWS,
classifiers=[
'License :: Other/Proprietary License',
'Topic :: Text Processing :: Linguistic',
],
keywords='turkish nlp tokenizer stemmer deasciifier',
author=u'Çilek Ağacı',
author_email='info@cilekagaci.com',
url='http://cilekagaci.com/',
license='Proprietary',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
#'console_scripts': ['engerek=engerek:main'],
}
)
| # coding=utf-8
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
version = '1.0-a'
install_requires = [
'jnius==1.1-dev',
'Cython==0.19.2',
]
setup(
name='engerek',
version=version,
description='Turkish natural language processing tools for Python',
long_description=README + '\n\n' + NEWS,
classifiers=[
'License :: Other/Proprietary License',
'Topic :: Text Processing :: Linguistic',
],
keywords='turkish nlp tokenizer stemmer deasciifier',
author=u'Çilek Ağacı',
author_email='info@cilekagaci.com',
url='http://cilekagaci.com/',
license='Proprietary',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
#'console_scripts': ['engerek=engerek:main'],
},
dependency_links = ['http://github.com/kivy/pyjnius/tarball/master#egg=jnius-1.1-dev']
)
| Use github master for pyjnius | Use github master for pyjnius
| Python | apache-2.0 | cilekagaci/engerek | # coding=utf-8
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
version = '1.0-a'
install_requires = [
'jnius>=1.0',
]
setup(
name='engerek',
version=version,
description='Turkish natural language processing tools for Python',
long_description=README + '\n\n' + NEWS,
classifiers=[
'License :: Other/Proprietary License',
'Topic :: Text Processing :: Linguistic',
],
keywords='turkish nlp tokenizer stemmer deasciifier',
author=u'Çilek Ağacı',
author_email='info@cilekagaci.com',
url='http://cilekagaci.com/',
license='Proprietary',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
#'console_scripts': ['engerek=engerek:main'],
}
)
Use github master for pyjnius | # coding=utf-8
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
version = '1.0-a'
install_requires = [
'jnius==1.1-dev',
'Cython==0.19.2',
]
setup(
name='engerek',
version=version,
description='Turkish natural language processing tools for Python',
long_description=README + '\n\n' + NEWS,
classifiers=[
'License :: Other/Proprietary License',
'Topic :: Text Processing :: Linguistic',
],
keywords='turkish nlp tokenizer stemmer deasciifier',
author=u'Çilek Ağacı',
author_email='info@cilekagaci.com',
url='http://cilekagaci.com/',
license='Proprietary',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
#'console_scripts': ['engerek=engerek:main'],
},
dependency_links = ['http://github.com/kivy/pyjnius/tarball/master#egg=jnius-1.1-dev']
)
| <commit_before># coding=utf-8
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
version = '1.0-a'
install_requires = [
'jnius>=1.0',
]
setup(
name='engerek',
version=version,
description='Turkish natural language processing tools for Python',
long_description=README + '\n\n' + NEWS,
classifiers=[
'License :: Other/Proprietary License',
'Topic :: Text Processing :: Linguistic',
],
keywords='turkish nlp tokenizer stemmer deasciifier',
author=u'Çilek Ağacı',
author_email='info@cilekagaci.com',
url='http://cilekagaci.com/',
license='Proprietary',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
#'console_scripts': ['engerek=engerek:main'],
}
)
<commit_msg>Use github master for pyjnius<commit_after> | # coding=utf-8
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
version = '1.0-a'
install_requires = [
'jnius==1.1-dev',
'Cython==0.19.2',
]
setup(
name='engerek',
version=version,
description='Turkish natural language processing tools for Python',
long_description=README + '\n\n' + NEWS,
classifiers=[
'License :: Other/Proprietary License',
'Topic :: Text Processing :: Linguistic',
],
keywords='turkish nlp tokenizer stemmer deasciifier',
author=u'Çilek Ağacı',
author_email='info@cilekagaci.com',
url='http://cilekagaci.com/',
license='Proprietary',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
#'console_scripts': ['engerek=engerek:main'],
},
dependency_links = ['http://github.com/kivy/pyjnius/tarball/master#egg=jnius-1.1-dev']
)
| # coding=utf-8
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
version = '1.0-a'
install_requires = [
'jnius>=1.0',
]
setup(
name='engerek',
version=version,
description='Turkish natural language processing tools for Python',
long_description=README + '\n\n' + NEWS,
classifiers=[
'License :: Other/Proprietary License',
'Topic :: Text Processing :: Linguistic',
],
keywords='turkish nlp tokenizer stemmer deasciifier',
author=u'Çilek Ağacı',
author_email='info@cilekagaci.com',
url='http://cilekagaci.com/',
license='Proprietary',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
#'console_scripts': ['engerek=engerek:main'],
}
)
Use github master for pyjnius# coding=utf-8
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
version = '1.0-a'
install_requires = [
'jnius==1.1-dev',
'Cython==0.19.2',
]
setup(
name='engerek',
version=version,
description='Turkish natural language processing tools for Python',
long_description=README + '\n\n' + NEWS,
classifiers=[
'License :: Other/Proprietary License',
'Topic :: Text Processing :: Linguistic',
],
keywords='turkish nlp tokenizer stemmer deasciifier',
author=u'Çilek Ağacı',
author_email='info@cilekagaci.com',
url='http://cilekagaci.com/',
license='Proprietary',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
#'console_scripts': ['engerek=engerek:main'],
},
dependency_links = ['http://github.com/kivy/pyjnius/tarball/master#egg=jnius-1.1-dev']
)
| <commit_before># coding=utf-8
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
version = '1.0-a'
install_requires = [
'jnius>=1.0',
]
setup(
name='engerek',
version=version,
description='Turkish natural language processing tools for Python',
long_description=README + '\n\n' + NEWS,
classifiers=[
'License :: Other/Proprietary License',
'Topic :: Text Processing :: Linguistic',
],
keywords='turkish nlp tokenizer stemmer deasciifier',
author=u'Çilek Ağacı',
author_email='info@cilekagaci.com',
url='http://cilekagaci.com/',
license='Proprietary',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
#'console_scripts': ['engerek=engerek:main'],
}
)
<commit_msg>Use github master for pyjnius<commit_after># coding=utf-8
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
version = '1.0-a'
install_requires = [
'jnius==1.1-dev',
'Cython==0.19.2',
]
setup(
name='engerek',
version=version,
description='Turkish natural language processing tools for Python',
long_description=README + '\n\n' + NEWS,
classifiers=[
'License :: Other/Proprietary License',
'Topic :: Text Processing :: Linguistic',
],
keywords='turkish nlp tokenizer stemmer deasciifier',
author=u'Çilek Ağacı',
author_email='info@cilekagaci.com',
url='http://cilekagaci.com/',
license='Proprietary',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
#'console_scripts': ['engerek=engerek:main'],
},
dependency_links = ['http://github.com/kivy/pyjnius/tarball/master#egg=jnius-1.1-dev']
)
|
80019f7d0b1ef1d8624e6e9739c069af38a2ed5c | 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='windpowerlib',
version='0.2.1dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oemof developer group',
author_email='windpowerlib@rl-institut.de',
license='MIT',
packages=['windpowerlib'],
package_data={
'windpowerlib': [os.path.join('data', '*.csv'),
os.path.join('oedb', '*.csv')]},
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
zip_safe=False,
install_requires=['pandas >= 0.20.0, < 0.26',
'requests < 3.0'],
extras_require={
'dev': ['pytest', 'jupyter', 'sphinx_rtd_theme', 'nbformat',
'numpy']})
| import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.2.1dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oemof developer group',
author_email='windpowerlib@rl-institut.de',
license='MIT',
packages=['windpowerlib'],
package_data={
'windpowerlib': [os.path.join('data', '*.csv'),
os.path.join('oedb', '*.csv')]},
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
zip_safe=False,
install_requires=['pandas >= 0.20.0, < 0.26',
'requests < 3.0'],
extras_require={
'dev': ['pytest', 'jupyter', 'sphinx_rtd_theme', 'nbformat',
'numpy', 'matplotlib']})
| Add matplotlib as dev dependency | Add matplotlib as dev dependency
| Python | mit | wind-python/windpowerlib | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.2.1dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oemof developer group',
author_email='windpowerlib@rl-institut.de',
license='MIT',
packages=['windpowerlib'],
package_data={
'windpowerlib': [os.path.join('data', '*.csv'),
os.path.join('oedb', '*.csv')]},
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
zip_safe=False,
install_requires=['pandas >= 0.20.0, < 0.26',
'requests < 3.0'],
extras_require={
'dev': ['pytest', 'jupyter', 'sphinx_rtd_theme', 'nbformat',
'numpy']})
Add matplotlib as dev dependency | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.2.1dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oemof developer group',
author_email='windpowerlib@rl-institut.de',
license='MIT',
packages=['windpowerlib'],
package_data={
'windpowerlib': [os.path.join('data', '*.csv'),
os.path.join('oedb', '*.csv')]},
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
zip_safe=False,
install_requires=['pandas >= 0.20.0, < 0.26',
'requests < 3.0'],
extras_require={
'dev': ['pytest', 'jupyter', 'sphinx_rtd_theme', 'nbformat',
'numpy', 'matplotlib']})
| <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.2.1dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oemof developer group',
author_email='windpowerlib@rl-institut.de',
license='MIT',
packages=['windpowerlib'],
package_data={
'windpowerlib': [os.path.join('data', '*.csv'),
os.path.join('oedb', '*.csv')]},
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
zip_safe=False,
install_requires=['pandas >= 0.20.0, < 0.26',
'requests < 3.0'],
extras_require={
'dev': ['pytest', 'jupyter', 'sphinx_rtd_theme', 'nbformat',
'numpy']})
<commit_msg>Add matplotlib as dev dependency<commit_after> | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.2.1dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oemof developer group',
author_email='windpowerlib@rl-institut.de',
license='MIT',
packages=['windpowerlib'],
package_data={
'windpowerlib': [os.path.join('data', '*.csv'),
os.path.join('oedb', '*.csv')]},
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
zip_safe=False,
install_requires=['pandas >= 0.20.0, < 0.26',
'requests < 3.0'],
extras_require={
'dev': ['pytest', 'jupyter', 'sphinx_rtd_theme', 'nbformat',
'numpy', 'matplotlib']})
| import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.2.1dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oemof developer group',
author_email='windpowerlib@rl-institut.de',
license='MIT',
packages=['windpowerlib'],
package_data={
'windpowerlib': [os.path.join('data', '*.csv'),
os.path.join('oedb', '*.csv')]},
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
zip_safe=False,
install_requires=['pandas >= 0.20.0, < 0.26',
'requests < 3.0'],
extras_require={
'dev': ['pytest', 'jupyter', 'sphinx_rtd_theme', 'nbformat',
'numpy']})
Add matplotlib as dev dependencyimport os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.2.1dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oemof developer group',
author_email='windpowerlib@rl-institut.de',
license='MIT',
packages=['windpowerlib'],
package_data={
'windpowerlib': [os.path.join('data', '*.csv'),
os.path.join('oedb', '*.csv')]},
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
zip_safe=False,
install_requires=['pandas >= 0.20.0, < 0.26',
'requests < 3.0'],
extras_require={
'dev': ['pytest', 'jupyter', 'sphinx_rtd_theme', 'nbformat',
'numpy', 'matplotlib']})
| <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.2.1dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oemof developer group',
author_email='windpowerlib@rl-institut.de',
license='MIT',
packages=['windpowerlib'],
package_data={
'windpowerlib': [os.path.join('data', '*.csv'),
os.path.join('oedb', '*.csv')]},
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
zip_safe=False,
install_requires=['pandas >= 0.20.0, < 0.26',
'requests < 3.0'],
extras_require={
'dev': ['pytest', 'jupyter', 'sphinx_rtd_theme', 'nbformat',
'numpy']})
<commit_msg>Add matplotlib as dev dependency<commit_after>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.2.1dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oemof developer group',
author_email='windpowerlib@rl-institut.de',
license='MIT',
packages=['windpowerlib'],
package_data={
'windpowerlib': [os.path.join('data', '*.csv'),
os.path.join('oedb', '*.csv')]},
long_description=read('README.rst'),
long_description_content_type='text/x-rst',
zip_safe=False,
install_requires=['pandas >= 0.20.0, < 0.26',
'requests < 3.0'],
extras_require={
'dev': ['pytest', 'jupyter', 'sphinx_rtd_theme', 'nbformat',
'numpy', 'matplotlib']})
|
c79b729a5dda5661a5eb2e640aa402aab6f397a2 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name="segfault",
version="0.0.1",
author="Sean Kelly",
author_email="sean.kelly.2992@gmail.com",
description="A library that makes the Python interpreter segfault.",
license="MIT",
keywords="segfault",
py_modules=['segfault'],
)
| #!/usr/bin/env python
from setuptools import setup
setup(
name="segfault",
version="0.0.1",
author="Sean Kelly",
author_email="sean.kelly.2992@gmail.com",
description="A library that makes the Python interpreter segfault.",
license="MIT",
keywords="segfault",
py_modules=['segfault', 'satire'],
)
| Add 'satire' tag to escape orange website ridicule | Add 'satire' tag to escape orange website ridicule
| Python | mit | cbgbt/segfault,cbgbt/segfault | #!/usr/bin/env python
from setuptools import setup
setup(
name="segfault",
version="0.0.1",
author="Sean Kelly",
author_email="sean.kelly.2992@gmail.com",
description="A library that makes the Python interpreter segfault.",
license="MIT",
keywords="segfault",
py_modules=['segfault'],
)
Add 'satire' tag to escape orange website ridicule | #!/usr/bin/env python
from setuptools import setup
setup(
name="segfault",
version="0.0.1",
author="Sean Kelly",
author_email="sean.kelly.2992@gmail.com",
description="A library that makes the Python interpreter segfault.",
license="MIT",
keywords="segfault",
py_modules=['segfault', 'satire'],
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name="segfault",
version="0.0.1",
author="Sean Kelly",
author_email="sean.kelly.2992@gmail.com",
description="A library that makes the Python interpreter segfault.",
license="MIT",
keywords="segfault",
py_modules=['segfault'],
)
<commit_msg>Add 'satire' tag to escape orange website ridicule<commit_after> | #!/usr/bin/env python
from setuptools import setup
setup(
name="segfault",
version="0.0.1",
author="Sean Kelly",
author_email="sean.kelly.2992@gmail.com",
description="A library that makes the Python interpreter segfault.",
license="MIT",
keywords="segfault",
py_modules=['segfault', 'satire'],
)
| #!/usr/bin/env python
from setuptools import setup
setup(
name="segfault",
version="0.0.1",
author="Sean Kelly",
author_email="sean.kelly.2992@gmail.com",
description="A library that makes the Python interpreter segfault.",
license="MIT",
keywords="segfault",
py_modules=['segfault'],
)
Add 'satire' tag to escape orange website ridicule#!/usr/bin/env python
from setuptools import setup
setup(
name="segfault",
version="0.0.1",
author="Sean Kelly",
author_email="sean.kelly.2992@gmail.com",
description="A library that makes the Python interpreter segfault.",
license="MIT",
keywords="segfault",
py_modules=['segfault', 'satire'],
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
name="segfault",
version="0.0.1",
author="Sean Kelly",
author_email="sean.kelly.2992@gmail.com",
description="A library that makes the Python interpreter segfault.",
license="MIT",
keywords="segfault",
py_modules=['segfault'],
)
<commit_msg>Add 'satire' tag to escape orange website ridicule<commit_after>#!/usr/bin/env python
from setuptools import setup
setup(
name="segfault",
version="0.0.1",
author="Sean Kelly",
author_email="sean.kelly.2992@gmail.com",
description="A library that makes the Python interpreter segfault.",
license="MIT",
keywords="segfault",
py_modules=['segfault', 'satire'],
)
|
45e8df4123926f56391809f78ef22d4e012a4bf8 | setup.py | setup.py | import sys
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
import setuptools
from pip import req
from setuptools.command import test
REQ = set([dep.name
for dep in req.parse_requirements('requirements/base.txt')])
TREQ = set([dep.name or dep.url
for dep in req.parse_requirements('requirements/tests.txt')]) - REQ
try:
import importlib
except ImportError:
REQ.add('importlib')
class PyTest(test.test):
def finalize_options(self):
test.test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setuptools.setup(setup_requires=('d2to1',),
install_requires=REQ,
tests_require=TREQ,
extras_require={'ssl': ('pycrypto',)},
cmdclass={'test': PyTest},
d2to1=True)
| import sys
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
import setuptools
from pip import req
from setuptools.command import test
REQ = set([dep.name
for dep in req.parse_requirements('requirements/base.txt')])
TREQ = set([dep.name or dep.url
for dep in req.parse_requirements('requirements/tests.txt')]) - REQ
try:
import importlib
except ImportError:
REQ.add('importlib')
class PyTest(test.test):
def finalize_options(self):
test.test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setuptools.setup(setup_requires=('d2to1',),
install_requires=REQ,
tests_require=TREQ,
extras_require={'ssl': ('pycrypto', 'PyYAML')},
cmdclass={'test': PyTest},
d2to1=True)
| Add PyYAML to ``ssl`` extras_require | Add PyYAML to ``ssl`` extras_require
| Python | bsd-3-clause | rafaduran/python-mcollective,rafaduran/python-mcollective,rafaduran/python-mcollective,rafaduran/python-mcollective | import sys
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
import setuptools
from pip import req
from setuptools.command import test
REQ = set([dep.name
for dep in req.parse_requirements('requirements/base.txt')])
TREQ = set([dep.name or dep.url
for dep in req.parse_requirements('requirements/tests.txt')]) - REQ
try:
import importlib
except ImportError:
REQ.add('importlib')
class PyTest(test.test):
def finalize_options(self):
test.test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setuptools.setup(setup_requires=('d2to1',),
install_requires=REQ,
tests_require=TREQ,
extras_require={'ssl': ('pycrypto',)},
cmdclass={'test': PyTest},
d2to1=True)
Add PyYAML to ``ssl`` extras_require | import sys
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
import setuptools
from pip import req
from setuptools.command import test
REQ = set([dep.name
for dep in req.parse_requirements('requirements/base.txt')])
TREQ = set([dep.name or dep.url
for dep in req.parse_requirements('requirements/tests.txt')]) - REQ
try:
import importlib
except ImportError:
REQ.add('importlib')
class PyTest(test.test):
def finalize_options(self):
test.test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setuptools.setup(setup_requires=('d2to1',),
install_requires=REQ,
tests_require=TREQ,
extras_require={'ssl': ('pycrypto', 'PyYAML')},
cmdclass={'test': PyTest},
d2to1=True)
| <commit_before>import sys
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
import setuptools
from pip import req
from setuptools.command import test
REQ = set([dep.name
for dep in req.parse_requirements('requirements/base.txt')])
TREQ = set([dep.name or dep.url
for dep in req.parse_requirements('requirements/tests.txt')]) - REQ
try:
import importlib
except ImportError:
REQ.add('importlib')
class PyTest(test.test):
def finalize_options(self):
test.test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setuptools.setup(setup_requires=('d2to1',),
install_requires=REQ,
tests_require=TREQ,
extras_require={'ssl': ('pycrypto',)},
cmdclass={'test': PyTest},
d2to1=True)
<commit_msg>Add PyYAML to ``ssl`` extras_require<commit_after> | import sys
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
import setuptools
from pip import req
from setuptools.command import test
REQ = set([dep.name
for dep in req.parse_requirements('requirements/base.txt')])
TREQ = set([dep.name or dep.url
for dep in req.parse_requirements('requirements/tests.txt')]) - REQ
try:
import importlib
except ImportError:
REQ.add('importlib')
class PyTest(test.test):
def finalize_options(self):
test.test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setuptools.setup(setup_requires=('d2to1',),
install_requires=REQ,
tests_require=TREQ,
extras_require={'ssl': ('pycrypto', 'PyYAML')},
cmdclass={'test': PyTest},
d2to1=True)
| import sys
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
import setuptools
from pip import req
from setuptools.command import test
REQ = set([dep.name
for dep in req.parse_requirements('requirements/base.txt')])
TREQ = set([dep.name or dep.url
for dep in req.parse_requirements('requirements/tests.txt')]) - REQ
try:
import importlib
except ImportError:
REQ.add('importlib')
class PyTest(test.test):
def finalize_options(self):
test.test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setuptools.setup(setup_requires=('d2to1',),
install_requires=REQ,
tests_require=TREQ,
extras_require={'ssl': ('pycrypto',)},
cmdclass={'test': PyTest},
d2to1=True)
Add PyYAML to ``ssl`` extras_requireimport sys
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
import setuptools
from pip import req
from setuptools.command import test
REQ = set([dep.name
for dep in req.parse_requirements('requirements/base.txt')])
TREQ = set([dep.name or dep.url
for dep in req.parse_requirements('requirements/tests.txt')]) - REQ
try:
import importlib
except ImportError:
REQ.add('importlib')
class PyTest(test.test):
def finalize_options(self):
test.test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setuptools.setup(setup_requires=('d2to1',),
install_requires=REQ,
tests_require=TREQ,
extras_require={'ssl': ('pycrypto', 'PyYAML')},
cmdclass={'test': PyTest},
d2to1=True)
| <commit_before>import sys
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
import setuptools
from pip import req
from setuptools.command import test
REQ = set([dep.name
for dep in req.parse_requirements('requirements/base.txt')])
TREQ = set([dep.name or dep.url
for dep in req.parse_requirements('requirements/tests.txt')]) - REQ
try:
import importlib
except ImportError:
REQ.add('importlib')
class PyTest(test.test):
def finalize_options(self):
test.test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setuptools.setup(setup_requires=('d2to1',),
install_requires=REQ,
tests_require=TREQ,
extras_require={'ssl': ('pycrypto',)},
cmdclass={'test': PyTest},
d2to1=True)
<commit_msg>Add PyYAML to ``ssl`` extras_require<commit_after>import sys
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
import setuptools
from pip import req
from setuptools.command import test
REQ = set([dep.name
for dep in req.parse_requirements('requirements/base.txt')])
TREQ = set([dep.name or dep.url
for dep in req.parse_requirements('requirements/tests.txt')]) - REQ
try:
import importlib
except ImportError:
REQ.add('importlib')
class PyTest(test.test):
def finalize_options(self):
test.test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setuptools.setup(setup_requires=('d2to1',),
install_requires=REQ,
tests_require=TREQ,
extras_require={'ssl': ('pycrypto', 'PyYAML')},
cmdclass={'test': PyTest},
d2to1=True)
|
b43e6636932d34743b4680898b235dfdcc1cd934 | setup.py | setup.py | #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.1',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
| #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.2',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
| Increment version number to 0.5.2 for new release. | Increment version number to 0.5.2 for new release.
| Python | apache-2.0 | glasser/pymox,JustinAtPsycle/pymox,arne-cl/pymox,githubashto/pymox,shraddha-pandhe/pymox,MarkBerlin78/pymox,qin/pymox,ivancrneto/pymox,jackxiang/pymox | #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.1',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
Increment version number to 0.5.2 for new release. | #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.2',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
| <commit_before>#!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.1',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
<commit_msg>Increment version number to 0.5.2 for new release.<commit_after> | #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.2',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
| #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.1',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
Increment version number to 0.5.2 for new release.#!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.2',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
| <commit_before>#!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.1',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
<commit_msg>Increment version number to 0.5.2 for new release.<commit_after>#!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.2',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
|
6c03cb4e97ddd06b51d8cdb553a552ce49e9fad4 | setup.py | setup.py | from setuptools import setup, find_packages
setup(name="153957-theme",
version="1.0.0",
packages=find_packages(),
url="http://github.com/153957/153957-theme/",
bugtrack_url='http://github.com/153957/153957-theme/issues',
license='MIT',
author="Arne de Laat",
author_email="arne@delaat.net",
description="Theme for sigal generated photo albums",
long_description=open('README.rst').read(),
keywords=['photo album', 'theme', 'sigal', 'galleria'],
classifiers=['Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Markup :: HTML'],
install_requires=['sigal'],
)
| from setuptools import setup, find_packages
setup(
name="153957-theme",
version="1.0.0",
packages=find_packages(),
url="http://github.com/153957/153957-theme/",
bugtrack_url='http://github.com/153957/153957-theme/issues',
license='MIT',
author="Arne de Laat",
author_email="arne@delaat.net",
description="Theme for sigal generated photo albums",
long_description=open('README.rst').read(),
keywords=['photo album', 'theme', 'sigal', 'galleria'],
classifiers=[
'Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Markup :: HTML',
],
install_requires=['sigal'],
package_data={
'153957_theme': [
'templates/*.html',
'static/*/*',
]
},
)
| Add theme templates and static as package_data. | Add theme templates and static as package_data.
| Python | mit | 153957/153957-theme,153957/153957-theme | from setuptools import setup, find_packages
setup(name="153957-theme",
version="1.0.0",
packages=find_packages(),
url="http://github.com/153957/153957-theme/",
bugtrack_url='http://github.com/153957/153957-theme/issues',
license='MIT',
author="Arne de Laat",
author_email="arne@delaat.net",
description="Theme for sigal generated photo albums",
long_description=open('README.rst').read(),
keywords=['photo album', 'theme', 'sigal', 'galleria'],
classifiers=['Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Markup :: HTML'],
install_requires=['sigal'],
)
Add theme templates and static as package_data. | from setuptools import setup, find_packages
setup(
name="153957-theme",
version="1.0.0",
packages=find_packages(),
url="http://github.com/153957/153957-theme/",
bugtrack_url='http://github.com/153957/153957-theme/issues',
license='MIT',
author="Arne de Laat",
author_email="arne@delaat.net",
description="Theme for sigal generated photo albums",
long_description=open('README.rst').read(),
keywords=['photo album', 'theme', 'sigal', 'galleria'],
classifiers=[
'Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Markup :: HTML',
],
install_requires=['sigal'],
package_data={
'153957_theme': [
'templates/*.html',
'static/*/*',
]
},
)
| <commit_before>from setuptools import setup, find_packages
setup(name="153957-theme",
version="1.0.0",
packages=find_packages(),
url="http://github.com/153957/153957-theme/",
bugtrack_url='http://github.com/153957/153957-theme/issues',
license='MIT',
author="Arne de Laat",
author_email="arne@delaat.net",
description="Theme for sigal generated photo albums",
long_description=open('README.rst').read(),
keywords=['photo album', 'theme', 'sigal', 'galleria'],
classifiers=['Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Markup :: HTML'],
install_requires=['sigal'],
)
<commit_msg>Add theme templates and static as package_data.<commit_after> | from setuptools import setup, find_packages
setup(
name="153957-theme",
version="1.0.0",
packages=find_packages(),
url="http://github.com/153957/153957-theme/",
bugtrack_url='http://github.com/153957/153957-theme/issues',
license='MIT',
author="Arne de Laat",
author_email="arne@delaat.net",
description="Theme for sigal generated photo albums",
long_description=open('README.rst').read(),
keywords=['photo album', 'theme', 'sigal', 'galleria'],
classifiers=[
'Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Markup :: HTML',
],
install_requires=['sigal'],
package_data={
'153957_theme': [
'templates/*.html',
'static/*/*',
]
},
)
| from setuptools import setup, find_packages
setup(name="153957-theme",
version="1.0.0",
packages=find_packages(),
url="http://github.com/153957/153957-theme/",
bugtrack_url='http://github.com/153957/153957-theme/issues',
license='MIT',
author="Arne de Laat",
author_email="arne@delaat.net",
description="Theme for sigal generated photo albums",
long_description=open('README.rst').read(),
keywords=['photo album', 'theme', 'sigal', 'galleria'],
classifiers=['Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Markup :: HTML'],
install_requires=['sigal'],
)
Add theme templates and static as package_data.from setuptools import setup, find_packages
setup(
name="153957-theme",
version="1.0.0",
packages=find_packages(),
url="http://github.com/153957/153957-theme/",
bugtrack_url='http://github.com/153957/153957-theme/issues',
license='MIT',
author="Arne de Laat",
author_email="arne@delaat.net",
description="Theme for sigal generated photo albums",
long_description=open('README.rst').read(),
keywords=['photo album', 'theme', 'sigal', 'galleria'],
classifiers=[
'Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Markup :: HTML',
],
install_requires=['sigal'],
package_data={
'153957_theme': [
'templates/*.html',
'static/*/*',
]
},
)
| <commit_before>from setuptools import setup, find_packages
setup(name="153957-theme",
version="1.0.0",
packages=find_packages(),
url="http://github.com/153957/153957-theme/",
bugtrack_url='http://github.com/153957/153957-theme/issues',
license='MIT',
author="Arne de Laat",
author_email="arne@delaat.net",
description="Theme for sigal generated photo albums",
long_description=open('README.rst').read(),
keywords=['photo album', 'theme', 'sigal', 'galleria'],
classifiers=['Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Markup :: HTML'],
install_requires=['sigal'],
)
<commit_msg>Add theme templates and static as package_data.<commit_after>from setuptools import setup, find_packages
setup(
name="153957-theme",
version="1.0.0",
packages=find_packages(),
url="http://github.com/153957/153957-theme/",
bugtrack_url='http://github.com/153957/153957-theme/issues',
license='MIT',
author="Arne de Laat",
author_email="arne@delaat.net",
description="Theme for sigal generated photo albums",
long_description=open('README.rst').read(),
keywords=['photo album', 'theme', 'sigal', 'galleria'],
classifiers=[
'Environment :: Plugins',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Markup :: HTML',
],
install_requires=['sigal'],
package_data={
'153957_theme': [
'templates/*.html',
'static/*/*',
]
},
)
|
8846415aa0a362ceee1e8c07f35310cff00223c0 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
py_files = [
"ansible/module_utils/hashivault",
"ansible/plugins/lookup/hashivault",
"ansible/plugins/action/hashivault_read_to_file",
"ansible/plugins/action/hashivault_write_from_file",
]
files = [
"ansible/modules/hashivault",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-hashivault',
version='4.0.0',
description='Ansible Modules for Hashicorp Vault',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Terry Howe',
author_email='terrylhowe@example.com',
url='https://github.com/TerryHowe/ansible-modules-hashivault',
py_modules=py_files,
packages=files,
install_requires=[
'ansible>=2.0.0',
'hvac>=0.9.2',
'requests',
],
)
| #!/usr/bin/env python
from setuptools import setup
py_files = [
"ansible/module_utils/hashivault",
"ansible/plugins/lookup/hashivault",
"ansible/plugins/action/hashivault_read_to_file",
"ansible/plugins/action/hashivault_write_from_file",
]
files = [
"ansible/modules/hashivault",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-hashivault',
version='4.0.0',
description='Ansible Modules for Hashicorp Vault',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Terry Howe',
author_email='terrylhowe@example.com',
url='https://github.com/TerryHowe/ansible-modules-hashivault',
py_modules=py_files,
packages=files,
install_requires=[
'ansible>=2.0.0',
'hvac>=0.9.5',
'requests',
],
)
| Upgrade hvac to have latest fix on the consul secret engine | Upgrade hvac to have latest fix on the consul secret engine
Signed-off-by: Damien Goldenberg <153f528c345216f3d6a78cf62c6dd7299da883e1@gmail.com>
| Python | mit | TerryHowe/ansible-modules-hashivault,TerryHowe/ansible-modules-hashivault | #!/usr/bin/env python
from setuptools import setup
py_files = [
"ansible/module_utils/hashivault",
"ansible/plugins/lookup/hashivault",
"ansible/plugins/action/hashivault_read_to_file",
"ansible/plugins/action/hashivault_write_from_file",
]
files = [
"ansible/modules/hashivault",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-hashivault',
version='4.0.0',
description='Ansible Modules for Hashicorp Vault',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Terry Howe',
author_email='terrylhowe@example.com',
url='https://github.com/TerryHowe/ansible-modules-hashivault',
py_modules=py_files,
packages=files,
install_requires=[
'ansible>=2.0.0',
'hvac>=0.9.2',
'requests',
],
)
Upgrade hvac to have latest fix on the consul secret engine
Signed-off-by: Damien Goldenberg <153f528c345216f3d6a78cf62c6dd7299da883e1@gmail.com> | #!/usr/bin/env python
from setuptools import setup
py_files = [
"ansible/module_utils/hashivault",
"ansible/plugins/lookup/hashivault",
"ansible/plugins/action/hashivault_read_to_file",
"ansible/plugins/action/hashivault_write_from_file",
]
files = [
"ansible/modules/hashivault",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-hashivault',
version='4.0.0',
description='Ansible Modules for Hashicorp Vault',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Terry Howe',
author_email='terrylhowe@example.com',
url='https://github.com/TerryHowe/ansible-modules-hashivault',
py_modules=py_files,
packages=files,
install_requires=[
'ansible>=2.0.0',
'hvac>=0.9.5',
'requests',
],
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
py_files = [
"ansible/module_utils/hashivault",
"ansible/plugins/lookup/hashivault",
"ansible/plugins/action/hashivault_read_to_file",
"ansible/plugins/action/hashivault_write_from_file",
]
files = [
"ansible/modules/hashivault",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-hashivault',
version='4.0.0',
description='Ansible Modules for Hashicorp Vault',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Terry Howe',
author_email='terrylhowe@example.com',
url='https://github.com/TerryHowe/ansible-modules-hashivault',
py_modules=py_files,
packages=files,
install_requires=[
'ansible>=2.0.0',
'hvac>=0.9.2',
'requests',
],
)
<commit_msg>Upgrade hvac to have latest fix on the consul secret engine
Signed-off-by: Damien Goldenberg <153f528c345216f3d6a78cf62c6dd7299da883e1@gmail.com><commit_after> | #!/usr/bin/env python
from setuptools import setup
py_files = [
"ansible/module_utils/hashivault",
"ansible/plugins/lookup/hashivault",
"ansible/plugins/action/hashivault_read_to_file",
"ansible/plugins/action/hashivault_write_from_file",
]
files = [
"ansible/modules/hashivault",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-hashivault',
version='4.0.0',
description='Ansible Modules for Hashicorp Vault',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Terry Howe',
author_email='terrylhowe@example.com',
url='https://github.com/TerryHowe/ansible-modules-hashivault',
py_modules=py_files,
packages=files,
install_requires=[
'ansible>=2.0.0',
'hvac>=0.9.5',
'requests',
],
)
| #!/usr/bin/env python
from setuptools import setup
py_files = [
"ansible/module_utils/hashivault",
"ansible/plugins/lookup/hashivault",
"ansible/plugins/action/hashivault_read_to_file",
"ansible/plugins/action/hashivault_write_from_file",
]
files = [
"ansible/modules/hashivault",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-hashivault',
version='4.0.0',
description='Ansible Modules for Hashicorp Vault',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Terry Howe',
author_email='terrylhowe@example.com',
url='https://github.com/TerryHowe/ansible-modules-hashivault',
py_modules=py_files,
packages=files,
install_requires=[
'ansible>=2.0.0',
'hvac>=0.9.2',
'requests',
],
)
Upgrade hvac to have latest fix on the consul secret engine
Signed-off-by: Damien Goldenberg <153f528c345216f3d6a78cf62c6dd7299da883e1@gmail.com>#!/usr/bin/env python
from setuptools import setup
py_files = [
"ansible/module_utils/hashivault",
"ansible/plugins/lookup/hashivault",
"ansible/plugins/action/hashivault_read_to_file",
"ansible/plugins/action/hashivault_write_from_file",
]
files = [
"ansible/modules/hashivault",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-hashivault',
version='4.0.0',
description='Ansible Modules for Hashicorp Vault',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Terry Howe',
author_email='terrylhowe@example.com',
url='https://github.com/TerryHowe/ansible-modules-hashivault',
py_modules=py_files,
packages=files,
install_requires=[
'ansible>=2.0.0',
'hvac>=0.9.5',
'requests',
],
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
py_files = [
"ansible/module_utils/hashivault",
"ansible/plugins/lookup/hashivault",
"ansible/plugins/action/hashivault_read_to_file",
"ansible/plugins/action/hashivault_write_from_file",
]
files = [
"ansible/modules/hashivault",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-hashivault',
version='4.0.0',
description='Ansible Modules for Hashicorp Vault',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Terry Howe',
author_email='terrylhowe@example.com',
url='https://github.com/TerryHowe/ansible-modules-hashivault',
py_modules=py_files,
packages=files,
install_requires=[
'ansible>=2.0.0',
'hvac>=0.9.2',
'requests',
],
)
<commit_msg>Upgrade hvac to have latest fix on the consul secret engine
Signed-off-by: Damien Goldenberg <153f528c345216f3d6a78cf62c6dd7299da883e1@gmail.com><commit_after>#!/usr/bin/env python
from setuptools import setup
py_files = [
"ansible/module_utils/hashivault",
"ansible/plugins/lookup/hashivault",
"ansible/plugins/action/hashivault_read_to_file",
"ansible/plugins/action/hashivault_write_from_file",
]
files = [
"ansible/modules/hashivault",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-hashivault',
version='4.0.0',
description='Ansible Modules for Hashicorp Vault',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Terry Howe',
author_email='terrylhowe@example.com',
url='https://github.com/TerryHowe/ansible-modules-hashivault',
py_modules=py_files,
packages=files,
install_requires=[
'ansible>=2.0.0',
'hvac>=0.9.5',
'requests',
],
)
|
ebe23ee92bb72d9daa756925694cc2cda2e53df0 | setup.py | setup.py | from setuptools import setup
setup(
name='django-gcs',
packages=['django_gcs'],
version='0.1',
description='Django file storage backend for Google Cloud Storage',
author='Bogdan Radko',
author_email='bodja.rules@gmail.com',
install_requires=[
'django',
'gcloud == 0.11.0'
],
license='MIT',
url='https://github.com/bodja/django-gcs',
download_url='https://github.com/bodja/django-gcs/tarball/0.1',
keywords=['django', 'storage', 'gcs', 'google cloud storage'],
classifiers=[]
)
| from setuptools import setup
setup(
name='django-gcs',
packages=['django_gcs'],
version='0.1.0',
description='Django file storage backend for Google Cloud Storage',
author='Bogdan Radko',
author_email='bodja.rules@gmail.com',
install_requires=[
'django',
'gcloud == 0.11.0'
],
license='MIT',
url='https://github.com/bodja/django-gcs',
download_url='https://github.com/bodja/django-gcs/tarball/0.1',
keywords=['django', 'storage', 'gcs', 'google cloud storage'],
classifiers=[]
)
| Change version to be able resubmit to pypi | Change version to be able resubmit to pypi
| Python | mit | bodja/django-gcs | from setuptools import setup
setup(
name='django-gcs',
packages=['django_gcs'],
version='0.1',
description='Django file storage backend for Google Cloud Storage',
author='Bogdan Radko',
author_email='bodja.rules@gmail.com',
install_requires=[
'django',
'gcloud == 0.11.0'
],
license='MIT',
url='https://github.com/bodja/django-gcs',
download_url='https://github.com/bodja/django-gcs/tarball/0.1',
keywords=['django', 'storage', 'gcs', 'google cloud storage'],
classifiers=[]
)
Change version to be able resubmit to pypi | from setuptools import setup
setup(
name='django-gcs',
packages=['django_gcs'],
version='0.1.0',
description='Django file storage backend for Google Cloud Storage',
author='Bogdan Radko',
author_email='bodja.rules@gmail.com',
install_requires=[
'django',
'gcloud == 0.11.0'
],
license='MIT',
url='https://github.com/bodja/django-gcs',
download_url='https://github.com/bodja/django-gcs/tarball/0.1',
keywords=['django', 'storage', 'gcs', 'google cloud storage'],
classifiers=[]
)
| <commit_before>from setuptools import setup
setup(
name='django-gcs',
packages=['django_gcs'],
version='0.1',
description='Django file storage backend for Google Cloud Storage',
author='Bogdan Radko',
author_email='bodja.rules@gmail.com',
install_requires=[
'django',
'gcloud == 0.11.0'
],
license='MIT',
url='https://github.com/bodja/django-gcs',
download_url='https://github.com/bodja/django-gcs/tarball/0.1',
keywords=['django', 'storage', 'gcs', 'google cloud storage'],
classifiers=[]
)
<commit_msg>Change version to be able resubmit to pypi<commit_after> | from setuptools import setup
setup(
name='django-gcs',
packages=['django_gcs'],
version='0.1.0',
description='Django file storage backend for Google Cloud Storage',
author='Bogdan Radko',
author_email='bodja.rules@gmail.com',
install_requires=[
'django',
'gcloud == 0.11.0'
],
license='MIT',
url='https://github.com/bodja/django-gcs',
download_url='https://github.com/bodja/django-gcs/tarball/0.1',
keywords=['django', 'storage', 'gcs', 'google cloud storage'],
classifiers=[]
)
| from setuptools import setup
setup(
name='django-gcs',
packages=['django_gcs'],
version='0.1',
description='Django file storage backend for Google Cloud Storage',
author='Bogdan Radko',
author_email='bodja.rules@gmail.com',
install_requires=[
'django',
'gcloud == 0.11.0'
],
license='MIT',
url='https://github.com/bodja/django-gcs',
download_url='https://github.com/bodja/django-gcs/tarball/0.1',
keywords=['django', 'storage', 'gcs', 'google cloud storage'],
classifiers=[]
)
Change version to be able resubmit to pypifrom setuptools import setup
setup(
name='django-gcs',
packages=['django_gcs'],
version='0.1.0',
description='Django file storage backend for Google Cloud Storage',
author='Bogdan Radko',
author_email='bodja.rules@gmail.com',
install_requires=[
'django',
'gcloud == 0.11.0'
],
license='MIT',
url='https://github.com/bodja/django-gcs',
download_url='https://github.com/bodja/django-gcs/tarball/0.1',
keywords=['django', 'storage', 'gcs', 'google cloud storage'],
classifiers=[]
)
| <commit_before>from setuptools import setup
setup(
name='django-gcs',
packages=['django_gcs'],
version='0.1',
description='Django file storage backend for Google Cloud Storage',
author='Bogdan Radko',
author_email='bodja.rules@gmail.com',
install_requires=[
'django',
'gcloud == 0.11.0'
],
license='MIT',
url='https://github.com/bodja/django-gcs',
download_url='https://github.com/bodja/django-gcs/tarball/0.1',
keywords=['django', 'storage', 'gcs', 'google cloud storage'],
classifiers=[]
)
<commit_msg>Change version to be able resubmit to pypi<commit_after>from setuptools import setup
setup(
name='django-gcs',
packages=['django_gcs'],
version='0.1.0',
description='Django file storage backend for Google Cloud Storage',
author='Bogdan Radko',
author_email='bodja.rules@gmail.com',
install_requires=[
'django',
'gcloud == 0.11.0'
],
license='MIT',
url='https://github.com/bodja/django-gcs',
download_url='https://github.com/bodja/django-gcs/tarball/0.1',
keywords=['django', 'storage', 'gcs', 'google cloud storage'],
classifiers=[]
)
|
84d87a3dab6eecc65f8b04276a1fa7dab3d43461 | setup.py | setup.py | from django_rocket import __version__, __author__, __email__, __license__
from setuptools import setup, find_packages
README = open('README.rst').read()
# Second paragraph has the short description
description = README.split('\n')[1]
setup(
name='django-rocket',
version=__version__,
description=description,
long_description=README,
author=__author__,
author_email=__email__,
license=__license__,
url='https://github.com/mariocesar/django-rocket',
download_url='https://pypi.python.org/pypi/django-rocket',
packages=find_packages(exclude=['tests', 'tests.*', 'example', 'docs', 'env']),
install_requires=[
'django>1.5,<1.7',
'wheel',
],
extras_require={
'Docs': ["sphinx", "sphinx_rtd_theme"],
'develop': ["coverage"],
},
zip_safe=False,
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django'
]
)
| from django_rocket import __version__, __author__, __email__, __license__
from setuptools import setup, find_packages
README = open('README.rst').read()
# Second paragraph has the short description
description = README.split('\n')[1]
setup(
name='django-rocket',
version=__version__,
description=description,
long_description=README,
author=__author__,
author_email=__email__,
license=__license__,
url='https://github.com/mariocesar/django-rocket',
download_url='https://pypi.python.org/pypi/django-rocket',
packages=find_packages(exclude=['tests', 'tests.*', 'example', 'docs', 'env']),
install_requires=[
'django>1.5,<1.8',
'wheel',
],
extras_require={
'develop': ["coverage", "sphinx", "sphinx_rtd_theme"],
},
zip_safe=False,
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django'
]
)
| Upgrade to support Django 1.7 | Upgrade to support Django 1.7
| Python | mit | mariocesar/django-rocket,mariocesar/django-rocket | from django_rocket import __version__, __author__, __email__, __license__
from setuptools import setup, find_packages
README = open('README.rst').read()
# Second paragraph has the short description
description = README.split('\n')[1]
setup(
name='django-rocket',
version=__version__,
description=description,
long_description=README,
author=__author__,
author_email=__email__,
license=__license__,
url='https://github.com/mariocesar/django-rocket',
download_url='https://pypi.python.org/pypi/django-rocket',
packages=find_packages(exclude=['tests', 'tests.*', 'example', 'docs', 'env']),
install_requires=[
'django>1.5,<1.7',
'wheel',
],
extras_require={
'Docs': ["sphinx", "sphinx_rtd_theme"],
'develop': ["coverage"],
},
zip_safe=False,
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django'
]
)
Upgrade to support Django 1.7 | from django_rocket import __version__, __author__, __email__, __license__
from setuptools import setup, find_packages
README = open('README.rst').read()
# Second paragraph has the short description
description = README.split('\n')[1]
setup(
name='django-rocket',
version=__version__,
description=description,
long_description=README,
author=__author__,
author_email=__email__,
license=__license__,
url='https://github.com/mariocesar/django-rocket',
download_url='https://pypi.python.org/pypi/django-rocket',
packages=find_packages(exclude=['tests', 'tests.*', 'example', 'docs', 'env']),
install_requires=[
'django>1.5,<1.8',
'wheel',
],
extras_require={
'develop': ["coverage", "sphinx", "sphinx_rtd_theme"],
},
zip_safe=False,
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django'
]
)
| <commit_before>from django_rocket import __version__, __author__, __email__, __license__
from setuptools import setup, find_packages
README = open('README.rst').read()
# Second paragraph has the short description
description = README.split('\n')[1]
setup(
name='django-rocket',
version=__version__,
description=description,
long_description=README,
author=__author__,
author_email=__email__,
license=__license__,
url='https://github.com/mariocesar/django-rocket',
download_url='https://pypi.python.org/pypi/django-rocket',
packages=find_packages(exclude=['tests', 'tests.*', 'example', 'docs', 'env']),
install_requires=[
'django>1.5,<1.7',
'wheel',
],
extras_require={
'Docs': ["sphinx", "sphinx_rtd_theme"],
'develop': ["coverage"],
},
zip_safe=False,
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django'
]
)
<commit_msg>Upgrade to support Django 1.7<commit_after> | from django_rocket import __version__, __author__, __email__, __license__
from setuptools import setup, find_packages
README = open('README.rst').read()
# Second paragraph has the short description
description = README.split('\n')[1]
setup(
name='django-rocket',
version=__version__,
description=description,
long_description=README,
author=__author__,
author_email=__email__,
license=__license__,
url='https://github.com/mariocesar/django-rocket',
download_url='https://pypi.python.org/pypi/django-rocket',
packages=find_packages(exclude=['tests', 'tests.*', 'example', 'docs', 'env']),
install_requires=[
'django>1.5,<1.8',
'wheel',
],
extras_require={
'develop': ["coverage", "sphinx", "sphinx_rtd_theme"],
},
zip_safe=False,
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django'
]
)
| from django_rocket import __version__, __author__, __email__, __license__
from setuptools import setup, find_packages
README = open('README.rst').read()
# Second paragraph has the short description
description = README.split('\n')[1]
setup(
name='django-rocket',
version=__version__,
description=description,
long_description=README,
author=__author__,
author_email=__email__,
license=__license__,
url='https://github.com/mariocesar/django-rocket',
download_url='https://pypi.python.org/pypi/django-rocket',
packages=find_packages(exclude=['tests', 'tests.*', 'example', 'docs', 'env']),
install_requires=[
'django>1.5,<1.7',
'wheel',
],
extras_require={
'Docs': ["sphinx", "sphinx_rtd_theme"],
'develop': ["coverage"],
},
zip_safe=False,
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django'
]
)
Upgrade to support Django 1.7from django_rocket import __version__, __author__, __email__, __license__
from setuptools import setup, find_packages
README = open('README.rst').read()
# Second paragraph has the short description
description = README.split('\n')[1]
setup(
name='django-rocket',
version=__version__,
description=description,
long_description=README,
author=__author__,
author_email=__email__,
license=__license__,
url='https://github.com/mariocesar/django-rocket',
download_url='https://pypi.python.org/pypi/django-rocket',
packages=find_packages(exclude=['tests', 'tests.*', 'example', 'docs', 'env']),
install_requires=[
'django>1.5,<1.8',
'wheel',
],
extras_require={
'develop': ["coverage", "sphinx", "sphinx_rtd_theme"],
},
zip_safe=False,
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django'
]
)
| <commit_before>from django_rocket import __version__, __author__, __email__, __license__
from setuptools import setup, find_packages
README = open('README.rst').read()
# Second paragraph has the short description
description = README.split('\n')[1]
setup(
name='django-rocket',
version=__version__,
description=description,
long_description=README,
author=__author__,
author_email=__email__,
license=__license__,
url='https://github.com/mariocesar/django-rocket',
download_url='https://pypi.python.org/pypi/django-rocket',
packages=find_packages(exclude=['tests', 'tests.*', 'example', 'docs', 'env']),
install_requires=[
'django>1.5,<1.7',
'wheel',
],
extras_require={
'Docs': ["sphinx", "sphinx_rtd_theme"],
'develop': ["coverage"],
},
zip_safe=False,
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django'
]
)
<commit_msg>Upgrade to support Django 1.7<commit_after>from django_rocket import __version__, __author__, __email__, __license__
from setuptools import setup, find_packages
README = open('README.rst').read()
# Second paragraph has the short description
description = README.split('\n')[1]
setup(
name='django-rocket',
version=__version__,
description=description,
long_description=README,
author=__author__,
author_email=__email__,
license=__license__,
url='https://github.com/mariocesar/django-rocket',
download_url='https://pypi.python.org/pypi/django-rocket',
packages=find_packages(exclude=['tests', 'tests.*', 'example', 'docs', 'env']),
install_requires=[
'django>1.5,<1.8',
'wheel',
],
extras_require={
'develop': ["coverage", "sphinx", "sphinx_rtd_theme"],
},
zip_safe=False,
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django'
]
)
|
214685d155164565be308f6b2714c03557c9b774 | setup.py | setup.py | import os
from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'pytest-remove-stale-bytecode',
]
setup(name='reg',
version='0.9.3.dev0',
description="Generic functions. Clever registries and lookups",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
license="BSD",
url='http://reg.readthedocs.org',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Development Status :: 5 - Production/Stable'
],
install_requires=[
'setuptools',
'repoze.lru',
],
tests_require=tests_require,
extras_require = dict(
test=tests_require,
)
)
| import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'pytest-remove-stale-bytecode',
]
setup(name='reg',
version='0.9.3.dev0',
description="Generic functions. Clever registries and lookups",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
license="BSD",
url='http://reg.readthedocs.org',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Development Status :: 5 - Production/Stable'
],
install_requires=[
'setuptools',
'repoze.lru',
],
tests_require=tests_require,
extras_require=dict(
test=tests_require,
)
)
| Use io.open with encoding='utf-8' and flake8 compliance | Use io.open with encoding='utf-8' and flake8 compliance
| Python | bsd-3-clause | taschini/reg,morepath/reg | import os
from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'pytest-remove-stale-bytecode',
]
setup(name='reg',
version='0.9.3.dev0',
description="Generic functions. Clever registries and lookups",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
license="BSD",
url='http://reg.readthedocs.org',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Development Status :: 5 - Production/Stable'
],
install_requires=[
'setuptools',
'repoze.lru',
],
tests_require=tests_require,
extras_require = dict(
test=tests_require,
)
)
Use io.open with encoding='utf-8' and flake8 compliance | import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'pytest-remove-stale-bytecode',
]
setup(name='reg',
version='0.9.3.dev0',
description="Generic functions. Clever registries and lookups",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
license="BSD",
url='http://reg.readthedocs.org',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Development Status :: 5 - Production/Stable'
],
install_requires=[
'setuptools',
'repoze.lru',
],
tests_require=tests_require,
extras_require=dict(
test=tests_require,
)
)
| <commit_before>import os
from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'pytest-remove-stale-bytecode',
]
setup(name='reg',
version='0.9.3.dev0',
description="Generic functions. Clever registries and lookups",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
license="BSD",
url='http://reg.readthedocs.org',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Development Status :: 5 - Production/Stable'
],
install_requires=[
'setuptools',
'repoze.lru',
],
tests_require=tests_require,
extras_require = dict(
test=tests_require,
)
)
<commit_msg>Use io.open with encoding='utf-8' and flake8 compliance<commit_after> | import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'pytest-remove-stale-bytecode',
]
setup(name='reg',
version='0.9.3.dev0',
description="Generic functions. Clever registries and lookups",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
license="BSD",
url='http://reg.readthedocs.org',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Development Status :: 5 - Production/Stable'
],
install_requires=[
'setuptools',
'repoze.lru',
],
tests_require=tests_require,
extras_require=dict(
test=tests_require,
)
)
| import os
from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'pytest-remove-stale-bytecode',
]
setup(name='reg',
version='0.9.3.dev0',
description="Generic functions. Clever registries and lookups",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
license="BSD",
url='http://reg.readthedocs.org',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Development Status :: 5 - Production/Stable'
],
install_requires=[
'setuptools',
'repoze.lru',
],
tests_require=tests_require,
extras_require = dict(
test=tests_require,
)
)
Use io.open with encoding='utf-8' and flake8 complianceimport io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'pytest-remove-stale-bytecode',
]
setup(name='reg',
version='0.9.3.dev0',
description="Generic functions. Clever registries and lookups",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
license="BSD",
url='http://reg.readthedocs.org',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Development Status :: 5 - Production/Stable'
],
install_requires=[
'setuptools',
'repoze.lru',
],
tests_require=tests_require,
extras_require=dict(
test=tests_require,
)
)
| <commit_before>import os
from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'pytest-remove-stale-bytecode',
]
setup(name='reg',
version='0.9.3.dev0',
description="Generic functions. Clever registries and lookups",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
license="BSD",
url='http://reg.readthedocs.org',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Development Status :: 5 - Production/Stable'
],
install_requires=[
'setuptools',
'repoze.lru',
],
tests_require=tests_require,
extras_require = dict(
test=tests_require,
)
)
<commit_msg>Use io.open with encoding='utf-8' and flake8 compliance<commit_after>import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
tests_require = [
'pytest >= 2.0',
'pytest-cov',
'pytest-remove-stale-bytecode',
]
setup(name='reg',
version='0.9.3.dev0',
description="Generic functions. Clever registries and lookups",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
license="BSD",
url='http://reg.readthedocs.org',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Development Status :: 5 - Production/Stable'
],
install_requires=[
'setuptools',
'repoze.lru',
],
tests_require=tests_require,
extras_require=dict(
test=tests_require,
)
)
|
1d729ada6c81cdf75c6f76b996337e46d7b679a0 | setup.py | setup.py | #!/usr/bin/env python
# encoding: utf8
import platform
import os
system = platform.system()
from distutils.core import setup
setup(
name='matlab2cpp',
version='0.2',
packages=['matlab2cpp', 'matlab2cpp.translations',
'matlab2cpp.testsuite', 'matlab2cpp.inlines'],
package_dir={'': 'src'},
url='http://github.com/jonathf/matlab2cpp',
license='BSD',
author="Jonathan Feinberg",
author_email="jonathan@feinberg.no",
description='Matlab to C++ converter'
)
if system == "Windows":
print
print "Program now runnable through 'mconvert.py'"
print "To start:"
print "> python mconvert.py -h"
else:
mconvert = "cp mconvert.py /usr/local/bin/mconvert"
print mconvert
os.system(mconvert)
| #!/usr/bin/env python
# encoding: utf8
import platform
import os
system = platform.system()
from distutils.core import setup
setup(
name='matlab2cpp',
version='0.2',
packages=['matlab2cpp', 'matlab2cpp.translations',
'matlab2cpp.testsuite', 'matlab2cpp.inlines'],
package_dir={'': 'src'},
url='http://github.com/jonathf/matlab2cpp',
license='BSD',
author="Jonathan Feinberg",
author_email="jonathan@feinberg.no",
description='Matlab to C++ converter'
)
if system == "Windows":
print
print "Program now runnable through 'mconvert.py'"
print "To start:"
print "> python mconvert.py -h"
else:
mconvert = "cp mconvert.py /usr/local/bin/mconvert"
print mconvert
os.system(mconvert)
chmod = "chmod 755 /usr/local/bin/mconvert"
print chmod
os.system(chmod)
| Change mode of mconvert to be globaly executable | Change mode of mconvert to be globaly executable
| Python | bsd-3-clause | jonathf/matlab2cpp,jonathf/matlab2cpp,jonathf/matlab2cpp | #!/usr/bin/env python
# encoding: utf8
import platform
import os
system = platform.system()
from distutils.core import setup
setup(
name='matlab2cpp',
version='0.2',
packages=['matlab2cpp', 'matlab2cpp.translations',
'matlab2cpp.testsuite', 'matlab2cpp.inlines'],
package_dir={'': 'src'},
url='http://github.com/jonathf/matlab2cpp',
license='BSD',
author="Jonathan Feinberg",
author_email="jonathan@feinberg.no",
description='Matlab to C++ converter'
)
if system == "Windows":
print
print "Program now runnable through 'mconvert.py'"
print "To start:"
print "> python mconvert.py -h"
else:
mconvert = "cp mconvert.py /usr/local/bin/mconvert"
print mconvert
os.system(mconvert)
Change mode of mconvert to be globaly executable | #!/usr/bin/env python
# encoding: utf8
import platform
import os
system = platform.system()
from distutils.core import setup
setup(
name='matlab2cpp',
version='0.2',
packages=['matlab2cpp', 'matlab2cpp.translations',
'matlab2cpp.testsuite', 'matlab2cpp.inlines'],
package_dir={'': 'src'},
url='http://github.com/jonathf/matlab2cpp',
license='BSD',
author="Jonathan Feinberg",
author_email="jonathan@feinberg.no",
description='Matlab to C++ converter'
)
if system == "Windows":
print
print "Program now runnable through 'mconvert.py'"
print "To start:"
print "> python mconvert.py -h"
else:
mconvert = "cp mconvert.py /usr/local/bin/mconvert"
print mconvert
os.system(mconvert)
chmod = "chmod 755 /usr/local/bin/mconvert"
print chmod
os.system(chmod)
| <commit_before>#!/usr/bin/env python
# encoding: utf8
import platform
import os
system = platform.system()
from distutils.core import setup
setup(
name='matlab2cpp',
version='0.2',
packages=['matlab2cpp', 'matlab2cpp.translations',
'matlab2cpp.testsuite', 'matlab2cpp.inlines'],
package_dir={'': 'src'},
url='http://github.com/jonathf/matlab2cpp',
license='BSD',
author="Jonathan Feinberg",
author_email="jonathan@feinberg.no",
description='Matlab to C++ converter'
)
if system == "Windows":
print
print "Program now runnable through 'mconvert.py'"
print "To start:"
print "> python mconvert.py -h"
else:
mconvert = "cp mconvert.py /usr/local/bin/mconvert"
print mconvert
os.system(mconvert)
<commit_msg>Change mode of mconvert to be globaly executable<commit_after> | #!/usr/bin/env python
# encoding: utf8
import platform
import os
system = platform.system()
from distutils.core import setup
setup(
name='matlab2cpp',
version='0.2',
packages=['matlab2cpp', 'matlab2cpp.translations',
'matlab2cpp.testsuite', 'matlab2cpp.inlines'],
package_dir={'': 'src'},
url='http://github.com/jonathf/matlab2cpp',
license='BSD',
author="Jonathan Feinberg",
author_email="jonathan@feinberg.no",
description='Matlab to C++ converter'
)
if system == "Windows":
print
print "Program now runnable through 'mconvert.py'"
print "To start:"
print "> python mconvert.py -h"
else:
mconvert = "cp mconvert.py /usr/local/bin/mconvert"
print mconvert
os.system(mconvert)
chmod = "chmod 755 /usr/local/bin/mconvert"
print chmod
os.system(chmod)
| #!/usr/bin/env python
# encoding: utf8
import platform
import os
system = platform.system()
from distutils.core import setup
setup(
name='matlab2cpp',
version='0.2',
packages=['matlab2cpp', 'matlab2cpp.translations',
'matlab2cpp.testsuite', 'matlab2cpp.inlines'],
package_dir={'': 'src'},
url='http://github.com/jonathf/matlab2cpp',
license='BSD',
author="Jonathan Feinberg",
author_email="jonathan@feinberg.no",
description='Matlab to C++ converter'
)
if system == "Windows":
print
print "Program now runnable through 'mconvert.py'"
print "To start:"
print "> python mconvert.py -h"
else:
mconvert = "cp mconvert.py /usr/local/bin/mconvert"
print mconvert
os.system(mconvert)
Change mode of mconvert to be globaly executable#!/usr/bin/env python
# encoding: utf8
import platform
import os
system = platform.system()
from distutils.core import setup
setup(
name='matlab2cpp',
version='0.2',
packages=['matlab2cpp', 'matlab2cpp.translations',
'matlab2cpp.testsuite', 'matlab2cpp.inlines'],
package_dir={'': 'src'},
url='http://github.com/jonathf/matlab2cpp',
license='BSD',
author="Jonathan Feinberg",
author_email="jonathan@feinberg.no",
description='Matlab to C++ converter'
)
if system == "Windows":
print
print "Program now runnable through 'mconvert.py'"
print "To start:"
print "> python mconvert.py -h"
else:
mconvert = "cp mconvert.py /usr/local/bin/mconvert"
print mconvert
os.system(mconvert)
chmod = "chmod 755 /usr/local/bin/mconvert"
print chmod
os.system(chmod)
| <commit_before>#!/usr/bin/env python
# encoding: utf8
import platform
import os
system = platform.system()
from distutils.core import setup
setup(
name='matlab2cpp',
version='0.2',
packages=['matlab2cpp', 'matlab2cpp.translations',
'matlab2cpp.testsuite', 'matlab2cpp.inlines'],
package_dir={'': 'src'},
url='http://github.com/jonathf/matlab2cpp',
license='BSD',
author="Jonathan Feinberg",
author_email="jonathan@feinberg.no",
description='Matlab to C++ converter'
)
if system == "Windows":
print
print "Program now runnable through 'mconvert.py'"
print "To start:"
print "> python mconvert.py -h"
else:
mconvert = "cp mconvert.py /usr/local/bin/mconvert"
print mconvert
os.system(mconvert)
<commit_msg>Change mode of mconvert to be globaly executable<commit_after>#!/usr/bin/env python
# encoding: utf8
import platform
import os
system = platform.system()
from distutils.core import setup
setup(
name='matlab2cpp',
version='0.2',
packages=['matlab2cpp', 'matlab2cpp.translations',
'matlab2cpp.testsuite', 'matlab2cpp.inlines'],
package_dir={'': 'src'},
url='http://github.com/jonathf/matlab2cpp',
license='BSD',
author="Jonathan Feinberg",
author_email="jonathan@feinberg.no",
description='Matlab to C++ converter'
)
if system == "Windows":
print
print "Program now runnable through 'mconvert.py'"
print "To start:"
print "> python mconvert.py -h"
else:
mconvert = "cp mconvert.py /usr/local/bin/mconvert"
print mconvert
os.system(mconvert)
chmod = "chmod 755 /usr/local/bin/mconvert"
print chmod
os.system(chmod)
|
052cac696f044119efc34424b0e1778c77b90399 | setup.py | setup.py | from setuptools import setup
from tcxparser import __version__
setup(
name='python-tcxparser',
version=__version__,
author='Vinod Kurup',
author_email='vinod@kurup.com',
py_modules=['tcxparser', ],
url='https://github.com/vkurup/python-tcxparser/',
license='BSD',
description='Simple parser for Garmin TCX files',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=open('README.md').read(),
install_requires=[
"lxml",
],
)
| from setuptools import setup
from tcxparser import __version__
setup(
name='python-tcxparser',
version=__version__,
author='Vinod Kurup',
author_email='vinod@kurup.com',
py_modules=['tcxparser', 'test_tcxparser'],
url='https://github.com/vkurup/python-tcxparser/',
license='BSD',
description='Simple parser for Garmin TCX files',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=open('README.md').read(),
install_requires=[
"lxml",
],
test_suite="test_tcxparser",
)
| Add test suite to the distribution | Add test suite to the distribution
| Python | bsd-2-clause | vkurup/python-tcxparser,SimonArnu/python-tcxparser,vkurup/python-tcxparser | from setuptools import setup
from tcxparser import __version__
setup(
name='python-tcxparser',
version=__version__,
author='Vinod Kurup',
author_email='vinod@kurup.com',
py_modules=['tcxparser', ],
url='https://github.com/vkurup/python-tcxparser/',
license='BSD',
description='Simple parser for Garmin TCX files',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=open('README.md').read(),
install_requires=[
"lxml",
],
)
Add test suite to the distribution | from setuptools import setup
from tcxparser import __version__
setup(
name='python-tcxparser',
version=__version__,
author='Vinod Kurup',
author_email='vinod@kurup.com',
py_modules=['tcxparser', 'test_tcxparser'],
url='https://github.com/vkurup/python-tcxparser/',
license='BSD',
description='Simple parser for Garmin TCX files',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=open('README.md').read(),
install_requires=[
"lxml",
],
test_suite="test_tcxparser",
)
| <commit_before>from setuptools import setup
from tcxparser import __version__
setup(
name='python-tcxparser',
version=__version__,
author='Vinod Kurup',
author_email='vinod@kurup.com',
py_modules=['tcxparser', ],
url='https://github.com/vkurup/python-tcxparser/',
license='BSD',
description='Simple parser for Garmin TCX files',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=open('README.md').read(),
install_requires=[
"lxml",
],
)
<commit_msg>Add test suite to the distribution<commit_after> | from setuptools import setup
from tcxparser import __version__
setup(
name='python-tcxparser',
version=__version__,
author='Vinod Kurup',
author_email='vinod@kurup.com',
py_modules=['tcxparser', 'test_tcxparser'],
url='https://github.com/vkurup/python-tcxparser/',
license='BSD',
description='Simple parser for Garmin TCX files',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=open('README.md').read(),
install_requires=[
"lxml",
],
test_suite="test_tcxparser",
)
| from setuptools import setup
from tcxparser import __version__
setup(
name='python-tcxparser',
version=__version__,
author='Vinod Kurup',
author_email='vinod@kurup.com',
py_modules=['tcxparser', ],
url='https://github.com/vkurup/python-tcxparser/',
license='BSD',
description='Simple parser for Garmin TCX files',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=open('README.md').read(),
install_requires=[
"lxml",
],
)
Add test suite to the distributionfrom setuptools import setup
from tcxparser import __version__
setup(
name='python-tcxparser',
version=__version__,
author='Vinod Kurup',
author_email='vinod@kurup.com',
py_modules=['tcxparser', 'test_tcxparser'],
url='https://github.com/vkurup/python-tcxparser/',
license='BSD',
description='Simple parser for Garmin TCX files',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=open('README.md').read(),
install_requires=[
"lxml",
],
test_suite="test_tcxparser",
)
| <commit_before>from setuptools import setup
from tcxparser import __version__
setup(
name='python-tcxparser',
version=__version__,
author='Vinod Kurup',
author_email='vinod@kurup.com',
py_modules=['tcxparser', ],
url='https://github.com/vkurup/python-tcxparser/',
license='BSD',
description='Simple parser for Garmin TCX files',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=open('README.md').read(),
install_requires=[
"lxml",
],
)
<commit_msg>Add test suite to the distribution<commit_after>from setuptools import setup
from tcxparser import __version__
setup(
name='python-tcxparser',
version=__version__,
author='Vinod Kurup',
author_email='vinod@kurup.com',
py_modules=['tcxparser', 'test_tcxparser'],
url='https://github.com/vkurup/python-tcxparser/',
license='BSD',
description='Simple parser for Garmin TCX files',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=open('README.md').read(),
install_requires=[
"lxml",
],
test_suite="test_tcxparser",
)
|
f65ab66bd34cdd47d1d0958aa3a136292b9d1f2b | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(
version='0.10',
name="amcatscraping",
description="Scrapers for AmCAT",
author="Wouter van Atteveldt, Martijn Bastiaan, Toon Alfrink",
author_email="wouter@vanatteveldt.com",
packages=["amcatscraping"],
classifiers=[
"License :: OSI Approved :: MIT License",
],
install_requires=[
"html2text",
"cssselect",
"pyamf",
"jinja2",
"django",
"docopt",
"lxml",
"amcatclient",
],
dependency_links = [
"https://github.com/amcat/amcatclient#egg=amcatclient",
]
)
| #!/usr/bin/env python
from distutils.core import setup
setup(
version='0.10',
name="amcatscraping",
description="Scrapers for AmCAT",
author="Wouter van Atteveldt, Martijn Bastiaan, Toon Alfrink",
author_email="wouter@vanatteveldt.com",
packages=["amcatscraping"],
classifiers=[
"License :: OSI Approved :: MIT License",
],
install_requires=[
"html2text",
"cssselect",
"pyamf",
"jinja2",
"django",
"docopt",
"lxml",
"amcatclient",
],
dependency_links = [
"https://github.com/amcat/amcatclient#egg=amcatclient-0.10",
]
)
| Add version number to egg, will it blend? | Add version number to egg, will it blend?
| Python | agpl-3.0 | amcat/amcat-scraping,amcat/amcat-scraping | #!/usr/bin/env python
from distutils.core import setup
setup(
version='0.10',
name="amcatscraping",
description="Scrapers for AmCAT",
author="Wouter van Atteveldt, Martijn Bastiaan, Toon Alfrink",
author_email="wouter@vanatteveldt.com",
packages=["amcatscraping"],
classifiers=[
"License :: OSI Approved :: MIT License",
],
install_requires=[
"html2text",
"cssselect",
"pyamf",
"jinja2",
"django",
"docopt",
"lxml",
"amcatclient",
],
dependency_links = [
"https://github.com/amcat/amcatclient#egg=amcatclient",
]
)
Add version number to egg, will it blend? | #!/usr/bin/env python
from distutils.core import setup
setup(
version='0.10',
name="amcatscraping",
description="Scrapers for AmCAT",
author="Wouter van Atteveldt, Martijn Bastiaan, Toon Alfrink",
author_email="wouter@vanatteveldt.com",
packages=["amcatscraping"],
classifiers=[
"License :: OSI Approved :: MIT License",
],
install_requires=[
"html2text",
"cssselect",
"pyamf",
"jinja2",
"django",
"docopt",
"lxml",
"amcatclient",
],
dependency_links = [
"https://github.com/amcat/amcatclient#egg=amcatclient-0.10",
]
)
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(
version='0.10',
name="amcatscraping",
description="Scrapers for AmCAT",
author="Wouter van Atteveldt, Martijn Bastiaan, Toon Alfrink",
author_email="wouter@vanatteveldt.com",
packages=["amcatscraping"],
classifiers=[
"License :: OSI Approved :: MIT License",
],
install_requires=[
"html2text",
"cssselect",
"pyamf",
"jinja2",
"django",
"docopt",
"lxml",
"amcatclient",
],
dependency_links = [
"https://github.com/amcat/amcatclient#egg=amcatclient",
]
)
<commit_msg>Add version number to egg, will it blend?<commit_after> | #!/usr/bin/env python
from distutils.core import setup
setup(
version='0.10',
name="amcatscraping",
description="Scrapers for AmCAT",
author="Wouter van Atteveldt, Martijn Bastiaan, Toon Alfrink",
author_email="wouter@vanatteveldt.com",
packages=["amcatscraping"],
classifiers=[
"License :: OSI Approved :: MIT License",
],
install_requires=[
"html2text",
"cssselect",
"pyamf",
"jinja2",
"django",
"docopt",
"lxml",
"amcatclient",
],
dependency_links = [
"https://github.com/amcat/amcatclient#egg=amcatclient-0.10",
]
)
| #!/usr/bin/env python
from distutils.core import setup
setup(
version='0.10',
name="amcatscraping",
description="Scrapers for AmCAT",
author="Wouter van Atteveldt, Martijn Bastiaan, Toon Alfrink",
author_email="wouter@vanatteveldt.com",
packages=["amcatscraping"],
classifiers=[
"License :: OSI Approved :: MIT License",
],
install_requires=[
"html2text",
"cssselect",
"pyamf",
"jinja2",
"django",
"docopt",
"lxml",
"amcatclient",
],
dependency_links = [
"https://github.com/amcat/amcatclient#egg=amcatclient",
]
)
Add version number to egg, will it blend?#!/usr/bin/env python
from distutils.core import setup
setup(
version='0.10',
name="amcatscraping",
description="Scrapers for AmCAT",
author="Wouter van Atteveldt, Martijn Bastiaan, Toon Alfrink",
author_email="wouter@vanatteveldt.com",
packages=["amcatscraping"],
classifiers=[
"License :: OSI Approved :: MIT License",
],
install_requires=[
"html2text",
"cssselect",
"pyamf",
"jinja2",
"django",
"docopt",
"lxml",
"amcatclient",
],
dependency_links = [
"https://github.com/amcat/amcatclient#egg=amcatclient-0.10",
]
)
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(
version='0.10',
name="amcatscraping",
description="Scrapers for AmCAT",
author="Wouter van Atteveldt, Martijn Bastiaan, Toon Alfrink",
author_email="wouter@vanatteveldt.com",
packages=["amcatscraping"],
classifiers=[
"License :: OSI Approved :: MIT License",
],
install_requires=[
"html2text",
"cssselect",
"pyamf",
"jinja2",
"django",
"docopt",
"lxml",
"amcatclient",
],
dependency_links = [
"https://github.com/amcat/amcatclient#egg=amcatclient",
]
)
<commit_msg>Add version number to egg, will it blend?<commit_after>#!/usr/bin/env python
from distutils.core import setup
setup(
version='0.10',
name="amcatscraping",
description="Scrapers for AmCAT",
author="Wouter van Atteveldt, Martijn Bastiaan, Toon Alfrink",
author_email="wouter@vanatteveldt.com",
packages=["amcatscraping"],
classifiers=[
"License :: OSI Approved :: MIT License",
],
install_requires=[
"html2text",
"cssselect",
"pyamf",
"jinja2",
"django",
"docopt",
"lxml",
"amcatclient",
],
dependency_links = [
"https://github.com/amcat/amcatclient#egg=amcatclient-0.10",
]
)
|
02ff4dd9434b4ff8f72128550fc70b8ba94ca506 | setup.py | setup.py | from setuptools import setup, find_packages
INSTALL_REQUIRES = [
'BTrees',
'zope.component',
'zodbpickle',
'ZODB',
'zope.index',
'repoze.catalog',
'lz4-cffi',
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_email="michael@zerodb.io",
license="Proprietary",
url="http://zerodb.io",
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
)
| from setuptools import setup, find_packages
INSTALL_REQUIRES = [
'BTrees',
'zope.component',
'zodbpickle',
'ZODB',
'zope.index',
'repoze.catalog',
'lz4-cffi',
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_email="michael@zerodb.io",
license="AGPLv3",
url="http://zerodb.io",
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
)
| Change license from Proprietary to AGPLv3 | Change license from Proprietary to AGPLv3
| Python | agpl-3.0 | zero-db/zerodb,zerodb/zerodb,zerodb/zerodb,zero-db/zerodb | from setuptools import setup, find_packages
INSTALL_REQUIRES = [
'BTrees',
'zope.component',
'zodbpickle',
'ZODB',
'zope.index',
'repoze.catalog',
'lz4-cffi',
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_email="michael@zerodb.io",
license="Proprietary",
url="http://zerodb.io",
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
)
Change license from Proprietary to AGPLv3 | from setuptools import setup, find_packages
INSTALL_REQUIRES = [
'BTrees',
'zope.component',
'zodbpickle',
'ZODB',
'zope.index',
'repoze.catalog',
'lz4-cffi',
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_email="michael@zerodb.io",
license="AGPLv3",
url="http://zerodb.io",
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
)
| <commit_before>from setuptools import setup, find_packages
INSTALL_REQUIRES = [
'BTrees',
'zope.component',
'zodbpickle',
'ZODB',
'zope.index',
'repoze.catalog',
'lz4-cffi',
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_email="michael@zerodb.io",
license="Proprietary",
url="http://zerodb.io",
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
)
<commit_msg>Change license from Proprietary to AGPLv3<commit_after> | from setuptools import setup, find_packages
INSTALL_REQUIRES = [
'BTrees',
'zope.component',
'zodbpickle',
'ZODB',
'zope.index',
'repoze.catalog',
'lz4-cffi',
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_email="michael@zerodb.io",
license="AGPLv3",
url="http://zerodb.io",
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
)
| from setuptools import setup, find_packages
INSTALL_REQUIRES = [
'BTrees',
'zope.component',
'zodbpickle',
'ZODB',
'zope.index',
'repoze.catalog',
'lz4-cffi',
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_email="michael@zerodb.io",
license="Proprietary",
url="http://zerodb.io",
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
)
Change license from Proprietary to AGPLv3from setuptools import setup, find_packages
INSTALL_REQUIRES = [
'BTrees',
'zope.component',
'zodbpickle',
'ZODB',
'zope.index',
'repoze.catalog',
'lz4-cffi',
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_email="michael@zerodb.io",
license="AGPLv3",
url="http://zerodb.io",
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
)
| <commit_before>from setuptools import setup, find_packages
INSTALL_REQUIRES = [
'BTrees',
'zope.component',
'zodbpickle',
'ZODB',
'zope.index',
'repoze.catalog',
'lz4-cffi',
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_email="michael@zerodb.io",
license="Proprietary",
url="http://zerodb.io",
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
)
<commit_msg>Change license from Proprietary to AGPLv3<commit_after>from setuptools import setup, find_packages
INSTALL_REQUIRES = [
'BTrees',
'zope.component',
'zodbpickle',
'ZODB',
'zope.index',
'repoze.catalog',
'lz4-cffi',
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_email="michael@zerodb.io",
license="AGPLv3",
url="http://zerodb.io",
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
)
|
a0a8dfcd74e18917c1795f59cc7101295ba5b067 | setup.py | setup.py | import os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.1.1',
author = 'Robert Kern',
author_email = 'robert.kern@enthought.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
| import os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.1.1',
author = 'Robert Kern',
author_email = 'robert.kern@enthought.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse >= 1.1',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
| Update the required argparse version since the version change is not backwards-compatible. | BUG: Update the required argparse version since the version change is not backwards-compatible.
git-svn-id: 228151c6c098cf6fb629a8cadc3a43437d5f10bd@69 b5260ef8-a2c4-4e91-82fd-f242746c304a
| Python | bsd-3-clause | mindw/grin,while0pass/grin,cpcloud/grin,lecheel/grin,LuizCentenaro/grin | import os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.1.1',
author = 'Robert Kern',
author_email = 'robert.kern@enthought.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
BUG: Update the required argparse version since the version change is not backwards-compatible.
git-svn-id: 228151c6c098cf6fb629a8cadc3a43437d5f10bd@69 b5260ef8-a2c4-4e91-82fd-f242746c304a | import os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.1.1',
author = 'Robert Kern',
author_email = 'robert.kern@enthought.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse >= 1.1',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
| <commit_before>import os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.1.1',
author = 'Robert Kern',
author_email = 'robert.kern@enthought.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
<commit_msg>BUG: Update the required argparse version since the version change is not backwards-compatible.
git-svn-id: 228151c6c098cf6fb629a8cadc3a43437d5f10bd@69 b5260ef8-a2c4-4e91-82fd-f242746c304a<commit_after> | import os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.1.1',
author = 'Robert Kern',
author_email = 'robert.kern@enthought.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse >= 1.1',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
| import os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.1.1',
author = 'Robert Kern',
author_email = 'robert.kern@enthought.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
BUG: Update the required argparse version since the version change is not backwards-compatible.
git-svn-id: 228151c6c098cf6fb629a8cadc3a43437d5f10bd@69 b5260ef8-a2c4-4e91-82fd-f242746c304aimport os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.1.1',
author = 'Robert Kern',
author_email = 'robert.kern@enthought.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse >= 1.1',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
| <commit_before>import os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.1.1',
author = 'Robert Kern',
author_email = 'robert.kern@enthought.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
<commit_msg>BUG: Update the required argparse version since the version change is not backwards-compatible.
git-svn-id: 228151c6c098cf6fb629a8cadc3a43437d5f10bd@69 b5260ef8-a2c4-4e91-82fd-f242746c304a<commit_after>import os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.1.1',
author = 'Robert Kern',
author_email = 'robert.kern@enthought.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse >= 1.1',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
|
ac63e960270d0594e1db6d257008b9035344c57e | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pytest-django',
version='1.3.2',
description='A Django plugin for py.test.',
author='Andreas Pelme',
author_email='andreas@pelme.se',
maintainer="Andreas Pelme",
maintainer_email="andreas@pelme.se",
url='http://pytest-django.readthedocs.org/',
packages=['pytest_django'],
long_description=read('README.rst'),
install_requires=['pytest>=2.3.3', 'django>=1.3'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing'],
# the following makes a plugin available to py.test
entry_points={'pytest11': ['django = pytest_django.plugin']})
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pytest-django',
version='1.5',
description='A Django plugin for py.test.',
author='Andreas Pelme',
author_email='andreas@pelme.se',
maintainer="Andreas Pelme",
maintainer_email="andreas@pelme.se",
url='http://pytest-django.readthedocs.org/',
packages=['pytest_django'],
long_description=read('README.rst'),
install_requires=['pytest>=2.3.3', 'django>=1.3'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing'],
# the following makes a plugin available to py.test
entry_points={'pytest11': ['django = pytest_django.plugin']})
| Use a new version number | Use a new version number
| Python | bsd-3-clause | reincubate/pytest-django,hoh/pytest-django,ktosiek/pytest-django,tomviner/pytest-django,pelme/pytest-django,thedrow/pytest-django,bforchhammer/pytest-django,felixonmars/pytest-django,davidszotten/pytest-django,pombredanne/pytest_django,RonnyPfannschmidt/pytest_django,ojake/pytest-django,aptivate/pytest-django | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pytest-django',
version='1.3.2',
description='A Django plugin for py.test.',
author='Andreas Pelme',
author_email='andreas@pelme.se',
maintainer="Andreas Pelme",
maintainer_email="andreas@pelme.se",
url='http://pytest-django.readthedocs.org/',
packages=['pytest_django'],
long_description=read('README.rst'),
install_requires=['pytest>=2.3.3', 'django>=1.3'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing'],
# the following makes a plugin available to py.test
entry_points={'pytest11': ['django = pytest_django.plugin']})
Use a new version number | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pytest-django',
version='1.5',
description='A Django plugin for py.test.',
author='Andreas Pelme',
author_email='andreas@pelme.se',
maintainer="Andreas Pelme",
maintainer_email="andreas@pelme.se",
url='http://pytest-django.readthedocs.org/',
packages=['pytest_django'],
long_description=read('README.rst'),
install_requires=['pytest>=2.3.3', 'django>=1.3'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing'],
# the following makes a plugin available to py.test
entry_points={'pytest11': ['django = pytest_django.plugin']})
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pytest-django',
version='1.3.2',
description='A Django plugin for py.test.',
author='Andreas Pelme',
author_email='andreas@pelme.se',
maintainer="Andreas Pelme",
maintainer_email="andreas@pelme.se",
url='http://pytest-django.readthedocs.org/',
packages=['pytest_django'],
long_description=read('README.rst'),
install_requires=['pytest>=2.3.3', 'django>=1.3'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing'],
# the following makes a plugin available to py.test
entry_points={'pytest11': ['django = pytest_django.plugin']})
<commit_msg>Use a new version number<commit_after> | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pytest-django',
version='1.5',
description='A Django plugin for py.test.',
author='Andreas Pelme',
author_email='andreas@pelme.se',
maintainer="Andreas Pelme",
maintainer_email="andreas@pelme.se",
url='http://pytest-django.readthedocs.org/',
packages=['pytest_django'],
long_description=read('README.rst'),
install_requires=['pytest>=2.3.3', 'django>=1.3'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing'],
# the following makes a plugin available to py.test
entry_points={'pytest11': ['django = pytest_django.plugin']})
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pytest-django',
version='1.3.2',
description='A Django plugin for py.test.',
author='Andreas Pelme',
author_email='andreas@pelme.se',
maintainer="Andreas Pelme",
maintainer_email="andreas@pelme.se",
url='http://pytest-django.readthedocs.org/',
packages=['pytest_django'],
long_description=read('README.rst'),
install_requires=['pytest>=2.3.3', 'django>=1.3'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing'],
# the following makes a plugin available to py.test
entry_points={'pytest11': ['django = pytest_django.plugin']})
Use a new version number#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pytest-django',
version='1.5',
description='A Django plugin for py.test.',
author='Andreas Pelme',
author_email='andreas@pelme.se',
maintainer="Andreas Pelme",
maintainer_email="andreas@pelme.se",
url='http://pytest-django.readthedocs.org/',
packages=['pytest_django'],
long_description=read('README.rst'),
install_requires=['pytest>=2.3.3', 'django>=1.3'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing'],
# the following makes a plugin available to py.test
entry_points={'pytest11': ['django = pytest_django.plugin']})
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pytest-django',
version='1.3.2',
description='A Django plugin for py.test.',
author='Andreas Pelme',
author_email='andreas@pelme.se',
maintainer="Andreas Pelme",
maintainer_email="andreas@pelme.se",
url='http://pytest-django.readthedocs.org/',
packages=['pytest_django'],
long_description=read('README.rst'),
install_requires=['pytest>=2.3.3', 'django>=1.3'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing'],
# the following makes a plugin available to py.test
entry_points={'pytest11': ['django = pytest_django.plugin']})
<commit_msg>Use a new version number<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pytest-django',
version='1.5',
description='A Django plugin for py.test.',
author='Andreas Pelme',
author_email='andreas@pelme.se',
maintainer="Andreas Pelme",
maintainer_email="andreas@pelme.se",
url='http://pytest-django.readthedocs.org/',
packages=['pytest_django'],
long_description=read('README.rst'),
install_requires=['pytest>=2.3.3', 'django>=1.3'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing'],
# the following makes a plugin available to py.test
entry_points={'pytest11': ['django = pytest_django.plugin']})
|
5b050589639c21aecfa5f9dffc8c739920bbd05c | setup.py | setup.py | from setuptools import setup, find_packages
import os
packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return open(full_filename).read()
long_description = read('README.rst')
setup(
name=packagename,
version=version,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='sphinx documentation lsst',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=['future',
'Sphinx',
'PyYAML',
'sphinx-prompt',
'sphinxcontrib-bibtex',
'GitPython'],
tests_require=['pytest',
'pytest-cov',
'pytest-flake8',
'pytest-mock'],
# package_data={},
)
| from setuptools import setup, find_packages
import os
packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return open(full_filename).read()
long_description = read('README.rst')
setup(
name=packagename,
version=version,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='sphinx documentation lsst',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=['future',
'Sphinx',
'PyYAML',
'sphinx-prompt',
'sphinxcontrib-bibtex',
'GitPython',
'lsst-dd-rtd-theme==0.1.0'],
tests_require=['pytest',
'pytest-cov',
'pytest-flake8',
'pytest-mock'],
# package_data={},
)
| Add lsst-dd-rtd-theme as explicit dependency | Add lsst-dd-rtd-theme as explicit dependency
This is needed since lsst-dd-rtd-theme is configured via the ddconfig
module. I'm pinning the theme version to 0.1 so that documenteer's
version effectively controls the version of the theme as well.
| Python | mit | lsst-sqre/documenteer,lsst-sqre/sphinxkit,lsst-sqre/documenteer | from setuptools import setup, find_packages
import os
packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return open(full_filename).read()
long_description = read('README.rst')
setup(
name=packagename,
version=version,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='sphinx documentation lsst',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=['future',
'Sphinx',
'PyYAML',
'sphinx-prompt',
'sphinxcontrib-bibtex',
'GitPython'],
tests_require=['pytest',
'pytest-cov',
'pytest-flake8',
'pytest-mock'],
# package_data={},
)
Add lsst-dd-rtd-theme as explicit dependency
This is needed since lsst-dd-rtd-theme is configured via the ddconfig
module. I'm pinning the theme version to 0.1 so that documenteer's
version effectively controls the version of the theme as well. | from setuptools import setup, find_packages
import os
packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return open(full_filename).read()
long_description = read('README.rst')
setup(
name=packagename,
version=version,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='sphinx documentation lsst',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=['future',
'Sphinx',
'PyYAML',
'sphinx-prompt',
'sphinxcontrib-bibtex',
'GitPython',
'lsst-dd-rtd-theme==0.1.0'],
tests_require=['pytest',
'pytest-cov',
'pytest-flake8',
'pytest-mock'],
# package_data={},
)
| <commit_before>from setuptools import setup, find_packages
import os
packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return open(full_filename).read()
long_description = read('README.rst')
setup(
name=packagename,
version=version,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='sphinx documentation lsst',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=['future',
'Sphinx',
'PyYAML',
'sphinx-prompt',
'sphinxcontrib-bibtex',
'GitPython'],
tests_require=['pytest',
'pytest-cov',
'pytest-flake8',
'pytest-mock'],
# package_data={},
)
<commit_msg>Add lsst-dd-rtd-theme as explicit dependency
This is needed since lsst-dd-rtd-theme is configured via the ddconfig
module. I'm pinning the theme version to 0.1 so that documenteer's
version effectively controls the version of the theme as well.<commit_after> | from setuptools import setup, find_packages
import os
packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return open(full_filename).read()
long_description = read('README.rst')
setup(
name=packagename,
version=version,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='sphinx documentation lsst',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=['future',
'Sphinx',
'PyYAML',
'sphinx-prompt',
'sphinxcontrib-bibtex',
'GitPython',
'lsst-dd-rtd-theme==0.1.0'],
tests_require=['pytest',
'pytest-cov',
'pytest-flake8',
'pytest-mock'],
# package_data={},
)
| from setuptools import setup, find_packages
import os
packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return open(full_filename).read()
long_description = read('README.rst')
setup(
name=packagename,
version=version,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='sphinx documentation lsst',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=['future',
'Sphinx',
'PyYAML',
'sphinx-prompt',
'sphinxcontrib-bibtex',
'GitPython'],
tests_require=['pytest',
'pytest-cov',
'pytest-flake8',
'pytest-mock'],
# package_data={},
)
Add lsst-dd-rtd-theme as explicit dependency
This is needed since lsst-dd-rtd-theme is configured via the ddconfig
module. I'm pinning the theme version to 0.1 so that documenteer's
version effectively controls the version of the theme as well.from setuptools import setup, find_packages
import os
packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return open(full_filename).read()
long_description = read('README.rst')
setup(
name=packagename,
version=version,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='sphinx documentation lsst',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=['future',
'Sphinx',
'PyYAML',
'sphinx-prompt',
'sphinxcontrib-bibtex',
'GitPython',
'lsst-dd-rtd-theme==0.1.0'],
tests_require=['pytest',
'pytest-cov',
'pytest-flake8',
'pytest-mock'],
# package_data={},
)
| <commit_before>from setuptools import setup, find_packages
import os
packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return open(full_filename).read()
long_description = read('README.rst')
setup(
name=packagename,
version=version,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='sphinx documentation lsst',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=['future',
'Sphinx',
'PyYAML',
'sphinx-prompt',
'sphinxcontrib-bibtex',
'GitPython'],
tests_require=['pytest',
'pytest-cov',
'pytest-flake8',
'pytest-mock'],
# package_data={},
)
<commit_msg>Add lsst-dd-rtd-theme as explicit dependency
This is needed since lsst-dd-rtd-theme is configured via the ddconfig
module. I'm pinning the theme version to 0.1 so that documenteer's
version effectively controls the version of the theme as well.<commit_after>from setuptools import setup, find_packages
import os
packagename = 'documenteer'
description = 'Tools for LSST DM documentation projects'
author = 'Jonathan Sick'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/documenteer'
version = '0.1.7'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return open(full_filename).read()
long_description = read('README.rst')
setup(
name=packagename,
version=version,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='sphinx documentation lsst',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=['future',
'Sphinx',
'PyYAML',
'sphinx-prompt',
'sphinxcontrib-bibtex',
'GitPython',
'lsst-dd-rtd-theme==0.1.0'],
tests_require=['pytest',
'pytest-cov',
'pytest-flake8',
'pytest-mock'],
# package_data={},
)
|
2cf406b6542b5a518f302925cf61a2ee957cb5db | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup
with open("README.rst") as file:
long_description = file.read()
setup(
name="tvnamer",
version="1.0.0-dev",
description="Utility to rename lots of TV video files using the TheTVDB.",
long_description=long_description,
author="Tom Leese",
author_email="inbox@tomleese.me.uk",
url="https://github.com/tomleese/tvnamer",
packages=["tvnamer"],
test_suite="tests",
install_requires=[
"pytvdbapi",
"pyside"
],
entry_points={
"console_scripts": [
"tvnamer = tvnamer:main",
"tvnamer-cli = tvnamer.cli:main"
],
'gui_scripts': [
"tvnamer-gui = tvnamer.gui:main",
]
},
classifiers=[
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
]
)
| #!/usr/bin/env python3
from setuptools import setup
with open("README.rst") as file:
long_description = file.read()
setup(
name="tvnamer",
version="1.0.0",
description="Utility to rename lots of TV video files using the TheTVDB.",
long_description=long_description,
author="Tom Leese",
author_email="inbox@tomleese.me.uk",
url="https://github.com/tomleese/tvnamer",
packages=["tvnamer"],
test_suite="tests",
install_requires=[
"pytvdbapi",
"pyside"
],
entry_points={
"console_scripts": [
"tvnamer = tvnamer:main",
"tvnamer-cli = tvnamer.cli:main"
],
'gui_scripts': [
"tvnamer-gui = tvnamer.gui:main",
]
},
classifiers=[
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
]
)
| Remove dev suffix from version | Remove dev suffix from version
It is not a valid Python version specifier.
| Python | mit | tomleese/tvnamer,thomasleese/tvnamer | #!/usr/bin/env python3
from setuptools import setup
with open("README.rst") as file:
long_description = file.read()
setup(
name="tvnamer",
version="1.0.0-dev",
description="Utility to rename lots of TV video files using the TheTVDB.",
long_description=long_description,
author="Tom Leese",
author_email="inbox@tomleese.me.uk",
url="https://github.com/tomleese/tvnamer",
packages=["tvnamer"],
test_suite="tests",
install_requires=[
"pytvdbapi",
"pyside"
],
entry_points={
"console_scripts": [
"tvnamer = tvnamer:main",
"tvnamer-cli = tvnamer.cli:main"
],
'gui_scripts': [
"tvnamer-gui = tvnamer.gui:main",
]
},
classifiers=[
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
]
)
Remove dev suffix from version
It is not a valid Python version specifier. | #!/usr/bin/env python3
from setuptools import setup
with open("README.rst") as file:
long_description = file.read()
setup(
name="tvnamer",
version="1.0.0",
description="Utility to rename lots of TV video files using the TheTVDB.",
long_description=long_description,
author="Tom Leese",
author_email="inbox@tomleese.me.uk",
url="https://github.com/tomleese/tvnamer",
packages=["tvnamer"],
test_suite="tests",
install_requires=[
"pytvdbapi",
"pyside"
],
entry_points={
"console_scripts": [
"tvnamer = tvnamer:main",
"tvnamer-cli = tvnamer.cli:main"
],
'gui_scripts': [
"tvnamer-gui = tvnamer.gui:main",
]
},
classifiers=[
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
]
)
| <commit_before>#!/usr/bin/env python3
from setuptools import setup
with open("README.rst") as file:
long_description = file.read()
setup(
name="tvnamer",
version="1.0.0-dev",
description="Utility to rename lots of TV video files using the TheTVDB.",
long_description=long_description,
author="Tom Leese",
author_email="inbox@tomleese.me.uk",
url="https://github.com/tomleese/tvnamer",
packages=["tvnamer"],
test_suite="tests",
install_requires=[
"pytvdbapi",
"pyside"
],
entry_points={
"console_scripts": [
"tvnamer = tvnamer:main",
"tvnamer-cli = tvnamer.cli:main"
],
'gui_scripts': [
"tvnamer-gui = tvnamer.gui:main",
]
},
classifiers=[
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
]
)
<commit_msg>Remove dev suffix from version
It is not a valid Python version specifier.<commit_after> | #!/usr/bin/env python3
from setuptools import setup
with open("README.rst") as file:
long_description = file.read()
setup(
name="tvnamer",
version="1.0.0",
description="Utility to rename lots of TV video files using the TheTVDB.",
long_description=long_description,
author="Tom Leese",
author_email="inbox@tomleese.me.uk",
url="https://github.com/tomleese/tvnamer",
packages=["tvnamer"],
test_suite="tests",
install_requires=[
"pytvdbapi",
"pyside"
],
entry_points={
"console_scripts": [
"tvnamer = tvnamer:main",
"tvnamer-cli = tvnamer.cli:main"
],
'gui_scripts': [
"tvnamer-gui = tvnamer.gui:main",
]
},
classifiers=[
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
]
)
| #!/usr/bin/env python3
from setuptools import setup
with open("README.rst") as file:
long_description = file.read()
setup(
name="tvnamer",
version="1.0.0-dev",
description="Utility to rename lots of TV video files using the TheTVDB.",
long_description=long_description,
author="Tom Leese",
author_email="inbox@tomleese.me.uk",
url="https://github.com/tomleese/tvnamer",
packages=["tvnamer"],
test_suite="tests",
install_requires=[
"pytvdbapi",
"pyside"
],
entry_points={
"console_scripts": [
"tvnamer = tvnamer:main",
"tvnamer-cli = tvnamer.cli:main"
],
'gui_scripts': [
"tvnamer-gui = tvnamer.gui:main",
]
},
classifiers=[
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
]
)
Remove dev suffix from version
It is not a valid Python version specifier.#!/usr/bin/env python3
from setuptools import setup
with open("README.rst") as file:
long_description = file.read()
setup(
name="tvnamer",
version="1.0.0",
description="Utility to rename lots of TV video files using the TheTVDB.",
long_description=long_description,
author="Tom Leese",
author_email="inbox@tomleese.me.uk",
url="https://github.com/tomleese/tvnamer",
packages=["tvnamer"],
test_suite="tests",
install_requires=[
"pytvdbapi",
"pyside"
],
entry_points={
"console_scripts": [
"tvnamer = tvnamer:main",
"tvnamer-cli = tvnamer.cli:main"
],
'gui_scripts': [
"tvnamer-gui = tvnamer.gui:main",
]
},
classifiers=[
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
]
)
| <commit_before>#!/usr/bin/env python3
from setuptools import setup
with open("README.rst") as file:
long_description = file.read()
setup(
name="tvnamer",
version="1.0.0-dev",
description="Utility to rename lots of TV video files using the TheTVDB.",
long_description=long_description,
author="Tom Leese",
author_email="inbox@tomleese.me.uk",
url="https://github.com/tomleese/tvnamer",
packages=["tvnamer"],
test_suite="tests",
install_requires=[
"pytvdbapi",
"pyside"
],
entry_points={
"console_scripts": [
"tvnamer = tvnamer:main",
"tvnamer-cli = tvnamer.cli:main"
],
'gui_scripts': [
"tvnamer-gui = tvnamer.gui:main",
]
},
classifiers=[
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
]
)
<commit_msg>Remove dev suffix from version
It is not a valid Python version specifier.<commit_after>#!/usr/bin/env python3
from setuptools import setup
with open("README.rst") as file:
long_description = file.read()
setup(
name="tvnamer",
version="1.0.0",
description="Utility to rename lots of TV video files using the TheTVDB.",
long_description=long_description,
author="Tom Leese",
author_email="inbox@tomleese.me.uk",
url="https://github.com/tomleese/tvnamer",
packages=["tvnamer"],
test_suite="tests",
install_requires=[
"pytvdbapi",
"pyside"
],
entry_points={
"console_scripts": [
"tvnamer = tvnamer:main",
"tvnamer-cli = tvnamer.cli:main"
],
'gui_scripts': [
"tvnamer-gui = tvnamer.gui:main",
]
},
classifiers=[
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
]
)
|
428ce0c6d1d90eea1fb6e5fea192b92f2cd4ea36 | setup.py | setup.py | from distutils.core import setup
setup(
name='PAWS',
version='0.1.0',
description='Python AWS Tools for Serverless',
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='https://github.com/funkybob/paws',
packages=['paws', 'paws.contrib', 'paws.views'],
)
| from distutils.core import setup
with open('README.md') as fin:
readme = fin.read()
setup(
name='PAWS',
version='0.1.0',
description='Python AWS Tools for Serverless',
long_description=readme,
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='https://github.com/funkybob/paws',
packages=['paws', 'paws.contrib', 'paws.views'],
)
| Include readme as long description | Include readme as long description
| Python | bsd-3-clause | funkybob/paws | from distutils.core import setup
setup(
name='PAWS',
version='0.1.0',
description='Python AWS Tools for Serverless',
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='https://github.com/funkybob/paws',
packages=['paws', 'paws.contrib', 'paws.views'],
)
Include readme as long description | from distutils.core import setup
with open('README.md') as fin:
readme = fin.read()
setup(
name='PAWS',
version='0.1.0',
description='Python AWS Tools for Serverless',
long_description=readme,
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='https://github.com/funkybob/paws',
packages=['paws', 'paws.contrib', 'paws.views'],
)
| <commit_before>from distutils.core import setup
setup(
name='PAWS',
version='0.1.0',
description='Python AWS Tools for Serverless',
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='https://github.com/funkybob/paws',
packages=['paws', 'paws.contrib', 'paws.views'],
)
<commit_msg>Include readme as long description<commit_after> | from distutils.core import setup
with open('README.md') as fin:
readme = fin.read()
setup(
name='PAWS',
version='0.1.0',
description='Python AWS Tools for Serverless',
long_description=readme,
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='https://github.com/funkybob/paws',
packages=['paws', 'paws.contrib', 'paws.views'],
)
| from distutils.core import setup
setup(
name='PAWS',
version='0.1.0',
description='Python AWS Tools for Serverless',
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='https://github.com/funkybob/paws',
packages=['paws', 'paws.contrib', 'paws.views'],
)
Include readme as long descriptionfrom distutils.core import setup
with open('README.md') as fin:
readme = fin.read()
setup(
name='PAWS',
version='0.1.0',
description='Python AWS Tools for Serverless',
long_description=readme,
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='https://github.com/funkybob/paws',
packages=['paws', 'paws.contrib', 'paws.views'],
)
| <commit_before>from distutils.core import setup
setup(
name='PAWS',
version='0.1.0',
description='Python AWS Tools for Serverless',
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='https://github.com/funkybob/paws',
packages=['paws', 'paws.contrib', 'paws.views'],
)
<commit_msg>Include readme as long description<commit_after>from distutils.core import setup
with open('README.md') as fin:
readme = fin.read()
setup(
name='PAWS',
version='0.1.0',
description='Python AWS Tools for Serverless',
long_description=readme,
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='https://github.com/funkybob/paws',
packages=['paws', 'paws.contrib', 'paws.views'],
)
|
508c7049cc4d3f0d933907db289c8557c359b4d0 | setup.py | setup.py | import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long_description=open('README.rst').read().strip(),
author='Marc Schlaich',
author_email='marc.schlaich@gmail.com',
url='https://github.com/schlamar/pytest-cov',
py_modules=['pytest_cov'],
install_requires=['pytest>=2.5.2',
'cov-core>=1.9'],
entry_points={'pytest11': ['pytest_cov = pytest_cov']},
license='MIT License',
zip_safe=False,
keywords='py.test pytest cover coverage distributed parallel',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Topic :: Software Development :: Testing'])
| import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long_description=open('README.rst').read().strip(),
author='Marc Schlaich',
author_email='marc.schlaich@gmail.com',
url='https://github.com/schlamar/pytest-cov',
py_modules=['pytest_cov'],
install_requires=['pytest>=2.5.2',
'cov-core>=1.10'],
entry_points={'pytest11': ['pytest_cov = pytest_cov']},
license='MIT License',
zip_safe=False,
keywords='py.test pytest cover coverage distributed parallel',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Topic :: Software Development :: Testing'])
| Set cov-core dependency to 1.10 | Set cov-core dependency to 1.10
| Python | mit | pytest-dev/pytest-cov,moreati/pytest-cov,schlamar/pytest-cov,ionelmc/pytest-cover,opoplawski/pytest-cov,wushaobo/pytest-cov | import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long_description=open('README.rst').read().strip(),
author='Marc Schlaich',
author_email='marc.schlaich@gmail.com',
url='https://github.com/schlamar/pytest-cov',
py_modules=['pytest_cov'],
install_requires=['pytest>=2.5.2',
'cov-core>=1.9'],
entry_points={'pytest11': ['pytest_cov = pytest_cov']},
license='MIT License',
zip_safe=False,
keywords='py.test pytest cover coverage distributed parallel',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Topic :: Software Development :: Testing'])
Set cov-core dependency to 1.10 | import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long_description=open('README.rst').read().strip(),
author='Marc Schlaich',
author_email='marc.schlaich@gmail.com',
url='https://github.com/schlamar/pytest-cov',
py_modules=['pytest_cov'],
install_requires=['pytest>=2.5.2',
'cov-core>=1.10'],
entry_points={'pytest11': ['pytest_cov = pytest_cov']},
license='MIT License',
zip_safe=False,
keywords='py.test pytest cover coverage distributed parallel',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Topic :: Software Development :: Testing'])
| <commit_before>import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long_description=open('README.rst').read().strip(),
author='Marc Schlaich',
author_email='marc.schlaich@gmail.com',
url='https://github.com/schlamar/pytest-cov',
py_modules=['pytest_cov'],
install_requires=['pytest>=2.5.2',
'cov-core>=1.9'],
entry_points={'pytest11': ['pytest_cov = pytest_cov']},
license='MIT License',
zip_safe=False,
keywords='py.test pytest cover coverage distributed parallel',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Topic :: Software Development :: Testing'])
<commit_msg>Set cov-core dependency to 1.10<commit_after> | import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long_description=open('README.rst').read().strip(),
author='Marc Schlaich',
author_email='marc.schlaich@gmail.com',
url='https://github.com/schlamar/pytest-cov',
py_modules=['pytest_cov'],
install_requires=['pytest>=2.5.2',
'cov-core>=1.10'],
entry_points={'pytest11': ['pytest_cov = pytest_cov']},
license='MIT License',
zip_safe=False,
keywords='py.test pytest cover coverage distributed parallel',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Topic :: Software Development :: Testing'])
| import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long_description=open('README.rst').read().strip(),
author='Marc Schlaich',
author_email='marc.schlaich@gmail.com',
url='https://github.com/schlamar/pytest-cov',
py_modules=['pytest_cov'],
install_requires=['pytest>=2.5.2',
'cov-core>=1.9'],
entry_points={'pytest11': ['pytest_cov = pytest_cov']},
license='MIT License',
zip_safe=False,
keywords='py.test pytest cover coverage distributed parallel',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Topic :: Software Development :: Testing'])
Set cov-core dependency to 1.10import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long_description=open('README.rst').read().strip(),
author='Marc Schlaich',
author_email='marc.schlaich@gmail.com',
url='https://github.com/schlamar/pytest-cov',
py_modules=['pytest_cov'],
install_requires=['pytest>=2.5.2',
'cov-core>=1.10'],
entry_points={'pytest11': ['pytest_cov = pytest_cov']},
license='MIT License',
zip_safe=False,
keywords='py.test pytest cover coverage distributed parallel',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Topic :: Software Development :: Testing'])
| <commit_before>import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long_description=open('README.rst').read().strip(),
author='Marc Schlaich',
author_email='marc.schlaich@gmail.com',
url='https://github.com/schlamar/pytest-cov',
py_modules=['pytest_cov'],
install_requires=['pytest>=2.5.2',
'cov-core>=1.9'],
entry_points={'pytest11': ['pytest_cov = pytest_cov']},
license='MIT License',
zip_safe=False,
keywords='py.test pytest cover coverage distributed parallel',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Topic :: Software Development :: Testing'])
<commit_msg>Set cov-core dependency to 1.10<commit_after>import setuptools
setuptools.setup(name='pytest-cov',
version='1.6',
description='py.test plugin for coverage reporting with '
'support for both centralised and distributed testing, '
'including subprocesses and multiprocessing',
long_description=open('README.rst').read().strip(),
author='Marc Schlaich',
author_email='marc.schlaich@gmail.com',
url='https://github.com/schlamar/pytest-cov',
py_modules=['pytest_cov'],
install_requires=['pytest>=2.5.2',
'cov-core>=1.10'],
entry_points={'pytest11': ['pytest_cov = pytest_cov']},
license='MIT License',
zip_safe=False,
keywords='py.test pytest cover coverage distributed parallel',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Topic :: Software Development :: Testing'])
|
2756239ccb9976a93d8c19a1ff071c64f211980c | setup.py | setup.py | #!/usr/bin/env python
"""
Erply-API
---------
Python wrapper for Erply API
"""
from distutils.core import setup
setup(
name='ErplyAPI',
version='0.2015.01.16-dev',
description='Python wrapper for Erply API',
license='BSD',
author='Priit Laes',
author_email='plaes@plaes.org',
long_description=__doc__,
install_requires=['requests'],
py_modules=['erply_api'],
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries',
]
)
| #!/usr/bin/env python
"""
Erply-API
---------
Python wrapper for Erply API
"""
from distutils.core import setup
setup(
name='ErplyAPI',
version='0.2015.01.16-dev',
description='Python wrapper for Erply API',
license='BSD',
author='Priit Laes',
author_email='plaes@plaes.org',
long_description=__doc__,
install_requires=['requests'],
py_modules=['erply_api'],
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries',
]
)
| Add Python 3.x versions to classifiers | Add Python 3.x versions to classifiers
Things seem to be working with 3.x too.
| Python | bsd-3-clause | tteearu/python-erply-api | #!/usr/bin/env python
"""
Erply-API
---------
Python wrapper for Erply API
"""
from distutils.core import setup
setup(
name='ErplyAPI',
version='0.2015.01.16-dev',
description='Python wrapper for Erply API',
license='BSD',
author='Priit Laes',
author_email='plaes@plaes.org',
long_description=__doc__,
install_requires=['requests'],
py_modules=['erply_api'],
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries',
]
)
Add Python 3.x versions to classifiers
Things seem to be working with 3.x too. | #!/usr/bin/env python
"""
Erply-API
---------
Python wrapper for Erply API
"""
from distutils.core import setup
setup(
name='ErplyAPI',
version='0.2015.01.16-dev',
description='Python wrapper for Erply API',
license='BSD',
author='Priit Laes',
author_email='plaes@plaes.org',
long_description=__doc__,
install_requires=['requests'],
py_modules=['erply_api'],
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries',
]
)
| <commit_before>#!/usr/bin/env python
"""
Erply-API
---------
Python wrapper for Erply API
"""
from distutils.core import setup
setup(
name='ErplyAPI',
version='0.2015.01.16-dev',
description='Python wrapper for Erply API',
license='BSD',
author='Priit Laes',
author_email='plaes@plaes.org',
long_description=__doc__,
install_requires=['requests'],
py_modules=['erply_api'],
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries',
]
)
<commit_msg>Add Python 3.x versions to classifiers
Things seem to be working with 3.x too.<commit_after> | #!/usr/bin/env python
"""
Erply-API
---------
Python wrapper for Erply API
"""
from distutils.core import setup
setup(
name='ErplyAPI',
version='0.2015.01.16-dev',
description='Python wrapper for Erply API',
license='BSD',
author='Priit Laes',
author_email='plaes@plaes.org',
long_description=__doc__,
install_requires=['requests'],
py_modules=['erply_api'],
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries',
]
)
| #!/usr/bin/env python
"""
Erply-API
---------
Python wrapper for Erply API
"""
from distutils.core import setup
setup(
name='ErplyAPI',
version='0.2015.01.16-dev',
description='Python wrapper for Erply API',
license='BSD',
author='Priit Laes',
author_email='plaes@plaes.org',
long_description=__doc__,
install_requires=['requests'],
py_modules=['erply_api'],
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries',
]
)
Add Python 3.x versions to classifiers
Things seem to be working with 3.x too.#!/usr/bin/env python
"""
Erply-API
---------
Python wrapper for Erply API
"""
from distutils.core import setup
setup(
name='ErplyAPI',
version='0.2015.01.16-dev',
description='Python wrapper for Erply API',
license='BSD',
author='Priit Laes',
author_email='plaes@plaes.org',
long_description=__doc__,
install_requires=['requests'],
py_modules=['erply_api'],
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries',
]
)
| <commit_before>#!/usr/bin/env python
"""
Erply-API
---------
Python wrapper for Erply API
"""
from distutils.core import setup
setup(
name='ErplyAPI',
version='0.2015.01.16-dev',
description='Python wrapper for Erply API',
license='BSD',
author='Priit Laes',
author_email='plaes@plaes.org',
long_description=__doc__,
install_requires=['requests'],
py_modules=['erply_api'],
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries',
]
)
<commit_msg>Add Python 3.x versions to classifiers
Things seem to be working with 3.x too.<commit_after>#!/usr/bin/env python
"""
Erply-API
---------
Python wrapper for Erply API
"""
from distutils.core import setup
setup(
name='ErplyAPI',
version='0.2015.01.16-dev',
description='Python wrapper for Erply API',
license='BSD',
author='Priit Laes',
author_email='plaes@plaes.org',
long_description=__doc__,
install_requires=['requests'],
py_modules=['erply_api'],
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries',
]
)
|
1312426276465a16f7e490a4d78a73fb5a92f58c | setup.py | setup.py | #!/bin/env python
from setuptools import setup
setup(
name='pypugly',
use_scm_version=True,
author='Alexandre Andrade',
author_email='kaniabi@gmail.com',
url='https://github.com/zerotk/pypugly',
description='Another HTML generator based on JADE.',
long_description='''Another HTML generator based on JADE.''',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
include_package_data=True,
packages=['pypugly'],
keywords=['generator', 'html', 'jade'],
install_requires=['pypeg2', 'zerotk.easyfs'],
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=['coverage', 'pytest'],
)
| #!/bin/env python
from setuptools import setup
setup(
name='pypugly',
use_scm_version=True,
author='Alexandre Andrade',
author_email='kaniabi@gmail.com',
url='https://github.com/zerotk/pypugly',
description='Another HTML generator based on JADE.',
long_description='''Another HTML generator based on JADE.''',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
include_package_data=True,
packages=['pypugly', 'zerotk'],
keywords=['generator', 'html', 'jade'],
install_requires=['pypeg2', 'zerotk.easyfs'],
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=['coverage', 'pytest'],
)
| Fix tests: pypugly has two packages: pypugly and zerotk. | Fix tests: pypugly has two packages: pypugly and zerotk.
| Python | mit | zerotk/pypugly,zerotk/pypugly | #!/bin/env python
from setuptools import setup
setup(
name='pypugly',
use_scm_version=True,
author='Alexandre Andrade',
author_email='kaniabi@gmail.com',
url='https://github.com/zerotk/pypugly',
description='Another HTML generator based on JADE.',
long_description='''Another HTML generator based on JADE.''',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
include_package_data=True,
packages=['pypugly'],
keywords=['generator', 'html', 'jade'],
install_requires=['pypeg2', 'zerotk.easyfs'],
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=['coverage', 'pytest'],
)
Fix tests: pypugly has two packages: pypugly and zerotk. | #!/bin/env python
from setuptools import setup
setup(
name='pypugly',
use_scm_version=True,
author='Alexandre Andrade',
author_email='kaniabi@gmail.com',
url='https://github.com/zerotk/pypugly',
description='Another HTML generator based on JADE.',
long_description='''Another HTML generator based on JADE.''',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
include_package_data=True,
packages=['pypugly', 'zerotk'],
keywords=['generator', 'html', 'jade'],
install_requires=['pypeg2', 'zerotk.easyfs'],
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=['coverage', 'pytest'],
)
| <commit_before>#!/bin/env python
from setuptools import setup
setup(
name='pypugly',
use_scm_version=True,
author='Alexandre Andrade',
author_email='kaniabi@gmail.com',
url='https://github.com/zerotk/pypugly',
description='Another HTML generator based on JADE.',
long_description='''Another HTML generator based on JADE.''',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
include_package_data=True,
packages=['pypugly'],
keywords=['generator', 'html', 'jade'],
install_requires=['pypeg2', 'zerotk.easyfs'],
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=['coverage', 'pytest'],
)
<commit_msg>Fix tests: pypugly has two packages: pypugly and zerotk.<commit_after> | #!/bin/env python
from setuptools import setup
setup(
name='pypugly',
use_scm_version=True,
author='Alexandre Andrade',
author_email='kaniabi@gmail.com',
url='https://github.com/zerotk/pypugly',
description='Another HTML generator based on JADE.',
long_description='''Another HTML generator based on JADE.''',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
include_package_data=True,
packages=['pypugly', 'zerotk'],
keywords=['generator', 'html', 'jade'],
install_requires=['pypeg2', 'zerotk.easyfs'],
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=['coverage', 'pytest'],
)
| #!/bin/env python
from setuptools import setup
setup(
name='pypugly',
use_scm_version=True,
author='Alexandre Andrade',
author_email='kaniabi@gmail.com',
url='https://github.com/zerotk/pypugly',
description='Another HTML generator based on JADE.',
long_description='''Another HTML generator based on JADE.''',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
include_package_data=True,
packages=['pypugly'],
keywords=['generator', 'html', 'jade'],
install_requires=['pypeg2', 'zerotk.easyfs'],
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=['coverage', 'pytest'],
)
Fix tests: pypugly has two packages: pypugly and zerotk.#!/bin/env python
from setuptools import setup
setup(
name='pypugly',
use_scm_version=True,
author='Alexandre Andrade',
author_email='kaniabi@gmail.com',
url='https://github.com/zerotk/pypugly',
description='Another HTML generator based on JADE.',
long_description='''Another HTML generator based on JADE.''',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
include_package_data=True,
packages=['pypugly', 'zerotk'],
keywords=['generator', 'html', 'jade'],
install_requires=['pypeg2', 'zerotk.easyfs'],
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=['coverage', 'pytest'],
)
| <commit_before>#!/bin/env python
from setuptools import setup
setup(
name='pypugly',
use_scm_version=True,
author='Alexandre Andrade',
author_email='kaniabi@gmail.com',
url='https://github.com/zerotk/pypugly',
description='Another HTML generator based on JADE.',
long_description='''Another HTML generator based on JADE.''',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
include_package_data=True,
packages=['pypugly'],
keywords=['generator', 'html', 'jade'],
install_requires=['pypeg2', 'zerotk.easyfs'],
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=['coverage', 'pytest'],
)
<commit_msg>Fix tests: pypugly has two packages: pypugly and zerotk.<commit_after>#!/bin/env python
from setuptools import setup
setup(
name='pypugly',
use_scm_version=True,
author='Alexandre Andrade',
author_email='kaniabi@gmail.com',
url='https://github.com/zerotk/pypugly',
description='Another HTML generator based on JADE.',
long_description='''Another HTML generator based on JADE.''',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
include_package_data=True,
packages=['pypugly', 'zerotk'],
keywords=['generator', 'html', 'jade'],
install_requires=['pypeg2', 'zerotk.easyfs'],
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=['coverage', 'pytest'],
)
|
e0feb54b337260476dd87a9c03b6835986cd7ba9 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
setup_requires=['pbr'],
pbr=True,
)
| #!/usr/bin/env python
from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
setup_requires=['pbr>=0.10.0'],
pbr=True,
)
| Add version constraint to pbr | Add version constraint to pbr
| Python | mit | CloudBrewery/docrane | #!/usr/bin/env python
from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
setup_requires=['pbr'],
pbr=True,
)
Add version constraint to pbr | #!/usr/bin/env python
from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
setup_requires=['pbr>=0.10.0'],
pbr=True,
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
setup_requires=['pbr'],
pbr=True,
)
<commit_msg>Add version constraint to pbr<commit_after> | #!/usr/bin/env python
from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
setup_requires=['pbr>=0.10.0'],
pbr=True,
)
| #!/usr/bin/env python
from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
setup_requires=['pbr'],
pbr=True,
)
Add version constraint to pbr#!/usr/bin/env python
from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
setup_requires=['pbr>=0.10.0'],
pbr=True,
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
setup_requires=['pbr'],
pbr=True,
)
<commit_msg>Add version constraint to pbr<commit_after>#!/usr/bin/env python
from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
setup_requires=['pbr>=0.10.0'],
pbr=True,
)
|
a04a8c7d8e1087df39025d6e798d83438ac35f77 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name='hpswitch',
version='0.1',
description="A library for interacting with HP Networking switches",
packages=['hpswitch', ],
url='https://github.com/leonhandreke/hpswitch',
license="MIT License",
)
| #!/usr/bin/env python
from distutils.core import setup
setup(name='hpswitch',
version='0.1',
description="A library for interacting with HP Networking switches",
packages=['hpswitch', ],
url='https://github.com/leonhandreke/hpswitch',
license="MIT License",
requires=['pysnmp']
)
| Add pysnmp as a dependency | Add pysnmp as a dependency
| Python | mit | leonhandreke/hpswitch,thechristschn/hpswitch | #!/usr/bin/env python
from distutils.core import setup
setup(name='hpswitch',
version='0.1',
description="A library for interacting with HP Networking switches",
packages=['hpswitch', ],
url='https://github.com/leonhandreke/hpswitch',
license="MIT License",
)
Add pysnmp as a dependency | #!/usr/bin/env python
from distutils.core import setup
setup(name='hpswitch',
version='0.1',
description="A library for interacting with HP Networking switches",
packages=['hpswitch', ],
url='https://github.com/leonhandreke/hpswitch',
license="MIT License",
requires=['pysnmp']
)
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='hpswitch',
version='0.1',
description="A library for interacting with HP Networking switches",
packages=['hpswitch', ],
url='https://github.com/leonhandreke/hpswitch',
license="MIT License",
)
<commit_msg>Add pysnmp as a dependency<commit_after> | #!/usr/bin/env python
from distutils.core import setup
setup(name='hpswitch',
version='0.1',
description="A library for interacting with HP Networking switches",
packages=['hpswitch', ],
url='https://github.com/leonhandreke/hpswitch',
license="MIT License",
requires=['pysnmp']
)
| #!/usr/bin/env python
from distutils.core import setup
setup(name='hpswitch',
version='0.1',
description="A library for interacting with HP Networking switches",
packages=['hpswitch', ],
url='https://github.com/leonhandreke/hpswitch',
license="MIT License",
)
Add pysnmp as a dependency#!/usr/bin/env python
from distutils.core import setup
setup(name='hpswitch',
version='0.1',
description="A library for interacting with HP Networking switches",
packages=['hpswitch', ],
url='https://github.com/leonhandreke/hpswitch',
license="MIT License",
requires=['pysnmp']
)
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='hpswitch',
version='0.1',
description="A library for interacting with HP Networking switches",
packages=['hpswitch', ],
url='https://github.com/leonhandreke/hpswitch',
license="MIT License",
)
<commit_msg>Add pysnmp as a dependency<commit_after>#!/usr/bin/env python
from distutils.core import setup
setup(name='hpswitch',
version='0.1',
description="A library for interacting with HP Networking switches",
packages=['hpswitch', ],
url='https://github.com/leonhandreke/hpswitch',
license="MIT License",
requires=['pysnmp']
)
|
5a214907e61548d38606f09721b0d3ff4a7458a6 | 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",
"SQLAlchemy",
"transaction",
"pyramid_tm",
"pyramid_debugtoolbar",
"zope.sqlalchemy",
"waitress",
]
setup(name="caramel",
version="0.0",
description="caramel",
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author="",
author_email="",
url="",
keywords="web wsgi bfg pylons pyramid",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="caramel",
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = caramel:main
[console_scripts]
initialize_caramel_db = caramel.scripts.initializedb:main
""",
)
| 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",
"SQLAlchemy",
"transaction",
"pyramid_tm",
"pyramid_debugtoolbar",
"zope.sqlalchemy",
"waitress",
"pyOpenSSL"
]
setup(name="caramel",
version="0.0",
description="caramel",
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author="",
author_email="",
url="",
keywords="web wsgi bfg pylons pyramid",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="caramel",
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = caramel:main
[console_scripts]
initialize_caramel_db = caramel.scripts.initializedb:main
""",
)
| Add model for certificate signing request (CSR) | Add model for certificate signing request (CSR)
Clean out view/db_init code from scaffold.
Replace routes from scaffold.
Add pyOpenSSL dependancy to setup.py.
| Python | agpl-3.0 | ModioAB/caramel-client,ModioAB/caramel-client | 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",
"SQLAlchemy",
"transaction",
"pyramid_tm",
"pyramid_debugtoolbar",
"zope.sqlalchemy",
"waitress",
]
setup(name="caramel",
version="0.0",
description="caramel",
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author="",
author_email="",
url="",
keywords="web wsgi bfg pylons pyramid",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="caramel",
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = caramel:main
[console_scripts]
initialize_caramel_db = caramel.scripts.initializedb:main
""",
)
Add model for certificate signing request (CSR)
Clean out view/db_init code from scaffold.
Replace routes from scaffold.
Add pyOpenSSL dependancy to 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",
"SQLAlchemy",
"transaction",
"pyramid_tm",
"pyramid_debugtoolbar",
"zope.sqlalchemy",
"waitress",
"pyOpenSSL"
]
setup(name="caramel",
version="0.0",
description="caramel",
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author="",
author_email="",
url="",
keywords="web wsgi bfg pylons pyramid",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="caramel",
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = caramel:main
[console_scripts]
initialize_caramel_db = caramel.scripts.initializedb:main
""",
)
| <commit_before>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",
"SQLAlchemy",
"transaction",
"pyramid_tm",
"pyramid_debugtoolbar",
"zope.sqlalchemy",
"waitress",
]
setup(name="caramel",
version="0.0",
description="caramel",
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author="",
author_email="",
url="",
keywords="web wsgi bfg pylons pyramid",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="caramel",
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = caramel:main
[console_scripts]
initialize_caramel_db = caramel.scripts.initializedb:main
""",
)
<commit_msg>Add model for certificate signing request (CSR)
Clean out view/db_init code from scaffold.
Replace routes from scaffold.
Add pyOpenSSL dependancy to setup.py.<commit_after> | 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",
"SQLAlchemy",
"transaction",
"pyramid_tm",
"pyramid_debugtoolbar",
"zope.sqlalchemy",
"waitress",
"pyOpenSSL"
]
setup(name="caramel",
version="0.0",
description="caramel",
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author="",
author_email="",
url="",
keywords="web wsgi bfg pylons pyramid",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="caramel",
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = caramel:main
[console_scripts]
initialize_caramel_db = caramel.scripts.initializedb:main
""",
)
| 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",
"SQLAlchemy",
"transaction",
"pyramid_tm",
"pyramid_debugtoolbar",
"zope.sqlalchemy",
"waitress",
]
setup(name="caramel",
version="0.0",
description="caramel",
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author="",
author_email="",
url="",
keywords="web wsgi bfg pylons pyramid",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="caramel",
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = caramel:main
[console_scripts]
initialize_caramel_db = caramel.scripts.initializedb:main
""",
)
Add model for certificate signing request (CSR)
Clean out view/db_init code from scaffold.
Replace routes from scaffold.
Add pyOpenSSL dependancy to 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",
"SQLAlchemy",
"transaction",
"pyramid_tm",
"pyramid_debugtoolbar",
"zope.sqlalchemy",
"waitress",
"pyOpenSSL"
]
setup(name="caramel",
version="0.0",
description="caramel",
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author="",
author_email="",
url="",
keywords="web wsgi bfg pylons pyramid",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="caramel",
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = caramel:main
[console_scripts]
initialize_caramel_db = caramel.scripts.initializedb:main
""",
)
| <commit_before>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",
"SQLAlchemy",
"transaction",
"pyramid_tm",
"pyramid_debugtoolbar",
"zope.sqlalchemy",
"waitress",
]
setup(name="caramel",
version="0.0",
description="caramel",
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author="",
author_email="",
url="",
keywords="web wsgi bfg pylons pyramid",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="caramel",
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = caramel:main
[console_scripts]
initialize_caramel_db = caramel.scripts.initializedb:main
""",
)
<commit_msg>Add model for certificate signing request (CSR)
Clean out view/db_init code from scaffold.
Replace routes from scaffold.
Add pyOpenSSL dependancy to setup.py.<commit_after>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",
"SQLAlchemy",
"transaction",
"pyramid_tm",
"pyramid_debugtoolbar",
"zope.sqlalchemy",
"waitress",
"pyOpenSSL"
]
setup(name="caramel",
version="0.0",
description="caramel",
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author="",
author_email="",
url="",
keywords="web wsgi bfg pylons pyramid",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="caramel",
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = caramel:main
[console_scripts]
initialize_caramel_db = caramel.scripts.initializedb:main
""",
)
|
ba54f2aa487c1a719a133ab761bd7be5af43e447 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
from haloanalysis.version import get_git_version
setup(name='haloanalysis',
version=get_git_version(),
license='BSD',
packages=find_packages(exclude='tests'),
include_package_data = True,
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 4 - Beta',
],
entry_points= {'console_scripts': [
'run-region-analysis = haloanalysis.scripts.region_analysis:main',
'run-halo-analysis = haloanalysis.scripts.halo_analysis:main',
'haloanalysis-aggregate = haloanalysis.scripts.aggregate:main',
'haloanalysis-stack = haloanalysis.scripts.stack:main',
'haloanalysis-make-html-table = haloanalysis.scripts.make_html_table:main',
]},
install_requires=['numpy >= 1.6.1',
'matplotlib >= 1.4.0',
'scipy >= 0.14',
'astropy >= 1.0',
'pyyaml',
'healpy',
'wcsaxes'])
| #!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
from haloanalysis.version import get_git_version
setup(name='haloanalysis',
version=get_git_version(),
license='BSD',
packages=find_packages(exclude='tests'),
include_package_data = True,
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 4 - Beta',
],
entry_points={'console_scripts': [
'run-region-analysis = haloanalysis.scripts.region_analysis:main',
'run-halo-analysis = haloanalysis.scripts.halo_analysis:main',
'haloanalysis-aggregate = haloanalysis.scripts.aggregate:main',
'haloanalysis-stack = haloanalysis.scripts.stack:main',
'haloanalysis-fit-igmf = haloanalysis.scripts.fit_igmf:main',
'haloanalysis-make-html-table = haloanalysis.scripts.make_html_table:main',
]},
install_requires=['numpy >= 1.6.1',
'matplotlib >= 1.4.0',
'scipy >= 0.14',
'astropy >= 1.0',
'pyyaml',
'healpy',
'wcsaxes'])
| Add new script for running IGMF analysis. | Add new script for running IGMF analysis.
| Python | bsd-3-clause | woodmd/haloanalysis,woodmd/haloanalysis | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
from haloanalysis.version import get_git_version
setup(name='haloanalysis',
version=get_git_version(),
license='BSD',
packages=find_packages(exclude='tests'),
include_package_data = True,
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 4 - Beta',
],
entry_points= {'console_scripts': [
'run-region-analysis = haloanalysis.scripts.region_analysis:main',
'run-halo-analysis = haloanalysis.scripts.halo_analysis:main',
'haloanalysis-aggregate = haloanalysis.scripts.aggregate:main',
'haloanalysis-stack = haloanalysis.scripts.stack:main',
'haloanalysis-make-html-table = haloanalysis.scripts.make_html_table:main',
]},
install_requires=['numpy >= 1.6.1',
'matplotlib >= 1.4.0',
'scipy >= 0.14',
'astropy >= 1.0',
'pyyaml',
'healpy',
'wcsaxes'])
Add new script for running IGMF analysis. | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
from haloanalysis.version import get_git_version
setup(name='haloanalysis',
version=get_git_version(),
license='BSD',
packages=find_packages(exclude='tests'),
include_package_data = True,
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 4 - Beta',
],
entry_points={'console_scripts': [
'run-region-analysis = haloanalysis.scripts.region_analysis:main',
'run-halo-analysis = haloanalysis.scripts.halo_analysis:main',
'haloanalysis-aggregate = haloanalysis.scripts.aggregate:main',
'haloanalysis-stack = haloanalysis.scripts.stack:main',
'haloanalysis-fit-igmf = haloanalysis.scripts.fit_igmf:main',
'haloanalysis-make-html-table = haloanalysis.scripts.make_html_table:main',
]},
install_requires=['numpy >= 1.6.1',
'matplotlib >= 1.4.0',
'scipy >= 0.14',
'astropy >= 1.0',
'pyyaml',
'healpy',
'wcsaxes'])
| <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
from haloanalysis.version import get_git_version
setup(name='haloanalysis',
version=get_git_version(),
license='BSD',
packages=find_packages(exclude='tests'),
include_package_data = True,
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 4 - Beta',
],
entry_points= {'console_scripts': [
'run-region-analysis = haloanalysis.scripts.region_analysis:main',
'run-halo-analysis = haloanalysis.scripts.halo_analysis:main',
'haloanalysis-aggregate = haloanalysis.scripts.aggregate:main',
'haloanalysis-stack = haloanalysis.scripts.stack:main',
'haloanalysis-make-html-table = haloanalysis.scripts.make_html_table:main',
]},
install_requires=['numpy >= 1.6.1',
'matplotlib >= 1.4.0',
'scipy >= 0.14',
'astropy >= 1.0',
'pyyaml',
'healpy',
'wcsaxes'])
<commit_msg>Add new script for running IGMF analysis.<commit_after> | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
from haloanalysis.version import get_git_version
setup(name='haloanalysis',
version=get_git_version(),
license='BSD',
packages=find_packages(exclude='tests'),
include_package_data = True,
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 4 - Beta',
],
entry_points={'console_scripts': [
'run-region-analysis = haloanalysis.scripts.region_analysis:main',
'run-halo-analysis = haloanalysis.scripts.halo_analysis:main',
'haloanalysis-aggregate = haloanalysis.scripts.aggregate:main',
'haloanalysis-stack = haloanalysis.scripts.stack:main',
'haloanalysis-fit-igmf = haloanalysis.scripts.fit_igmf:main',
'haloanalysis-make-html-table = haloanalysis.scripts.make_html_table:main',
]},
install_requires=['numpy >= 1.6.1',
'matplotlib >= 1.4.0',
'scipy >= 0.14',
'astropy >= 1.0',
'pyyaml',
'healpy',
'wcsaxes'])
| #!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
from haloanalysis.version import get_git_version
setup(name='haloanalysis',
version=get_git_version(),
license='BSD',
packages=find_packages(exclude='tests'),
include_package_data = True,
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 4 - Beta',
],
entry_points= {'console_scripts': [
'run-region-analysis = haloanalysis.scripts.region_analysis:main',
'run-halo-analysis = haloanalysis.scripts.halo_analysis:main',
'haloanalysis-aggregate = haloanalysis.scripts.aggregate:main',
'haloanalysis-stack = haloanalysis.scripts.stack:main',
'haloanalysis-make-html-table = haloanalysis.scripts.make_html_table:main',
]},
install_requires=['numpy >= 1.6.1',
'matplotlib >= 1.4.0',
'scipy >= 0.14',
'astropy >= 1.0',
'pyyaml',
'healpy',
'wcsaxes'])
Add new script for running IGMF analysis.#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
from haloanalysis.version import get_git_version
setup(name='haloanalysis',
version=get_git_version(),
license='BSD',
packages=find_packages(exclude='tests'),
include_package_data = True,
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 4 - Beta',
],
entry_points={'console_scripts': [
'run-region-analysis = haloanalysis.scripts.region_analysis:main',
'run-halo-analysis = haloanalysis.scripts.halo_analysis:main',
'haloanalysis-aggregate = haloanalysis.scripts.aggregate:main',
'haloanalysis-stack = haloanalysis.scripts.stack:main',
'haloanalysis-fit-igmf = haloanalysis.scripts.fit_igmf:main',
'haloanalysis-make-html-table = haloanalysis.scripts.make_html_table:main',
]},
install_requires=['numpy >= 1.6.1',
'matplotlib >= 1.4.0',
'scipy >= 0.14',
'astropy >= 1.0',
'pyyaml',
'healpy',
'wcsaxes'])
| <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
from haloanalysis.version import get_git_version
setup(name='haloanalysis',
version=get_git_version(),
license='BSD',
packages=find_packages(exclude='tests'),
include_package_data = True,
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 4 - Beta',
],
entry_points= {'console_scripts': [
'run-region-analysis = haloanalysis.scripts.region_analysis:main',
'run-halo-analysis = haloanalysis.scripts.halo_analysis:main',
'haloanalysis-aggregate = haloanalysis.scripts.aggregate:main',
'haloanalysis-stack = haloanalysis.scripts.stack:main',
'haloanalysis-make-html-table = haloanalysis.scripts.make_html_table:main',
]},
install_requires=['numpy >= 1.6.1',
'matplotlib >= 1.4.0',
'scipy >= 0.14',
'astropy >= 1.0',
'pyyaml',
'healpy',
'wcsaxes'])
<commit_msg>Add new script for running IGMF analysis.<commit_after>#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
from haloanalysis.version import get_git_version
setup(name='haloanalysis',
version=get_git_version(),
license='BSD',
packages=find_packages(exclude='tests'),
include_package_data = True,
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 4 - Beta',
],
entry_points={'console_scripts': [
'run-region-analysis = haloanalysis.scripts.region_analysis:main',
'run-halo-analysis = haloanalysis.scripts.halo_analysis:main',
'haloanalysis-aggregate = haloanalysis.scripts.aggregate:main',
'haloanalysis-stack = haloanalysis.scripts.stack:main',
'haloanalysis-fit-igmf = haloanalysis.scripts.fit_igmf:main',
'haloanalysis-make-html-table = haloanalysis.scripts.make_html_table:main',
]},
install_requires=['numpy >= 1.6.1',
'matplotlib >= 1.4.0',
'scipy >= 0.14',
'astropy >= 1.0',
'pyyaml',
'healpy',
'wcsaxes'])
|
2b74737db827a4ddc6e4ba678c31304d6f857b47 | setup.py | setup.py | from distutils.core import setup, Extension
setup(name="java_random", version="1.0.1",
description="Provides a fast implementation of the Java random number generator",
author="Matthew Bradbury",
license="MIT",
url="https://github.com/MBradbury/python_java_random",
ext_modules=[Extension("java_random", ["src/java_random_module.c", "src/java_random.c"])],
classifiers=["Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"]
)
| from distutils.core import setup, Extension
setup(name="java_random", version="1.0.1",
description="Provides a fast implementation of the Java random number generator",
author="Matthew Bradbury",
license="MIT",
url="https://github.com/MBradbury/python_java_random",
ext_modules=[Extension("java_random", ["src/java_random_module.c", "src/java_random.c"])],
classifiers=["Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython"]
)
| Mark as for CPython only | Mark as for CPython only
| Python | mit | MBradbury/python_java_random,MBradbury/python_java_random,MBradbury/python_java_random | from distutils.core import setup, Extension
setup(name="java_random", version="1.0.1",
description="Provides a fast implementation of the Java random number generator",
author="Matthew Bradbury",
license="MIT",
url="https://github.com/MBradbury/python_java_random",
ext_modules=[Extension("java_random", ["src/java_random_module.c", "src/java_random.c"])],
classifiers=["Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"]
)
Mark as for CPython only | from distutils.core import setup, Extension
setup(name="java_random", version="1.0.1",
description="Provides a fast implementation of the Java random number generator",
author="Matthew Bradbury",
license="MIT",
url="https://github.com/MBradbury/python_java_random",
ext_modules=[Extension("java_random", ["src/java_random_module.c", "src/java_random.c"])],
classifiers=["Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython"]
)
| <commit_before>from distutils.core import setup, Extension
setup(name="java_random", version="1.0.1",
description="Provides a fast implementation of the Java random number generator",
author="Matthew Bradbury",
license="MIT",
url="https://github.com/MBradbury/python_java_random",
ext_modules=[Extension("java_random", ["src/java_random_module.c", "src/java_random.c"])],
classifiers=["Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"]
)
<commit_msg>Mark as for CPython only<commit_after> | from distutils.core import setup, Extension
setup(name="java_random", version="1.0.1",
description="Provides a fast implementation of the Java random number generator",
author="Matthew Bradbury",
license="MIT",
url="https://github.com/MBradbury/python_java_random",
ext_modules=[Extension("java_random", ["src/java_random_module.c", "src/java_random.c"])],
classifiers=["Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython"]
)
| from distutils.core import setup, Extension
setup(name="java_random", version="1.0.1",
description="Provides a fast implementation of the Java random number generator",
author="Matthew Bradbury",
license="MIT",
url="https://github.com/MBradbury/python_java_random",
ext_modules=[Extension("java_random", ["src/java_random_module.c", "src/java_random.c"])],
classifiers=["Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"]
)
Mark as for CPython onlyfrom distutils.core import setup, Extension
setup(name="java_random", version="1.0.1",
description="Provides a fast implementation of the Java random number generator",
author="Matthew Bradbury",
license="MIT",
url="https://github.com/MBradbury/python_java_random",
ext_modules=[Extension("java_random", ["src/java_random_module.c", "src/java_random.c"])],
classifiers=["Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython"]
)
| <commit_before>from distutils.core import setup, Extension
setup(name="java_random", version="1.0.1",
description="Provides a fast implementation of the Java random number generator",
author="Matthew Bradbury",
license="MIT",
url="https://github.com/MBradbury/python_java_random",
ext_modules=[Extension("java_random", ["src/java_random_module.c", "src/java_random.c"])],
classifiers=["Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"]
)
<commit_msg>Mark as for CPython only<commit_after>from distutils.core import setup, Extension
setup(name="java_random", version="1.0.1",
description="Provides a fast implementation of the Java random number generator",
author="Matthew Bradbury",
license="MIT",
url="https://github.com/MBradbury/python_java_random",
ext_modules=[Extension("java_random", ["src/java_random_module.c", "src/java_random.c"])],
classifiers=["Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython"]
)
|
c21c286b56dec481eb36d72a60560606e1d70768 | setup.py | setup.py | from distutils.core import setup
setup(
name='python-varnish',
version='0.2.2',
long_description=open('README.rst').read(),
description='Simple Python interface for the Varnish management port',
author='Justin Quick',
author_email='justquick@gmail.com',
url='http://github.com/justquick/python-varnish',
scripts=['bin/varnish_manager'],
py_modules=['varnish'],
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
| from distutils.core import setup
setup(
name='python-varnish',
version='0.2.2',
long_description=open('README.rst').read(),
description='Simple Python interface for the Varnish management port',
author='Justin Quick',
author_email='justquick@gmail.com',
url='http://github.com/justquick/python-varnish',
scripts=['bin/varnish_manager'],
py_modules=['varnishadm'],
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
| Install varnishadm instead of varnish | Install varnishadm instead of varnish | Python | bsd-3-clause | ByteInternet/python-varnishadm | from distutils.core import setup
setup(
name='python-varnish',
version='0.2.2',
long_description=open('README.rst').read(),
description='Simple Python interface for the Varnish management port',
author='Justin Quick',
author_email='justquick@gmail.com',
url='http://github.com/justquick/python-varnish',
scripts=['bin/varnish_manager'],
py_modules=['varnish'],
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
Install varnishadm instead of varnish | from distutils.core import setup
setup(
name='python-varnish',
version='0.2.2',
long_description=open('README.rst').read(),
description='Simple Python interface for the Varnish management port',
author='Justin Quick',
author_email='justquick@gmail.com',
url='http://github.com/justquick/python-varnish',
scripts=['bin/varnish_manager'],
py_modules=['varnishadm'],
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
| <commit_before>from distutils.core import setup
setup(
name='python-varnish',
version='0.2.2',
long_description=open('README.rst').read(),
description='Simple Python interface for the Varnish management port',
author='Justin Quick',
author_email='justquick@gmail.com',
url='http://github.com/justquick/python-varnish',
scripts=['bin/varnish_manager'],
py_modules=['varnish'],
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
<commit_msg>Install varnishadm instead of varnish<commit_after> | from distutils.core import setup
setup(
name='python-varnish',
version='0.2.2',
long_description=open('README.rst').read(),
description='Simple Python interface for the Varnish management port',
author='Justin Quick',
author_email='justquick@gmail.com',
url='http://github.com/justquick/python-varnish',
scripts=['bin/varnish_manager'],
py_modules=['varnishadm'],
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
| from distutils.core import setup
setup(
name='python-varnish',
version='0.2.2',
long_description=open('README.rst').read(),
description='Simple Python interface for the Varnish management port',
author='Justin Quick',
author_email='justquick@gmail.com',
url='http://github.com/justquick/python-varnish',
scripts=['bin/varnish_manager'],
py_modules=['varnish'],
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
Install varnishadm instead of varnishfrom distutils.core import setup
setup(
name='python-varnish',
version='0.2.2',
long_description=open('README.rst').read(),
description='Simple Python interface for the Varnish management port',
author='Justin Quick',
author_email='justquick@gmail.com',
url='http://github.com/justquick/python-varnish',
scripts=['bin/varnish_manager'],
py_modules=['varnishadm'],
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
| <commit_before>from distutils.core import setup
setup(
name='python-varnish',
version='0.2.2',
long_description=open('README.rst').read(),
description='Simple Python interface for the Varnish management port',
author='Justin Quick',
author_email='justquick@gmail.com',
url='http://github.com/justquick/python-varnish',
scripts=['bin/varnish_manager'],
py_modules=['varnish'],
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
<commit_msg>Install varnishadm instead of varnish<commit_after>from distutils.core import setup
setup(
name='python-varnish',
version='0.2.2',
long_description=open('README.rst').read(),
description='Simple Python interface for the Varnish management port',
author='Justin Quick',
author_email='justquick@gmail.com',
url='http://github.com/justquick/python-varnish',
scripts=['bin/varnish_manager'],
py_modules=['varnishadm'],
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
|
83598d24c46683b7d2eb3e99d39cbd5babba5073 | tests/api/views/clubs/create_test.py | tests/api/views/clubs/create_test.py | from skylines.model import Club
from tests.api import basic_auth
def test_create(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 200
assert Club.get(res.json['id'])
| from skylines.model import Club
from tests.api import basic_auth
from tests.data import add_fixtures, clubs
def test_create(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 200
club = Club.get(res.json['id'])
assert club
assert club.owner_id == test_user.id
def test_without_authentication(db_session, client):
res = client.put('/clubs', json={
'name': 'LV Aachen',
})
assert res.status_code == 401
assert res.json['error'] == 'invalid_token'
def test_non_json_data(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, data='foobar?')
assert res.status_code == 400
assert res.json['error'] == 'invalid-request'
def test_invalid_data(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': '',
})
assert res.status_code == 422
assert res.json['error'] == 'validation-failed'
def test_existing_club(db_session, client, test_user):
lva = clubs.lva()
add_fixtures(db_session, lva)
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 422
assert res.json['error'] == 'duplicate-club-name'
| Add more "PUT /clubs" tests | tests/api: Add more "PUT /clubs" tests
| Python | agpl-3.0 | RBE-Avionik/skylines,Harry-R/skylines,shadowoneau/skylines,skylines-project/skylines,Harry-R/skylines,shadowoneau/skylines,Turbo87/skylines,Turbo87/skylines,RBE-Avionik/skylines,Harry-R/skylines,Turbo87/skylines,skylines-project/skylines,skylines-project/skylines,Turbo87/skylines,shadowoneau/skylines,RBE-Avionik/skylines,skylines-project/skylines,Harry-R/skylines,shadowoneau/skylines,RBE-Avionik/skylines | from skylines.model import Club
from tests.api import basic_auth
def test_create(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 200
assert Club.get(res.json['id'])
tests/api: Add more "PUT /clubs" tests | from skylines.model import Club
from tests.api import basic_auth
from tests.data import add_fixtures, clubs
def test_create(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 200
club = Club.get(res.json['id'])
assert club
assert club.owner_id == test_user.id
def test_without_authentication(db_session, client):
res = client.put('/clubs', json={
'name': 'LV Aachen',
})
assert res.status_code == 401
assert res.json['error'] == 'invalid_token'
def test_non_json_data(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, data='foobar?')
assert res.status_code == 400
assert res.json['error'] == 'invalid-request'
def test_invalid_data(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': '',
})
assert res.status_code == 422
assert res.json['error'] == 'validation-failed'
def test_existing_club(db_session, client, test_user):
lva = clubs.lva()
add_fixtures(db_session, lva)
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 422
assert res.json['error'] == 'duplicate-club-name'
| <commit_before>from skylines.model import Club
from tests.api import basic_auth
def test_create(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 200
assert Club.get(res.json['id'])
<commit_msg>tests/api: Add more "PUT /clubs" tests<commit_after> | from skylines.model import Club
from tests.api import basic_auth
from tests.data import add_fixtures, clubs
def test_create(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 200
club = Club.get(res.json['id'])
assert club
assert club.owner_id == test_user.id
def test_without_authentication(db_session, client):
res = client.put('/clubs', json={
'name': 'LV Aachen',
})
assert res.status_code == 401
assert res.json['error'] == 'invalid_token'
def test_non_json_data(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, data='foobar?')
assert res.status_code == 400
assert res.json['error'] == 'invalid-request'
def test_invalid_data(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': '',
})
assert res.status_code == 422
assert res.json['error'] == 'validation-failed'
def test_existing_club(db_session, client, test_user):
lva = clubs.lva()
add_fixtures(db_session, lva)
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 422
assert res.json['error'] == 'duplicate-club-name'
| from skylines.model import Club
from tests.api import basic_auth
def test_create(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 200
assert Club.get(res.json['id'])
tests/api: Add more "PUT /clubs" testsfrom skylines.model import Club
from tests.api import basic_auth
from tests.data import add_fixtures, clubs
def test_create(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 200
club = Club.get(res.json['id'])
assert club
assert club.owner_id == test_user.id
def test_without_authentication(db_session, client):
res = client.put('/clubs', json={
'name': 'LV Aachen',
})
assert res.status_code == 401
assert res.json['error'] == 'invalid_token'
def test_non_json_data(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, data='foobar?')
assert res.status_code == 400
assert res.json['error'] == 'invalid-request'
def test_invalid_data(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': '',
})
assert res.status_code == 422
assert res.json['error'] == 'validation-failed'
def test_existing_club(db_session, client, test_user):
lva = clubs.lva()
add_fixtures(db_session, lva)
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 422
assert res.json['error'] == 'duplicate-club-name'
| <commit_before>from skylines.model import Club
from tests.api import basic_auth
def test_create(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 200
assert Club.get(res.json['id'])
<commit_msg>tests/api: Add more "PUT /clubs" tests<commit_after>from skylines.model import Club
from tests.api import basic_auth
from tests.data import add_fixtures, clubs
def test_create(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 200
club = Club.get(res.json['id'])
assert club
assert club.owner_id == test_user.id
def test_without_authentication(db_session, client):
res = client.put('/clubs', json={
'name': 'LV Aachen',
})
assert res.status_code == 401
assert res.json['error'] == 'invalid_token'
def test_non_json_data(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, data='foobar?')
assert res.status_code == 400
assert res.json['error'] == 'invalid-request'
def test_invalid_data(db_session, client, test_user):
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': '',
})
assert res.status_code == 422
assert res.json['error'] == 'validation-failed'
def test_existing_club(db_session, client, test_user):
lva = clubs.lva()
add_fixtures(db_session, lva)
headers = basic_auth(test_user.email_address, test_user.original_password)
res = client.put('/clubs', headers=headers, json={
'name': 'LV Aachen',
})
assert res.status_code == 422
assert res.json['error'] == 'duplicate-club-name'
|
f381d7f83fa86c1b7777f3fe8bad00c70b917937 | kobo_playground/celery.py | kobo_playground/celery.py | # http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
from __future__ import absolute_import
import os
from celery import Celery
# Attempt to determine the project name from the directory containing this file
PROJECT_NAME = os.path.basename(os.path.dirname(__file__))
# Set the default Django settings module for the 'celery' command-line program
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{}.settings'.format(
PROJECT_NAME))
from django.conf import settings
app = Celery(PROJECT_NAME)
# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
@app.task(bind=True)
def debug_task(self):
print('Request: {0!r}'.format(self.request))
| # http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
from __future__ import absolute_import
import os
from celery import Celery
# Attempt to determine the project name from the directory containing this file
PROJECT_NAME = os.path.basename(os.path.dirname(__file__))
# Set the default Django settings module for the 'celery' command-line program
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{}.settings'.format(
PROJECT_NAME))
from django.conf import settings
app = Celery(PROJECT_NAME)
# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
# The `app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)` technique
# described in
# http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html
# fails when INSTALLED_APPS includes a "dotted path to the appropriate
# AppConfig subclass" as recommended by
# https://docs.djangoproject.com/en/1.8/ref/applications/#configuring-applications.
# Ask Solem recommends the following workaround; see
# https://github.com/celery/celery/issues/2248#issuecomment-97404667
from django.apps import apps
app.autodiscover_tasks(lambda: [n.name for n in apps.get_app_configs()])
@app.task(bind=True)
def debug_task(self):
print('Request: {0!r}'.format(self.request))
| Fix Celery configuration for AppConfig in INSTALLED_APPS | Fix Celery configuration for AppConfig in INSTALLED_APPS
| Python | agpl-3.0 | onaio/kpi,onaio/kpi,kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi,onaio/kpi,kobotoolbox/kpi,onaio/kpi | # http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
from __future__ import absolute_import
import os
from celery import Celery
# Attempt to determine the project name from the directory containing this file
PROJECT_NAME = os.path.basename(os.path.dirname(__file__))
# Set the default Django settings module for the 'celery' command-line program
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{}.settings'.format(
PROJECT_NAME))
from django.conf import settings
app = Celery(PROJECT_NAME)
# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
@app.task(bind=True)
def debug_task(self):
print('Request: {0!r}'.format(self.request))
Fix Celery configuration for AppConfig in INSTALLED_APPS | # http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
from __future__ import absolute_import
import os
from celery import Celery
# Attempt to determine the project name from the directory containing this file
PROJECT_NAME = os.path.basename(os.path.dirname(__file__))
# Set the default Django settings module for the 'celery' command-line program
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{}.settings'.format(
PROJECT_NAME))
from django.conf import settings
app = Celery(PROJECT_NAME)
# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
# The `app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)` technique
# described in
# http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html
# fails when INSTALLED_APPS includes a "dotted path to the appropriate
# AppConfig subclass" as recommended by
# https://docs.djangoproject.com/en/1.8/ref/applications/#configuring-applications.
# Ask Solem recommends the following workaround; see
# https://github.com/celery/celery/issues/2248#issuecomment-97404667
from django.apps import apps
app.autodiscover_tasks(lambda: [n.name for n in apps.get_app_configs()])
@app.task(bind=True)
def debug_task(self):
print('Request: {0!r}'.format(self.request))
| <commit_before># http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
from __future__ import absolute_import
import os
from celery import Celery
# Attempt to determine the project name from the directory containing this file
PROJECT_NAME = os.path.basename(os.path.dirname(__file__))
# Set the default Django settings module for the 'celery' command-line program
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{}.settings'.format(
PROJECT_NAME))
from django.conf import settings
app = Celery(PROJECT_NAME)
# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
@app.task(bind=True)
def debug_task(self):
print('Request: {0!r}'.format(self.request))
<commit_msg>Fix Celery configuration for AppConfig in INSTALLED_APPS<commit_after> | # http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
from __future__ import absolute_import
import os
from celery import Celery
# Attempt to determine the project name from the directory containing this file
PROJECT_NAME = os.path.basename(os.path.dirname(__file__))
# Set the default Django settings module for the 'celery' command-line program
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{}.settings'.format(
PROJECT_NAME))
from django.conf import settings
app = Celery(PROJECT_NAME)
# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
# The `app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)` technique
# described in
# http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html
# fails when INSTALLED_APPS includes a "dotted path to the appropriate
# AppConfig subclass" as recommended by
# https://docs.djangoproject.com/en/1.8/ref/applications/#configuring-applications.
# Ask Solem recommends the following workaround; see
# https://github.com/celery/celery/issues/2248#issuecomment-97404667
from django.apps import apps
app.autodiscover_tasks(lambda: [n.name for n in apps.get_app_configs()])
@app.task(bind=True)
def debug_task(self):
print('Request: {0!r}'.format(self.request))
| # http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
from __future__ import absolute_import
import os
from celery import Celery
# Attempt to determine the project name from the directory containing this file
PROJECT_NAME = os.path.basename(os.path.dirname(__file__))
# Set the default Django settings module for the 'celery' command-line program
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{}.settings'.format(
PROJECT_NAME))
from django.conf import settings
app = Celery(PROJECT_NAME)
# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
@app.task(bind=True)
def debug_task(self):
print('Request: {0!r}'.format(self.request))
Fix Celery configuration for AppConfig in INSTALLED_APPS# http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
from __future__ import absolute_import
import os
from celery import Celery
# Attempt to determine the project name from the directory containing this file
PROJECT_NAME = os.path.basename(os.path.dirname(__file__))
# Set the default Django settings module for the 'celery' command-line program
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{}.settings'.format(
PROJECT_NAME))
from django.conf import settings
app = Celery(PROJECT_NAME)
# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
# The `app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)` technique
# described in
# http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html
# fails when INSTALLED_APPS includes a "dotted path to the appropriate
# AppConfig subclass" as recommended by
# https://docs.djangoproject.com/en/1.8/ref/applications/#configuring-applications.
# Ask Solem recommends the following workaround; see
# https://github.com/celery/celery/issues/2248#issuecomment-97404667
from django.apps import apps
app.autodiscover_tasks(lambda: [n.name for n in apps.get_app_configs()])
@app.task(bind=True)
def debug_task(self):
print('Request: {0!r}'.format(self.request))
| <commit_before># http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
from __future__ import absolute_import
import os
from celery import Celery
# Attempt to determine the project name from the directory containing this file
PROJECT_NAME = os.path.basename(os.path.dirname(__file__))
# Set the default Django settings module for the 'celery' command-line program
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{}.settings'.format(
PROJECT_NAME))
from django.conf import settings
app = Celery(PROJECT_NAME)
# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
@app.task(bind=True)
def debug_task(self):
print('Request: {0!r}'.format(self.request))
<commit_msg>Fix Celery configuration for AppConfig in INSTALLED_APPS<commit_after># http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
from __future__ import absolute_import
import os
from celery import Celery
# Attempt to determine the project name from the directory containing this file
PROJECT_NAME = os.path.basename(os.path.dirname(__file__))
# Set the default Django settings module for the 'celery' command-line program
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{}.settings'.format(
PROJECT_NAME))
from django.conf import settings
app = Celery(PROJECT_NAME)
# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
# The `app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)` technique
# described in
# http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html
# fails when INSTALLED_APPS includes a "dotted path to the appropriate
# AppConfig subclass" as recommended by
# https://docs.djangoproject.com/en/1.8/ref/applications/#configuring-applications.
# Ask Solem recommends the following workaround; see
# https://github.com/celery/celery/issues/2248#issuecomment-97404667
from django.apps import apps
app.autodiscover_tasks(lambda: [n.name for n in apps.get_app_configs()])
@app.task(bind=True)
def debug_task(self):
print('Request: {0!r}'.format(self.request))
|
89d9a8a7d6eb5e982d1728433ea2a9dfbd9d1259 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name = 'i2py',
version = '0.2',
description = 'Tools to work with i2p.',
author = 'contributors.txt',
author_email = 'Anonymous',
classifiers = [
'Development Status :: 3 - Alpha',
#'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Utilities',
],
install_requires = [ # If you plan on adding something, make it known why.
# Let's try to keep the dependencies minimal, okay?
'bunch', # Needed by i2py.control.pyjsonrpc.
'python-geoip', # Needed by i2py.netdb.
'python-geoip-geolite2', # Needed by i2py.netdb.
],
tests_require=['pytest'],
url = 'https://github.com/chris-barry/i2py',
packages = ['i2py', 'i2py.netdb', 'i2py.control', 'i2py.control.pyjsonrpc'],
)
| #!/usr/bin/env python
from setuptools import setup
setup(name = 'i2py',
version = '0.3',
description = 'Tools to work with i2p.',
author = 'See contributors.txt',
author_email = 'Anonymous',
classifiers = [
'Development Status :: 3 - Alpha',
#'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Utilities',
],
install_requires = [ # If you plan on adding something, make it known why.
# Let's try to keep the dependencies minimal, okay?
'bunch', # Needed by i2py.control.pyjsonrpc.
'python-geoip', # Needed by i2py.netdb.
'python-geoip-geolite2', # Needed by i2py.netdb.
],
tests_require=['pytest'],
url = 'https://github.com/chris-barry/i2py',
packages = ['i2py', 'i2py.netdb', 'i2py.control', 'i2py.control.pyjsonrpc'],
)
| Change version to 0.3 due to functions changing name. | Change version to 0.3 due to functions changing name.
| Python | mit | chris-barry/i2py | #!/usr/bin/env python
from setuptools import setup
setup(name = 'i2py',
version = '0.2',
description = 'Tools to work with i2p.',
author = 'contributors.txt',
author_email = 'Anonymous',
classifiers = [
'Development Status :: 3 - Alpha',
#'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Utilities',
],
install_requires = [ # If you plan on adding something, make it known why.
# Let's try to keep the dependencies minimal, okay?
'bunch', # Needed by i2py.control.pyjsonrpc.
'python-geoip', # Needed by i2py.netdb.
'python-geoip-geolite2', # Needed by i2py.netdb.
],
tests_require=['pytest'],
url = 'https://github.com/chris-barry/i2py',
packages = ['i2py', 'i2py.netdb', 'i2py.control', 'i2py.control.pyjsonrpc'],
)
Change version to 0.3 due to functions changing name. | #!/usr/bin/env python
from setuptools import setup
setup(name = 'i2py',
version = '0.3',
description = 'Tools to work with i2p.',
author = 'See contributors.txt',
author_email = 'Anonymous',
classifiers = [
'Development Status :: 3 - Alpha',
#'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Utilities',
],
install_requires = [ # If you plan on adding something, make it known why.
# Let's try to keep the dependencies minimal, okay?
'bunch', # Needed by i2py.control.pyjsonrpc.
'python-geoip', # Needed by i2py.netdb.
'python-geoip-geolite2', # Needed by i2py.netdb.
],
tests_require=['pytest'],
url = 'https://github.com/chris-barry/i2py',
packages = ['i2py', 'i2py.netdb', 'i2py.control', 'i2py.control.pyjsonrpc'],
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name = 'i2py',
version = '0.2',
description = 'Tools to work with i2p.',
author = 'contributors.txt',
author_email = 'Anonymous',
classifiers = [
'Development Status :: 3 - Alpha',
#'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Utilities',
],
install_requires = [ # If you plan on adding something, make it known why.
# Let's try to keep the dependencies minimal, okay?
'bunch', # Needed by i2py.control.pyjsonrpc.
'python-geoip', # Needed by i2py.netdb.
'python-geoip-geolite2', # Needed by i2py.netdb.
],
tests_require=['pytest'],
url = 'https://github.com/chris-barry/i2py',
packages = ['i2py', 'i2py.netdb', 'i2py.control', 'i2py.control.pyjsonrpc'],
)
<commit_msg>Change version to 0.3 due to functions changing name.<commit_after> | #!/usr/bin/env python
from setuptools import setup
setup(name = 'i2py',
version = '0.3',
description = 'Tools to work with i2p.',
author = 'See contributors.txt',
author_email = 'Anonymous',
classifiers = [
'Development Status :: 3 - Alpha',
#'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Utilities',
],
install_requires = [ # If you plan on adding something, make it known why.
# Let's try to keep the dependencies minimal, okay?
'bunch', # Needed by i2py.control.pyjsonrpc.
'python-geoip', # Needed by i2py.netdb.
'python-geoip-geolite2', # Needed by i2py.netdb.
],
tests_require=['pytest'],
url = 'https://github.com/chris-barry/i2py',
packages = ['i2py', 'i2py.netdb', 'i2py.control', 'i2py.control.pyjsonrpc'],
)
| #!/usr/bin/env python
from setuptools import setup
setup(name = 'i2py',
version = '0.2',
description = 'Tools to work with i2p.',
author = 'contributors.txt',
author_email = 'Anonymous',
classifiers = [
'Development Status :: 3 - Alpha',
#'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Utilities',
],
install_requires = [ # If you plan on adding something, make it known why.
# Let's try to keep the dependencies minimal, okay?
'bunch', # Needed by i2py.control.pyjsonrpc.
'python-geoip', # Needed by i2py.netdb.
'python-geoip-geolite2', # Needed by i2py.netdb.
],
tests_require=['pytest'],
url = 'https://github.com/chris-barry/i2py',
packages = ['i2py', 'i2py.netdb', 'i2py.control', 'i2py.control.pyjsonrpc'],
)
Change version to 0.3 due to functions changing name.#!/usr/bin/env python
from setuptools import setup
setup(name = 'i2py',
version = '0.3',
description = 'Tools to work with i2p.',
author = 'See contributors.txt',
author_email = 'Anonymous',
classifiers = [
'Development Status :: 3 - Alpha',
#'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Utilities',
],
install_requires = [ # If you plan on adding something, make it known why.
# Let's try to keep the dependencies minimal, okay?
'bunch', # Needed by i2py.control.pyjsonrpc.
'python-geoip', # Needed by i2py.netdb.
'python-geoip-geolite2', # Needed by i2py.netdb.
],
tests_require=['pytest'],
url = 'https://github.com/chris-barry/i2py',
packages = ['i2py', 'i2py.netdb', 'i2py.control', 'i2py.control.pyjsonrpc'],
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name = 'i2py',
version = '0.2',
description = 'Tools to work with i2p.',
author = 'contributors.txt',
author_email = 'Anonymous',
classifiers = [
'Development Status :: 3 - Alpha',
#'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Utilities',
],
install_requires = [ # If you plan on adding something, make it known why.
# Let's try to keep the dependencies minimal, okay?
'bunch', # Needed by i2py.control.pyjsonrpc.
'python-geoip', # Needed by i2py.netdb.
'python-geoip-geolite2', # Needed by i2py.netdb.
],
tests_require=['pytest'],
url = 'https://github.com/chris-barry/i2py',
packages = ['i2py', 'i2py.netdb', 'i2py.control', 'i2py.control.pyjsonrpc'],
)
<commit_msg>Change version to 0.3 due to functions changing name.<commit_after>#!/usr/bin/env python
from setuptools import setup
setup(name = 'i2py',
version = '0.3',
description = 'Tools to work with i2p.',
author = 'See contributors.txt',
author_email = 'Anonymous',
classifiers = [
'Development Status :: 3 - Alpha',
#'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Utilities',
],
install_requires = [ # If you plan on adding something, make it known why.
# Let's try to keep the dependencies minimal, okay?
'bunch', # Needed by i2py.control.pyjsonrpc.
'python-geoip', # Needed by i2py.netdb.
'python-geoip-geolite2', # Needed by i2py.netdb.
],
tests_require=['pytest'],
url = 'https://github.com/chris-barry/i2py',
packages = ['i2py', 'i2py.netdb', 'i2py.control', 'i2py.control.pyjsonrpc'],
)
|
06c17c0ecd01b4dccc8495785532ce6a377eb99f | 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="feedinlib",
version="0.1.0rc1",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof developer group",
author_email="windpowerlib@rl-institut.de",
license="MIT",
packages=["feedinlib"],
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
zip_safe=False,
install_requires=[
"cdsapi >= 0.1.4",
"numpy >= 1.7.0",
"oedialect >= 0.0.5",
"open_FRED-cli",
"pandas >= 0.13.1",
"pvlib >= 0.6.0",
"windpowerlib >= 0.2.0",
"xarray >= 0.12.0",
],
extras_require={
"dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
"examples": ["jupyter", "shapely"],
},
)
| import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc1",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof developer group",
author_email="windpowerlib@rl-institut.de",
license="MIT",
packages=["feedinlib"],
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
zip_safe=False,
install_requires=[
"cdsapi >= 0.1.4",
"numpy >= 1.7.0",
"oedialect >= 0.0.6.dev0",
"open_FRED-cli",
"pandas >= 0.13.1",
"pvlib >= 0.6.0",
"windpowerlib >= 0.2.0",
"xarray >= 0.12.0",
],
extras_require={
"dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
"examples": ["jupyter", "shapely"],
},
)
| Add `".dev0"` suffix to lower `"oedialect"` bound | Add `".dev0"` suffix to lower `"oedialect"` bound
Readthedocs still picked up version 0.0.4, even with 0.0.5 being
specified as the lower bound. Maybe it's because `oedialect` only has
`.dev0` releases in which case adding the explicit suffix fixes that.
Fingers crossed.
| Python | mit | oemof/feedinlib | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc1",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof developer group",
author_email="windpowerlib@rl-institut.de",
license="MIT",
packages=["feedinlib"],
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
zip_safe=False,
install_requires=[
"cdsapi >= 0.1.4",
"numpy >= 1.7.0",
"oedialect >= 0.0.5",
"open_FRED-cli",
"pandas >= 0.13.1",
"pvlib >= 0.6.0",
"windpowerlib >= 0.2.0",
"xarray >= 0.12.0",
],
extras_require={
"dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
"examples": ["jupyter", "shapely"],
},
)
Add `".dev0"` suffix to lower `"oedialect"` bound
Readthedocs still picked up version 0.0.4, even with 0.0.5 being
specified as the lower bound. Maybe it's because `oedialect` only has
`.dev0` releases in which case adding the explicit suffix fixes that.
Fingers crossed. | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc1",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof developer group",
author_email="windpowerlib@rl-institut.de",
license="MIT",
packages=["feedinlib"],
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
zip_safe=False,
install_requires=[
"cdsapi >= 0.1.4",
"numpy >= 1.7.0",
"oedialect >= 0.0.6.dev0",
"open_FRED-cli",
"pandas >= 0.13.1",
"pvlib >= 0.6.0",
"windpowerlib >= 0.2.0",
"xarray >= 0.12.0",
],
extras_require={
"dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
"examples": ["jupyter", "shapely"],
},
)
| <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc1",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof developer group",
author_email="windpowerlib@rl-institut.de",
license="MIT",
packages=["feedinlib"],
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
zip_safe=False,
install_requires=[
"cdsapi >= 0.1.4",
"numpy >= 1.7.0",
"oedialect >= 0.0.5",
"open_FRED-cli",
"pandas >= 0.13.1",
"pvlib >= 0.6.0",
"windpowerlib >= 0.2.0",
"xarray >= 0.12.0",
],
extras_require={
"dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
"examples": ["jupyter", "shapely"],
},
)
<commit_msg>Add `".dev0"` suffix to lower `"oedialect"` bound
Readthedocs still picked up version 0.0.4, even with 0.0.5 being
specified as the lower bound. Maybe it's because `oedialect` only has
`.dev0` releases in which case adding the explicit suffix fixes that.
Fingers crossed.<commit_after> | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc1",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof developer group",
author_email="windpowerlib@rl-institut.de",
license="MIT",
packages=["feedinlib"],
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
zip_safe=False,
install_requires=[
"cdsapi >= 0.1.4",
"numpy >= 1.7.0",
"oedialect >= 0.0.6.dev0",
"open_FRED-cli",
"pandas >= 0.13.1",
"pvlib >= 0.6.0",
"windpowerlib >= 0.2.0",
"xarray >= 0.12.0",
],
extras_require={
"dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
"examples": ["jupyter", "shapely"],
},
)
| import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc1",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof developer group",
author_email="windpowerlib@rl-institut.de",
license="MIT",
packages=["feedinlib"],
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
zip_safe=False,
install_requires=[
"cdsapi >= 0.1.4",
"numpy >= 1.7.0",
"oedialect >= 0.0.5",
"open_FRED-cli",
"pandas >= 0.13.1",
"pvlib >= 0.6.0",
"windpowerlib >= 0.2.0",
"xarray >= 0.12.0",
],
extras_require={
"dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
"examples": ["jupyter", "shapely"],
},
)
Add `".dev0"` suffix to lower `"oedialect"` bound
Readthedocs still picked up version 0.0.4, even with 0.0.5 being
specified as the lower bound. Maybe it's because `oedialect` only has
`.dev0` releases in which case adding the explicit suffix fixes that.
Fingers crossed.import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc1",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof developer group",
author_email="windpowerlib@rl-institut.de",
license="MIT",
packages=["feedinlib"],
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
zip_safe=False,
install_requires=[
"cdsapi >= 0.1.4",
"numpy >= 1.7.0",
"oedialect >= 0.0.6.dev0",
"open_FRED-cli",
"pandas >= 0.13.1",
"pvlib >= 0.6.0",
"windpowerlib >= 0.2.0",
"xarray >= 0.12.0",
],
extras_require={
"dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
"examples": ["jupyter", "shapely"],
},
)
| <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc1",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof developer group",
author_email="windpowerlib@rl-institut.de",
license="MIT",
packages=["feedinlib"],
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
zip_safe=False,
install_requires=[
"cdsapi >= 0.1.4",
"numpy >= 1.7.0",
"oedialect >= 0.0.5",
"open_FRED-cli",
"pandas >= 0.13.1",
"pvlib >= 0.6.0",
"windpowerlib >= 0.2.0",
"xarray >= 0.12.0",
],
extras_require={
"dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
"examples": ["jupyter", "shapely"],
},
)
<commit_msg>Add `".dev0"` suffix to lower `"oedialect"` bound
Readthedocs still picked up version 0.0.4, even with 0.0.5 being
specified as the lower bound. Maybe it's because `oedialect` only has
`.dev0` releases in which case adding the explicit suffix fixes that.
Fingers crossed.<commit_after>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="feedinlib",
version="0.1.0rc1",
description="Creating time series from pv or wind power plants.",
url="http://github.com/oemof/feedinlib",
author="oemof developer group",
author_email="windpowerlib@rl-institut.de",
license="MIT",
packages=["feedinlib"],
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
zip_safe=False,
install_requires=[
"cdsapi >= 0.1.4",
"numpy >= 1.7.0",
"oedialect >= 0.0.6.dev0",
"open_FRED-cli",
"pandas >= 0.13.1",
"pvlib >= 0.6.0",
"windpowerlib >= 0.2.0",
"xarray >= 0.12.0",
],
extras_require={
"dev": ["jupyter", "pytest", "shapely", "sphinx_rtd_theme"],
"examples": ["jupyter", "shapely"],
},
)
|
9fea1ab22a4d89c975767527e0d83ca224734d34 | setup.py | setup.py | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='gobblegobble',
version='0.1.2',
packages=find_packages(),
include_package_data=True,
license='BSD License', # example license
description='A Django app-based slackbot',
long_description=README,
url='https://github.com/ejesse/gobblegobble',
author='Jesse Emery',
author_email='jesse@jesseemery.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 9.x', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=['slackclient']
)
| import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='gobblegobble',
version='0.1.3',
packages=find_packages(),
include_package_data=True,
license='BSD License', # example license
description='A Django app-based slackbot',
long_description=README,
url='https://github.com/ejesse/gobblegobble',
author='Jesse Emery',
author_email='jesse@jesseemery.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 9.x', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=['slackclient']
)
| Add reconnect backoff and refactor for easier testing | Add reconnect backoff and refactor for easier testing
| Python | mit | ejesse/gobblegobble | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='gobblegobble',
version='0.1.2',
packages=find_packages(),
include_package_data=True,
license='BSD License', # example license
description='A Django app-based slackbot',
long_description=README,
url='https://github.com/ejesse/gobblegobble',
author='Jesse Emery',
author_email='jesse@jesseemery.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 9.x', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=['slackclient']
)
Add reconnect backoff and refactor for easier testing | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='gobblegobble',
version='0.1.3',
packages=find_packages(),
include_package_data=True,
license='BSD License', # example license
description='A Django app-based slackbot',
long_description=README,
url='https://github.com/ejesse/gobblegobble',
author='Jesse Emery',
author_email='jesse@jesseemery.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 9.x', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=['slackclient']
)
| <commit_before>import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='gobblegobble',
version='0.1.2',
packages=find_packages(),
include_package_data=True,
license='BSD License', # example license
description='A Django app-based slackbot',
long_description=README,
url='https://github.com/ejesse/gobblegobble',
author='Jesse Emery',
author_email='jesse@jesseemery.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 9.x', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=['slackclient']
)
<commit_msg>Add reconnect backoff and refactor for easier testing<commit_after> | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='gobblegobble',
version='0.1.3',
packages=find_packages(),
include_package_data=True,
license='BSD License', # example license
description='A Django app-based slackbot',
long_description=README,
url='https://github.com/ejesse/gobblegobble',
author='Jesse Emery',
author_email='jesse@jesseemery.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 9.x', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=['slackclient']
)
| import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='gobblegobble',
version='0.1.2',
packages=find_packages(),
include_package_data=True,
license='BSD License', # example license
description='A Django app-based slackbot',
long_description=README,
url='https://github.com/ejesse/gobblegobble',
author='Jesse Emery',
author_email='jesse@jesseemery.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 9.x', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=['slackclient']
)
Add reconnect backoff and refactor for easier testingimport os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='gobblegobble',
version='0.1.3',
packages=find_packages(),
include_package_data=True,
license='BSD License', # example license
description='A Django app-based slackbot',
long_description=README,
url='https://github.com/ejesse/gobblegobble',
author='Jesse Emery',
author_email='jesse@jesseemery.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 9.x', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=['slackclient']
)
| <commit_before>import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='gobblegobble',
version='0.1.2',
packages=find_packages(),
include_package_data=True,
license='BSD License', # example license
description='A Django app-based slackbot',
long_description=README,
url='https://github.com/ejesse/gobblegobble',
author='Jesse Emery',
author_email='jesse@jesseemery.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 9.x', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=['slackclient']
)
<commit_msg>Add reconnect backoff and refactor for easier testing<commit_after>import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='gobblegobble',
version='0.1.3',
packages=find_packages(),
include_package_data=True,
license='BSD License', # example license
description='A Django app-based slackbot',
long_description=README,
url='https://github.com/ejesse/gobblegobble',
author='Jesse Emery',
author_email='jesse@jesseemery.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 9.x', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=['slackclient']
)
|
7e44bb64bfabce3fde77a774c8d13df094f8e0a2 | setup.py | setup.py | from setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
],
description="SacredBoard",
long_description=long_description,
license="MIT License",
url="https://github.com/chovanecm/sacredboard",
name="sacredboard",
keywords="sacred",
packages=find_packages(),
include_package_data=True,
entry_points={
"console_scripts": [
"sacredboard = sacredboard.webapp:run"
]
},
install_requires=get_requirements(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
version="0.1.1"
)
| from setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
],
description="SacredBoard",
long_description=long_description,
license="MIT License",
url="https://github.com/chovanecm/sacredboard",
name="sacredboard",
keywords="sacred",
packages=find_packages(),
include_package_data=True,
entry_points={
"console_scripts": [
"sacredboard = sacredboard.webapp:run"
]
},
install_requires=get_requirements(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
version="0.1.2b"
)
| Increase version number to 0.1.2b | Increase version number to 0.1.2b
| Python | mit | chovanecm/sacredboard,chovanecm/sacredboard,chovanecm/sacredboard | from setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
],
description="SacredBoard",
long_description=long_description,
license="MIT License",
url="https://github.com/chovanecm/sacredboard",
name="sacredboard",
keywords="sacred",
packages=find_packages(),
include_package_data=True,
entry_points={
"console_scripts": [
"sacredboard = sacredboard.webapp:run"
]
},
install_requires=get_requirements(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
version="0.1.1"
)
Increase version number to 0.1.2b | from setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
],
description="SacredBoard",
long_description=long_description,
license="MIT License",
url="https://github.com/chovanecm/sacredboard",
name="sacredboard",
keywords="sacred",
packages=find_packages(),
include_package_data=True,
entry_points={
"console_scripts": [
"sacredboard = sacredboard.webapp:run"
]
},
install_requires=get_requirements(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
version="0.1.2b"
)
| <commit_before>from setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
],
description="SacredBoard",
long_description=long_description,
license="MIT License",
url="https://github.com/chovanecm/sacredboard",
name="sacredboard",
keywords="sacred",
packages=find_packages(),
include_package_data=True,
entry_points={
"console_scripts": [
"sacredboard = sacredboard.webapp:run"
]
},
install_requires=get_requirements(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
version="0.1.1"
)
<commit_msg>Increase version number to 0.1.2b<commit_after> | from setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
],
description="SacredBoard",
long_description=long_description,
license="MIT License",
url="https://github.com/chovanecm/sacredboard",
name="sacredboard",
keywords="sacred",
packages=find_packages(),
include_package_data=True,
entry_points={
"console_scripts": [
"sacredboard = sacredboard.webapp:run"
]
},
install_requires=get_requirements(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
version="0.1.2b"
)
| from setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
],
description="SacredBoard",
long_description=long_description,
license="MIT License",
url="https://github.com/chovanecm/sacredboard",
name="sacredboard",
keywords="sacred",
packages=find_packages(),
include_package_data=True,
entry_points={
"console_scripts": [
"sacredboard = sacredboard.webapp:run"
]
},
install_requires=get_requirements(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
version="0.1.1"
)
Increase version number to 0.1.2bfrom setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
],
description="SacredBoard",
long_description=long_description,
license="MIT License",
url="https://github.com/chovanecm/sacredboard",
name="sacredboard",
keywords="sacred",
packages=find_packages(),
include_package_data=True,
entry_points={
"console_scripts": [
"sacredboard = sacredboard.webapp:run"
]
},
install_requires=get_requirements(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
version="0.1.2b"
)
| <commit_before>from setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
],
description="SacredBoard",
long_description=long_description,
license="MIT License",
url="https://github.com/chovanecm/sacredboard",
name="sacredboard",
keywords="sacred",
packages=find_packages(),
include_package_data=True,
entry_points={
"console_scripts": [
"sacredboard = sacredboard.webapp:run"
]
},
install_requires=get_requirements(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
version="0.1.1"
)
<commit_msg>Increase version number to 0.1.2b<commit_after>from setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
],
description="SacredBoard",
long_description=long_description,
license="MIT License",
url="https://github.com/chovanecm/sacredboard",
name="sacredboard",
keywords="sacred",
packages=find_packages(),
include_package_data=True,
entry_points={
"console_scripts": [
"sacredboard = sacredboard.webapp:run"
]
},
install_requires=get_requirements(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
version="0.1.2b"
)
|
51b60dc34f9ce2c613e3c79275ccb2495faaf180 | setup.py | setup.py | import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN study images. See the README file for more information.'
requires = ['pydicom']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
author_email = 'loneyf@ohsu.edu',
packages = find_packages(),
scripts = glob.glob('bin/*'),
url = 'http://quip1.ohsu.edu/git/qipipe',
license = 'Proprietary',
description = __doc__.split('.', 1)[0],
long_description = __doc__,
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
install_requires = requires
)
| import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN study images. See the README file for more information.'
requires = ['pydicom', 'envoy']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
author_email = 'loneyf@ohsu.edu',
packages = find_packages(),
scripts = glob.glob('bin/*'),
url = 'http://quip1.ohsu.edu/git/qipipe',
license = 'Proprietary',
description = __doc__.split('.', 1)[0],
long_description = __doc__,
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
install_requires = requires
)
| Use envoy to wrap commands. | Use envoy to wrap commands.
| Python | bsd-2-clause | ohsu-qin/qipipe | import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN study images. See the README file for more information.'
requires = ['pydicom']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
author_email = 'loneyf@ohsu.edu',
packages = find_packages(),
scripts = glob.glob('bin/*'),
url = 'http://quip1.ohsu.edu/git/qipipe',
license = 'Proprietary',
description = __doc__.split('.', 1)[0],
long_description = __doc__,
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
install_requires = requires
)
Use envoy to wrap commands. | import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN study images. See the README file for more information.'
requires = ['pydicom', 'envoy']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
author_email = 'loneyf@ohsu.edu',
packages = find_packages(),
scripts = glob.glob('bin/*'),
url = 'http://quip1.ohsu.edu/git/qipipe',
license = 'Proprietary',
description = __doc__.split('.', 1)[0],
long_description = __doc__,
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
install_requires = requires
)
| <commit_before>import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN study images. See the README file for more information.'
requires = ['pydicom']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
author_email = 'loneyf@ohsu.edu',
packages = find_packages(),
scripts = glob.glob('bin/*'),
url = 'http://quip1.ohsu.edu/git/qipipe',
license = 'Proprietary',
description = __doc__.split('.', 1)[0],
long_description = __doc__,
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
install_requires = requires
)
<commit_msg>Use envoy to wrap commands.<commit_after> | import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN study images. See the README file for more information.'
requires = ['pydicom', 'envoy']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
author_email = 'loneyf@ohsu.edu',
packages = find_packages(),
scripts = glob.glob('bin/*'),
url = 'http://quip1.ohsu.edu/git/qipipe',
license = 'Proprietary',
description = __doc__.split('.', 1)[0],
long_description = __doc__,
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
install_requires = requires
)
| import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN study images. See the README file for more information.'
requires = ['pydicom']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
author_email = 'loneyf@ohsu.edu',
packages = find_packages(),
scripts = glob.glob('bin/*'),
url = 'http://quip1.ohsu.edu/git/qipipe',
license = 'Proprietary',
description = __doc__.split('.', 1)[0],
long_description = __doc__,
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
install_requires = requires
)
Use envoy to wrap commands.import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN study images. See the README file for more information.'
requires = ['pydicom', 'envoy']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
author_email = 'loneyf@ohsu.edu',
packages = find_packages(),
scripts = glob.glob('bin/*'),
url = 'http://quip1.ohsu.edu/git/qipipe',
license = 'Proprietary',
description = __doc__.split('.', 1)[0],
long_description = __doc__,
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
install_requires = requires
)
| <commit_before>import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN study images. See the README file for more information.'
requires = ['pydicom']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
author_email = 'loneyf@ohsu.edu',
packages = find_packages(),
scripts = glob.glob('bin/*'),
url = 'http://quip1.ohsu.edu/git/qipipe',
license = 'Proprietary',
description = __doc__.split('.', 1)[0],
long_description = __doc__,
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
install_requires = requires
)
<commit_msg>Use envoy to wrap commands.<commit_after>import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN study images. See the README file for more information.'
requires = ['pydicom', 'envoy']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
author_email = 'loneyf@ohsu.edu',
packages = find_packages(),
scripts = glob.glob('bin/*'),
url = 'http://quip1.ohsu.edu/git/qipipe',
license = 'Proprietary',
description = __doc__.split('.', 1)[0],
long_description = __doc__,
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
install_requires = requires
)
|
a1e18385c2c5df9db8390b2da4d5baa2465f150e | webcomix/tests/test_comic_availability.py | webcomix/tests/test_comic_availability.py | import pytest
from webcomix.comic import Comic
from webcomix.supported_comics import supported_comics
from webcomix.util import check_first_pages
@pytest.mark.slow
def test_supported_comics():
for comic_name, comic_info in supported_comics.items():
comic = Comic(comic_name, *comic_info)
first_pages = comic.verify_xpath()
check_first_pages(first_pages)
| import pytest
from webcomix.comic import Comic
from webcomix.supported_comics import supported_comics
from webcomix.util import check_first_pages
@pytest.mark.slow
@pytest.mark.parametrize("comic_name", list(supported_comics.keys()))
def test_supported_comics(comic_name):
comic = Comic(comic_name, *supported_comics[comic_name])
first_pages = comic.verify_xpath()
check_first_pages(first_pages)
| Test comic availability of all supported comics independently through parametrization | Test comic availability of all supported comics independently through parametrization
| Python | mit | J-CPelletier/webcomix,J-CPelletier/WebComicToCBZ,J-CPelletier/webcomix | import pytest
from webcomix.comic import Comic
from webcomix.supported_comics import supported_comics
from webcomix.util import check_first_pages
@pytest.mark.slow
def test_supported_comics():
for comic_name, comic_info in supported_comics.items():
comic = Comic(comic_name, *comic_info)
first_pages = comic.verify_xpath()
check_first_pages(first_pages)
Test comic availability of all supported comics independently through parametrization | import pytest
from webcomix.comic import Comic
from webcomix.supported_comics import supported_comics
from webcomix.util import check_first_pages
@pytest.mark.slow
@pytest.mark.parametrize("comic_name", list(supported_comics.keys()))
def test_supported_comics(comic_name):
comic = Comic(comic_name, *supported_comics[comic_name])
first_pages = comic.verify_xpath()
check_first_pages(first_pages)
| <commit_before>import pytest
from webcomix.comic import Comic
from webcomix.supported_comics import supported_comics
from webcomix.util import check_first_pages
@pytest.mark.slow
def test_supported_comics():
for comic_name, comic_info in supported_comics.items():
comic = Comic(comic_name, *comic_info)
first_pages = comic.verify_xpath()
check_first_pages(first_pages)
<commit_msg>Test comic availability of all supported comics independently through parametrization<commit_after> | import pytest
from webcomix.comic import Comic
from webcomix.supported_comics import supported_comics
from webcomix.util import check_first_pages
@pytest.mark.slow
@pytest.mark.parametrize("comic_name", list(supported_comics.keys()))
def test_supported_comics(comic_name):
comic = Comic(comic_name, *supported_comics[comic_name])
first_pages = comic.verify_xpath()
check_first_pages(first_pages)
| import pytest
from webcomix.comic import Comic
from webcomix.supported_comics import supported_comics
from webcomix.util import check_first_pages
@pytest.mark.slow
def test_supported_comics():
for comic_name, comic_info in supported_comics.items():
comic = Comic(comic_name, *comic_info)
first_pages = comic.verify_xpath()
check_first_pages(first_pages)
Test comic availability of all supported comics independently through parametrizationimport pytest
from webcomix.comic import Comic
from webcomix.supported_comics import supported_comics
from webcomix.util import check_first_pages
@pytest.mark.slow
@pytest.mark.parametrize("comic_name", list(supported_comics.keys()))
def test_supported_comics(comic_name):
comic = Comic(comic_name, *supported_comics[comic_name])
first_pages = comic.verify_xpath()
check_first_pages(first_pages)
| <commit_before>import pytest
from webcomix.comic import Comic
from webcomix.supported_comics import supported_comics
from webcomix.util import check_first_pages
@pytest.mark.slow
def test_supported_comics():
for comic_name, comic_info in supported_comics.items():
comic = Comic(comic_name, *comic_info)
first_pages = comic.verify_xpath()
check_first_pages(first_pages)
<commit_msg>Test comic availability of all supported comics independently through parametrization<commit_after>import pytest
from webcomix.comic import Comic
from webcomix.supported_comics import supported_comics
from webcomix.util import check_first_pages
@pytest.mark.slow
@pytest.mark.parametrize("comic_name", list(supported_comics.keys()))
def test_supported_comics(comic_name):
comic = Comic(comic_name, *supported_comics[comic_name])
first_pages = comic.verify_xpath()
check_first_pages(first_pages)
|
43cb656c5318d656fdff6d7bc3a2d6f69861c714 | setup.py | setup.py | from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
setup(name='dectate',
version='0.11.dev0',
description="A configuration engine for Python frameworks",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
url='http://dectate.readthedocs.org',
license="BSD",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable'
],
keywords="configuration",
install_requires=[
'setuptools'
],
extras_require = dict(
test=['pytest >= 2.5.2',
'py >= 1.4.20',
'pytest-cov',
'pytest-remove-stale-bytecode',
],
),
)
| import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
setup(
name='dectate',
version='0.11.dev0',
description="A configuration engine for Python frameworks",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
url='http://dectate.readthedocs.org',
license="BSD",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable'
],
keywords="configuration",
install_requires=[
'setuptools'
],
extras_require=dict(
test=[
'pytest >= 2.5.2',
'py >= 1.4.20',
'pytest-cov',
'pytest-remove-stale-bytecode',
],
),
)
| Use io.open with encoding='utf-8' and flake8 compliance | Use io.open with encoding='utf-8' and flake8 compliance
| Python | bsd-3-clause | morepath/dectate | from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
setup(name='dectate',
version='0.11.dev0',
description="A configuration engine for Python frameworks",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
url='http://dectate.readthedocs.org',
license="BSD",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable'
],
keywords="configuration",
install_requires=[
'setuptools'
],
extras_require = dict(
test=['pytest >= 2.5.2',
'py >= 1.4.20',
'pytest-cov',
'pytest-remove-stale-bytecode',
],
),
)
Use io.open with encoding='utf-8' and flake8 compliance | import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
setup(
name='dectate',
version='0.11.dev0',
description="A configuration engine for Python frameworks",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
url='http://dectate.readthedocs.org',
license="BSD",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable'
],
keywords="configuration",
install_requires=[
'setuptools'
],
extras_require=dict(
test=[
'pytest >= 2.5.2',
'py >= 1.4.20',
'pytest-cov',
'pytest-remove-stale-bytecode',
],
),
)
| <commit_before>from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
setup(name='dectate',
version='0.11.dev0',
description="A configuration engine for Python frameworks",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
url='http://dectate.readthedocs.org',
license="BSD",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable'
],
keywords="configuration",
install_requires=[
'setuptools'
],
extras_require = dict(
test=['pytest >= 2.5.2',
'py >= 1.4.20',
'pytest-cov',
'pytest-remove-stale-bytecode',
],
),
)
<commit_msg>Use io.open with encoding='utf-8' and flake8 compliance<commit_after> | import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
setup(
name='dectate',
version='0.11.dev0',
description="A configuration engine for Python frameworks",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
url='http://dectate.readthedocs.org',
license="BSD",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable'
],
keywords="configuration",
install_requires=[
'setuptools'
],
extras_require=dict(
test=[
'pytest >= 2.5.2',
'py >= 1.4.20',
'pytest-cov',
'pytest-remove-stale-bytecode',
],
),
)
| from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
setup(name='dectate',
version='0.11.dev0',
description="A configuration engine for Python frameworks",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
url='http://dectate.readthedocs.org',
license="BSD",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable'
],
keywords="configuration",
install_requires=[
'setuptools'
],
extras_require = dict(
test=['pytest >= 2.5.2',
'py >= 1.4.20',
'pytest-cov',
'pytest-remove-stale-bytecode',
],
),
)
Use io.open with encoding='utf-8' and flake8 complianceimport io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
setup(
name='dectate',
version='0.11.dev0',
description="A configuration engine for Python frameworks",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
url='http://dectate.readthedocs.org',
license="BSD",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable'
],
keywords="configuration",
install_requires=[
'setuptools'
],
extras_require=dict(
test=[
'pytest >= 2.5.2',
'py >= 1.4.20',
'pytest-cov',
'pytest-remove-stale-bytecode',
],
),
)
| <commit_before>from setuptools import setup, find_packages
long_description = (
open('README.rst').read()
+ '\n' +
open('CHANGES.txt').read())
setup(name='dectate',
version='0.11.dev0',
description="A configuration engine for Python frameworks",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
url='http://dectate.readthedocs.org',
license="BSD",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable'
],
keywords="configuration",
install_requires=[
'setuptools'
],
extras_require = dict(
test=['pytest >= 2.5.2',
'py >= 1.4.20',
'pytest-cov',
'pytest-remove-stale-bytecode',
],
),
)
<commit_msg>Use io.open with encoding='utf-8' and flake8 compliance<commit_after>import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
setup(
name='dectate',
version='0.11.dev0',
description="A configuration engine for Python frameworks",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
url='http://dectate.readthedocs.org',
license="BSD",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable'
],
keywords="configuration",
install_requires=[
'setuptools'
],
extras_require=dict(
test=[
'pytest >= 2.5.2',
'py >= 1.4.20',
'pytest-cov',
'pytest-remove-stale-bytecode',
],
),
)
|
0ea95fa57419b77150bb8e4ba264aa56cf51da86 | setup.py | setup.py | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.18.0',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate audio with an simple and easy high level interface',
license='MIT',
keywords='audio sound high-level',
url='http://pydub.com',
packages=['pydub'],
long_description=__doc__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Editors",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Topic :: Software Development :: Libraries",
'Topic :: Utilities',
]
)
| __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.19.0',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate audio with an simple and easy high level interface',
license='MIT',
keywords='audio sound high-level',
url='http://pydub.com',
packages=['pydub'],
long_description=__doc__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Editors",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Topic :: Software Development :: Libraries",
'Topic :: Utilities',
]
)
| Increment version for multichannel splitting | Increment version for multichannel splitting
| Python | mit | jiaaro/pydub | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.18.0',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate audio with an simple and easy high level interface',
license='MIT',
keywords='audio sound high-level',
url='http://pydub.com',
packages=['pydub'],
long_description=__doc__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Editors",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Topic :: Software Development :: Libraries",
'Topic :: Utilities',
]
)
Increment version for multichannel splitting | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.19.0',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate audio with an simple and easy high level interface',
license='MIT',
keywords='audio sound high-level',
url='http://pydub.com',
packages=['pydub'],
long_description=__doc__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Editors",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Topic :: Software Development :: Libraries",
'Topic :: Utilities',
]
)
| <commit_before>__doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.18.0',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate audio with an simple and easy high level interface',
license='MIT',
keywords='audio sound high-level',
url='http://pydub.com',
packages=['pydub'],
long_description=__doc__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Editors",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Topic :: Software Development :: Libraries",
'Topic :: Utilities',
]
)
<commit_msg>Increment version for multichannel splitting<commit_after> | __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.19.0',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate audio with an simple and easy high level interface',
license='MIT',
keywords='audio sound high-level',
url='http://pydub.com',
packages=['pydub'],
long_description=__doc__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Editors",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Topic :: Software Development :: Libraries",
'Topic :: Utilities',
]
)
| __doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.18.0',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate audio with an simple and easy high level interface',
license='MIT',
keywords='audio sound high-level',
url='http://pydub.com',
packages=['pydub'],
long_description=__doc__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Editors",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Topic :: Software Development :: Libraries",
'Topic :: Utilities',
]
)
Increment version for multichannel splitting__doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.19.0',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate audio with an simple and easy high level interface',
license='MIT',
keywords='audio sound high-level',
url='http://pydub.com',
packages=['pydub'],
long_description=__doc__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Editors",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Topic :: Software Development :: Libraries",
'Topic :: Utilities',
]
)
| <commit_before>__doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.18.0',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate audio with an simple and easy high level interface',
license='MIT',
keywords='audio sound high-level',
url='http://pydub.com',
packages=['pydub'],
long_description=__doc__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Editors",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Topic :: Software Development :: Libraries",
'Topic :: Utilities',
]
)
<commit_msg>Increment version for multichannel splitting<commit_after>__doc__ = """
Manipulate audio with an simple and easy high level interface.
See the README file for details, usage info, and a list of gotchas.
"""
from setuptools import setup
setup(
name='pydub',
version='0.19.0',
author='James Robert',
author_email='jiaaro@gmail.com',
description='Manipulate audio with an simple and easy high level interface',
license='MIT',
keywords='audio sound high-level',
url='http://pydub.com',
packages=['pydub'],
long_description=__doc__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Editors",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Topic :: Software Development :: Libraries",
'Topic :: Utilities',
]
)
|
ba942aa988e049779a717c41d068547f5bce8b0b | setup.py | setup.py | #!/usr/bin/env python
# coding: utf-8
import glob as _glob
import setuptools as _st
import tues as _tues
if __name__ == '__main__':
_st.setup(
name='tues',
version=_tues.__version__,
url='https://github.com/wontfix-org/tues/',
license='MIT',
author='Michael van Bracht',
author_email='michael@wontfix.org',
description='Easy remote command execution',
packages=_st.find_packages(),
scripts=_glob.glob('scripts/tues*'),
include_package_data=True,
platforms='any',
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
install_requires=['docopt', 'fabric3', 'requests>=2.4'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Natural Language :: English',
],
)
| #!/usr/bin/env python
# coding: utf-8
import glob as _glob
import setuptools as _st
import tues as _tues
if __name__ == '__main__':
_st.setup(
name='tues',
version=_tues.__version__,
url='https://github.com/wontfix-org/tues/',
license='MIT',
author='Michael van Bracht',
author_email='michael@wontfix.org',
description='Easy remote command execution',
packages=_st.find_packages(),
scripts=_glob.glob('scripts/tues*'),
include_package_data=True,
platforms='any',
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=['docopt', 'fabric3', 'requests>=2.4'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Natural Language :: English',
],
)
| Move to native markdown parsing | packaging: Move to native markdown parsing
setuptools-markdown is deprecated
| Python | mit | wontfix-org/tues | #!/usr/bin/env python
# coding: utf-8
import glob as _glob
import setuptools as _st
import tues as _tues
if __name__ == '__main__':
_st.setup(
name='tues',
version=_tues.__version__,
url='https://github.com/wontfix-org/tues/',
license='MIT',
author='Michael van Bracht',
author_email='michael@wontfix.org',
description='Easy remote command execution',
packages=_st.find_packages(),
scripts=_glob.glob('scripts/tues*'),
include_package_data=True,
platforms='any',
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
install_requires=['docopt', 'fabric3', 'requests>=2.4'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Natural Language :: English',
],
)
packaging: Move to native markdown parsing
setuptools-markdown is deprecated | #!/usr/bin/env python
# coding: utf-8
import glob as _glob
import setuptools as _st
import tues as _tues
if __name__ == '__main__':
_st.setup(
name='tues',
version=_tues.__version__,
url='https://github.com/wontfix-org/tues/',
license='MIT',
author='Michael van Bracht',
author_email='michael@wontfix.org',
description='Easy remote command execution',
packages=_st.find_packages(),
scripts=_glob.glob('scripts/tues*'),
include_package_data=True,
platforms='any',
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=['docopt', 'fabric3', 'requests>=2.4'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Natural Language :: English',
],
)
| <commit_before>#!/usr/bin/env python
# coding: utf-8
import glob as _glob
import setuptools as _st
import tues as _tues
if __name__ == '__main__':
_st.setup(
name='tues',
version=_tues.__version__,
url='https://github.com/wontfix-org/tues/',
license='MIT',
author='Michael van Bracht',
author_email='michael@wontfix.org',
description='Easy remote command execution',
packages=_st.find_packages(),
scripts=_glob.glob('scripts/tues*'),
include_package_data=True,
platforms='any',
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
install_requires=['docopt', 'fabric3', 'requests>=2.4'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Natural Language :: English',
],
)
<commit_msg>packaging: Move to native markdown parsing
setuptools-markdown is deprecated<commit_after> | #!/usr/bin/env python
# coding: utf-8
import glob as _glob
import setuptools as _st
import tues as _tues
if __name__ == '__main__':
_st.setup(
name='tues',
version=_tues.__version__,
url='https://github.com/wontfix-org/tues/',
license='MIT',
author='Michael van Bracht',
author_email='michael@wontfix.org',
description='Easy remote command execution',
packages=_st.find_packages(),
scripts=_glob.glob('scripts/tues*'),
include_package_data=True,
platforms='any',
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=['docopt', 'fabric3', 'requests>=2.4'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Natural Language :: English',
],
)
| #!/usr/bin/env python
# coding: utf-8
import glob as _glob
import setuptools as _st
import tues as _tues
if __name__ == '__main__':
_st.setup(
name='tues',
version=_tues.__version__,
url='https://github.com/wontfix-org/tues/',
license='MIT',
author='Michael van Bracht',
author_email='michael@wontfix.org',
description='Easy remote command execution',
packages=_st.find_packages(),
scripts=_glob.glob('scripts/tues*'),
include_package_data=True,
platforms='any',
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
install_requires=['docopt', 'fabric3', 'requests>=2.4'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Natural Language :: English',
],
)
packaging: Move to native markdown parsing
setuptools-markdown is deprecated#!/usr/bin/env python
# coding: utf-8
import glob as _glob
import setuptools as _st
import tues as _tues
if __name__ == '__main__':
_st.setup(
name='tues',
version=_tues.__version__,
url='https://github.com/wontfix-org/tues/',
license='MIT',
author='Michael van Bracht',
author_email='michael@wontfix.org',
description='Easy remote command execution',
packages=_st.find_packages(),
scripts=_glob.glob('scripts/tues*'),
include_package_data=True,
platforms='any',
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=['docopt', 'fabric3', 'requests>=2.4'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Natural Language :: English',
],
)
| <commit_before>#!/usr/bin/env python
# coding: utf-8
import glob as _glob
import setuptools as _st
import tues as _tues
if __name__ == '__main__':
_st.setup(
name='tues',
version=_tues.__version__,
url='https://github.com/wontfix-org/tues/',
license='MIT',
author='Michael van Bracht',
author_email='michael@wontfix.org',
description='Easy remote command execution',
packages=_st.find_packages(),
scripts=_glob.glob('scripts/tues*'),
include_package_data=True,
platforms='any',
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
install_requires=['docopt', 'fabric3', 'requests>=2.4'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Natural Language :: English',
],
)
<commit_msg>packaging: Move to native markdown parsing
setuptools-markdown is deprecated<commit_after>#!/usr/bin/env python
# coding: utf-8
import glob as _glob
import setuptools as _st
import tues as _tues
if __name__ == '__main__':
_st.setup(
name='tues',
version=_tues.__version__,
url='https://github.com/wontfix-org/tues/',
license='MIT',
author='Michael van Bracht',
author_email='michael@wontfix.org',
description='Easy remote command execution',
packages=_st.find_packages(),
scripts=_glob.glob('scripts/tues*'),
include_package_data=True,
platforms='any',
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=['docopt', 'fabric3', 'requests>=2.4'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Natural Language :: English',
],
)
|
334b805fce8b7924aa4b812964165f1d93f07d69 | setup.py | setup.py | # -*- coding: utf-8 -*-
#
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from setuptools import setup, find_packages
setup(
name='pysteps',
version='1.0',
packages=find_packages(),
license='LICENSE',
description='Python framework for short-term ensemble prediction systems',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython'],
)
| # -*- coding: utf-8 -*-
#
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from setuptools import setup, find_packages
setup(
name='pysteps',
version='1.0',
packages=find_packages(),
license='LICENSE',
description='Python framework for short-term ensemble prediction systems',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython'],
)
| Remove Python 2/2.7 because they are no longer supported | Remove Python 2/2.7 because they are no longer supported
| Python | bsd-3-clause | pySTEPS/pysteps | # -*- coding: utf-8 -*-
#
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from setuptools import setup, find_packages
setup(
name='pysteps',
version='1.0',
packages=find_packages(),
license='LICENSE',
description='Python framework for short-term ensemble prediction systems',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython'],
)
Remove Python 2/2.7 because they are no longer supported | # -*- coding: utf-8 -*-
#
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from setuptools import setup, find_packages
setup(
name='pysteps',
version='1.0',
packages=find_packages(),
license='LICENSE',
description='Python framework for short-term ensemble prediction systems',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython'],
)
| <commit_before># -*- coding: utf-8 -*-
#
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from setuptools import setup, find_packages
setup(
name='pysteps',
version='1.0',
packages=find_packages(),
license='LICENSE',
description='Python framework for short-term ensemble prediction systems',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython'],
)
<commit_msg>Remove Python 2/2.7 because they are no longer supported<commit_after> | # -*- coding: utf-8 -*-
#
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from setuptools import setup, find_packages
setup(
name='pysteps',
version='1.0',
packages=find_packages(),
license='LICENSE',
description='Python framework for short-term ensemble prediction systems',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython'],
)
| # -*- coding: utf-8 -*-
#
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from setuptools import setup, find_packages
setup(
name='pysteps',
version='1.0',
packages=find_packages(),
license='LICENSE',
description='Python framework for short-term ensemble prediction systems',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython'],
)
Remove Python 2/2.7 because they are no longer supported# -*- coding: utf-8 -*-
#
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from setuptools import setup, find_packages
setup(
name='pysteps',
version='1.0',
packages=find_packages(),
license='LICENSE',
description='Python framework for short-term ensemble prediction systems',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython'],
)
| <commit_before># -*- coding: utf-8 -*-
#
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from setuptools import setup, find_packages
setup(
name='pysteps',
version='1.0',
packages=find_packages(),
license='LICENSE',
description='Python framework for short-term ensemble prediction systems',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython'],
)
<commit_msg>Remove Python 2/2.7 because they are no longer supported<commit_after># -*- coding: utf-8 -*-
#
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from setuptools import setup, find_packages
setup(
name='pysteps',
version='1.0',
packages=find_packages(),
license='LICENSE',
description='Python framework for short-term ensemble prediction systems',
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython'],
)
|
b4ea08a378bd12c823b6e68f4b72f3a6b327f8e1 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
import os
def get_build():
path = "./.build"
if os.path.exists(path):
fp = open(path, "r")
build = eval(fp.read())
if os.path.exists("./.increase_build"):
build += 1
fp.close()
else:
build = 1
fp = open(path, "w")
fp.write(str(build))
fp.close()
return str(build)
setup(
name="pylast",
version="0.6." + get_build(),
author="Amr Hassan <amr.hassan@gmail.com>",
description="A Python interface to Last.fm (and other API compatible social networks)",
author_email="amr.hassan@gmail.com",
url="https://github.com/hugovk/pylast",
py_modules=("pylast",),
license="Apache2"
)
# End of file
| #!/usr/bin/env python
from distutils.core import setup
import os
def get_build():
path = "./.build"
if os.path.exists(path):
fp = open(path, "r")
build = eval(fp.read())
if os.path.exists("./.increase_build"):
build += 1
fp.close()
else:
build = 1
fp = open(path, "w")
fp.write(str(build))
fp.close()
return str(build)
setup(
name="pylast",
version="0.6." + get_build(),
author="Amr Hassan <amr.hassan@gmail.com>",
description="A Python interface to Last.fm (and other API compatible social networks)",
author_email="amr.hassan@gmail.com",
url="https://github.com/pylast/pylast",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Topic :: Internet",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
keywords=["Last.fm", "music", "scrobble", "scrobbling"],
py_modules=("pylast",),
license="Apache2"
)
# End of file
| Change URL, add classifiers and keywords | Change URL, add classifiers and keywords
| Python | apache-2.0 | knockoutMice/pylast,yanggao1119/pylast,knockoutMice/pylast,hugovk/pylast,pylast/pylast,yanggao1119/pylast | #!/usr/bin/env python
from distutils.core import setup
import os
def get_build():
path = "./.build"
if os.path.exists(path):
fp = open(path, "r")
build = eval(fp.read())
if os.path.exists("./.increase_build"):
build += 1
fp.close()
else:
build = 1
fp = open(path, "w")
fp.write(str(build))
fp.close()
return str(build)
setup(
name="pylast",
version="0.6." + get_build(),
author="Amr Hassan <amr.hassan@gmail.com>",
description="A Python interface to Last.fm (and other API compatible social networks)",
author_email="amr.hassan@gmail.com",
url="https://github.com/hugovk/pylast",
py_modules=("pylast",),
license="Apache2"
)
# End of file
Change URL, add classifiers and keywords | #!/usr/bin/env python
from distutils.core import setup
import os
def get_build():
path = "./.build"
if os.path.exists(path):
fp = open(path, "r")
build = eval(fp.read())
if os.path.exists("./.increase_build"):
build += 1
fp.close()
else:
build = 1
fp = open(path, "w")
fp.write(str(build))
fp.close()
return str(build)
setup(
name="pylast",
version="0.6." + get_build(),
author="Amr Hassan <amr.hassan@gmail.com>",
description="A Python interface to Last.fm (and other API compatible social networks)",
author_email="amr.hassan@gmail.com",
url="https://github.com/pylast/pylast",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Topic :: Internet",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
keywords=["Last.fm", "music", "scrobble", "scrobbling"],
py_modules=("pylast",),
license="Apache2"
)
# End of file
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
import os
def get_build():
path = "./.build"
if os.path.exists(path):
fp = open(path, "r")
build = eval(fp.read())
if os.path.exists("./.increase_build"):
build += 1
fp.close()
else:
build = 1
fp = open(path, "w")
fp.write(str(build))
fp.close()
return str(build)
setup(
name="pylast",
version="0.6." + get_build(),
author="Amr Hassan <amr.hassan@gmail.com>",
description="A Python interface to Last.fm (and other API compatible social networks)",
author_email="amr.hassan@gmail.com",
url="https://github.com/hugovk/pylast",
py_modules=("pylast",),
license="Apache2"
)
# End of file
<commit_msg>Change URL, add classifiers and keywords<commit_after> | #!/usr/bin/env python
from distutils.core import setup
import os
def get_build():
path = "./.build"
if os.path.exists(path):
fp = open(path, "r")
build = eval(fp.read())
if os.path.exists("./.increase_build"):
build += 1
fp.close()
else:
build = 1
fp = open(path, "w")
fp.write(str(build))
fp.close()
return str(build)
setup(
name="pylast",
version="0.6." + get_build(),
author="Amr Hassan <amr.hassan@gmail.com>",
description="A Python interface to Last.fm (and other API compatible social networks)",
author_email="amr.hassan@gmail.com",
url="https://github.com/pylast/pylast",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Topic :: Internet",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
keywords=["Last.fm", "music", "scrobble", "scrobbling"],
py_modules=("pylast",),
license="Apache2"
)
# End of file
| #!/usr/bin/env python
from distutils.core import setup
import os
def get_build():
path = "./.build"
if os.path.exists(path):
fp = open(path, "r")
build = eval(fp.read())
if os.path.exists("./.increase_build"):
build += 1
fp.close()
else:
build = 1
fp = open(path, "w")
fp.write(str(build))
fp.close()
return str(build)
setup(
name="pylast",
version="0.6." + get_build(),
author="Amr Hassan <amr.hassan@gmail.com>",
description="A Python interface to Last.fm (and other API compatible social networks)",
author_email="amr.hassan@gmail.com",
url="https://github.com/hugovk/pylast",
py_modules=("pylast",),
license="Apache2"
)
# End of file
Change URL, add classifiers and keywords#!/usr/bin/env python
from distutils.core import setup
import os
def get_build():
path = "./.build"
if os.path.exists(path):
fp = open(path, "r")
build = eval(fp.read())
if os.path.exists("./.increase_build"):
build += 1
fp.close()
else:
build = 1
fp = open(path, "w")
fp.write(str(build))
fp.close()
return str(build)
setup(
name="pylast",
version="0.6." + get_build(),
author="Amr Hassan <amr.hassan@gmail.com>",
description="A Python interface to Last.fm (and other API compatible social networks)",
author_email="amr.hassan@gmail.com",
url="https://github.com/pylast/pylast",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Topic :: Internet",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
keywords=["Last.fm", "music", "scrobble", "scrobbling"],
py_modules=("pylast",),
license="Apache2"
)
# End of file
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
import os
def get_build():
path = "./.build"
if os.path.exists(path):
fp = open(path, "r")
build = eval(fp.read())
if os.path.exists("./.increase_build"):
build += 1
fp.close()
else:
build = 1
fp = open(path, "w")
fp.write(str(build))
fp.close()
return str(build)
setup(
name="pylast",
version="0.6." + get_build(),
author="Amr Hassan <amr.hassan@gmail.com>",
description="A Python interface to Last.fm (and other API compatible social networks)",
author_email="amr.hassan@gmail.com",
url="https://github.com/hugovk/pylast",
py_modules=("pylast",),
license="Apache2"
)
# End of file
<commit_msg>Change URL, add classifiers and keywords<commit_after>#!/usr/bin/env python
from distutils.core import setup
import os
def get_build():
path = "./.build"
if os.path.exists(path):
fp = open(path, "r")
build = eval(fp.read())
if os.path.exists("./.increase_build"):
build += 1
fp.close()
else:
build = 1
fp = open(path, "w")
fp.write(str(build))
fp.close()
return str(build)
setup(
name="pylast",
version="0.6." + get_build(),
author="Amr Hassan <amr.hassan@gmail.com>",
description="A Python interface to Last.fm (and other API compatible social networks)",
author_email="amr.hassan@gmail.com",
url="https://github.com/pylast/pylast",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Topic :: Internet",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
keywords=["Last.fm", "music", "scrobble", "scrobbling"],
py_modules=("pylast",),
license="Apache2"
)
# End of file
|
46deed1aa739b3fbd6b86972807e03d54a7fc085 | setup.py | setup.py | from setuptools import setup, find_packages
import os
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
setup(name='filedepot',
version=version,
description="Toolkit for storing files and attachments in web applications",
long_description=README,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2"
],
keywords='storage files s3 gridfs mongodb aws sqlalchemy wsgi',
author='Alessandro Molina',
author_email='alessandro.molina@axant.it',
url='https://github.com/amol-/depot',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
tests_require = ['mock', 'pymongo >= 2.7', 'boto'],
test_suite='nose.collector',
zip_safe=False,
)
| from setuptools import setup, find_packages
import os
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
setup(name='filedepot',
version=version,
description="Toolkit for storing files and attachments in web applications",
long_description=README,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2"
],
keywords='storage files s3 gridfs mongodb aws sqlalchemy wsgi',
author='Alessandro Molina',
author_email='alessandro.molina@axant.it',
url='https://github.com/amol-/depot',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
tests_require = ['mock', 'pymongo >= 2.7', 'boto', 'sqlalchemy'],
test_suite='nose.collector',
zip_safe=False,
)
| Add sqlalchemy to the test dependencines | Add sqlalchemy to the test dependencines
| Python | mit | miraculixx/depot,eprikazc/depot,amol-/depot,miraculixx/depot,rlam3/depot | from setuptools import setup, find_packages
import os
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
setup(name='filedepot',
version=version,
description="Toolkit for storing files and attachments in web applications",
long_description=README,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2"
],
keywords='storage files s3 gridfs mongodb aws sqlalchemy wsgi',
author='Alessandro Molina',
author_email='alessandro.molina@axant.it',
url='https://github.com/amol-/depot',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
tests_require = ['mock', 'pymongo >= 2.7', 'boto'],
test_suite='nose.collector',
zip_safe=False,
)
Add sqlalchemy to the test dependencines | from setuptools import setup, find_packages
import os
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
setup(name='filedepot',
version=version,
description="Toolkit for storing files and attachments in web applications",
long_description=README,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2"
],
keywords='storage files s3 gridfs mongodb aws sqlalchemy wsgi',
author='Alessandro Molina',
author_email='alessandro.molina@axant.it',
url='https://github.com/amol-/depot',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
tests_require = ['mock', 'pymongo >= 2.7', 'boto', 'sqlalchemy'],
test_suite='nose.collector',
zip_safe=False,
)
| <commit_before>from setuptools import setup, find_packages
import os
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
setup(name='filedepot',
version=version,
description="Toolkit for storing files and attachments in web applications",
long_description=README,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2"
],
keywords='storage files s3 gridfs mongodb aws sqlalchemy wsgi',
author='Alessandro Molina',
author_email='alessandro.molina@axant.it',
url='https://github.com/amol-/depot',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
tests_require = ['mock', 'pymongo >= 2.7', 'boto'],
test_suite='nose.collector',
zip_safe=False,
)
<commit_msg>Add sqlalchemy to the test dependencines<commit_after> | from setuptools import setup, find_packages
import os
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
setup(name='filedepot',
version=version,
description="Toolkit for storing files and attachments in web applications",
long_description=README,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2"
],
keywords='storage files s3 gridfs mongodb aws sqlalchemy wsgi',
author='Alessandro Molina',
author_email='alessandro.molina@axant.it',
url='https://github.com/amol-/depot',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
tests_require = ['mock', 'pymongo >= 2.7', 'boto', 'sqlalchemy'],
test_suite='nose.collector',
zip_safe=False,
)
| from setuptools import setup, find_packages
import os
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
setup(name='filedepot',
version=version,
description="Toolkit for storing files and attachments in web applications",
long_description=README,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2"
],
keywords='storage files s3 gridfs mongodb aws sqlalchemy wsgi',
author='Alessandro Molina',
author_email='alessandro.molina@axant.it',
url='https://github.com/amol-/depot',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
tests_require = ['mock', 'pymongo >= 2.7', 'boto'],
test_suite='nose.collector',
zip_safe=False,
)
Add sqlalchemy to the test dependencinesfrom setuptools import setup, find_packages
import os
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
setup(name='filedepot',
version=version,
description="Toolkit for storing files and attachments in web applications",
long_description=README,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2"
],
keywords='storage files s3 gridfs mongodb aws sqlalchemy wsgi',
author='Alessandro Molina',
author_email='alessandro.molina@axant.it',
url='https://github.com/amol-/depot',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
tests_require = ['mock', 'pymongo >= 2.7', 'boto', 'sqlalchemy'],
test_suite='nose.collector',
zip_safe=False,
)
| <commit_before>from setuptools import setup, find_packages
import os
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
setup(name='filedepot',
version=version,
description="Toolkit for storing files and attachments in web applications",
long_description=README,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2"
],
keywords='storage files s3 gridfs mongodb aws sqlalchemy wsgi',
author='Alessandro Molina',
author_email='alessandro.molina@axant.it',
url='https://github.com/amol-/depot',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
tests_require = ['mock', 'pymongo >= 2.7', 'boto'],
test_suite='nose.collector',
zip_safe=False,
)
<commit_msg>Add sqlalchemy to the test dependencines<commit_after>from setuptools import setup, find_packages
import os
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
setup(name='filedepot',
version=version,
description="Toolkit for storing files and attachments in web applications",
long_description=README,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2"
],
keywords='storage files s3 gridfs mongodb aws sqlalchemy wsgi',
author='Alessandro Molina',
author_email='alessandro.molina@axant.it',
url='https://github.com/amol-/depot',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
tests_require = ['mock', 'pymongo >= 2.7', 'boto', 'sqlalchemy'],
test_suite='nose.collector',
zip_safe=False,
)
|
979aa0a98ac92ed08d10b81602b070bdfefaf4e1 | setup.py | setup.py | from distutils.core import setup
setup(
name='udiskie',
version='0.4.0',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='byron@theclarkfamily.name',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
| from distutils.core import setup
setup(
name='udiskie',
version='0.4.1',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='byron@theclarkfamily.name',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
| Prepare for next development cycle. | Prepare for next development cycle.
| Python | mit | coldfix/udiskie,mathstuf/udiskie,pstray/udiskie,khardix/udiskie,pstray/udiskie,coldfix/udiskie | from distutils.core import setup
setup(
name='udiskie',
version='0.4.0',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='byron@theclarkfamily.name',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
Prepare for next development cycle. | from distutils.core import setup
setup(
name='udiskie',
version='0.4.1',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='byron@theclarkfamily.name',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
| <commit_before>from distutils.core import setup
setup(
name='udiskie',
version='0.4.0',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='byron@theclarkfamily.name',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
<commit_msg>Prepare for next development cycle.<commit_after> | from distutils.core import setup
setup(
name='udiskie',
version='0.4.1',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='byron@theclarkfamily.name',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
| from distutils.core import setup
setup(
name='udiskie',
version='0.4.0',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='byron@theclarkfamily.name',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
Prepare for next development cycle.from distutils.core import setup
setup(
name='udiskie',
version='0.4.1',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='byron@theclarkfamily.name',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
| <commit_before>from distutils.core import setup
setup(
name='udiskie',
version='0.4.0',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='byron@theclarkfamily.name',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
<commit_msg>Prepare for next development cycle.<commit_after>from distutils.core import setup
setup(
name='udiskie',
version='0.4.1',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='byron@theclarkfamily.name',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
|
f61ab3c58981806581eb2efaa1e5efe1bff21a16 | setup.py | setup.py | # encoding: utf8
from setuptools import setup
setup(
name='correlation-toolbox',
version='0.0.1',
author='Jakob Jordan, David Dahmen',
author_email='j.jordan@fz-juelich.de',
description=('Collection of functions to investigate correlations in '
'spike trains and membrane potentials.'),
license='MIT',
url='https://github.com/INM-6/correlation-toolbox',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4',
install_requires=['future', 'quantities'],
packages=['correlation_toolbox'],
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)
| # encoding: utf8
from setuptools import setup
setup(
name='correlation-toolbox',
version='0.0.1',
author='Jakob Jordan, David Dahmen, Hannah Bos, Maximilian Schmidt',
author_email='j.jordan@fz-juelich.de',
description=('Collection of functions to investigate correlations in '
'spike trains and membrane potentials.'),
license='MIT',
url='https://github.com/INM-6/correlation-toolbox',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4',
install_requires=['future', 'quantities'],
packages=['correlation_toolbox'],
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)
| Add H.Bos and M.Schmidt to list of authors | Add H.Bos and M.Schmidt to list of authors
| Python | mit | INM-6/correlation-toolbox | # encoding: utf8
from setuptools import setup
setup(
name='correlation-toolbox',
version='0.0.1',
author='Jakob Jordan, David Dahmen',
author_email='j.jordan@fz-juelich.de',
description=('Collection of functions to investigate correlations in '
'spike trains and membrane potentials.'),
license='MIT',
url='https://github.com/INM-6/correlation-toolbox',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4',
install_requires=['future', 'quantities'],
packages=['correlation_toolbox'],
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)
Add H.Bos and M.Schmidt to list of authors | # encoding: utf8
from setuptools import setup
setup(
name='correlation-toolbox',
version='0.0.1',
author='Jakob Jordan, David Dahmen, Hannah Bos, Maximilian Schmidt',
author_email='j.jordan@fz-juelich.de',
description=('Collection of functions to investigate correlations in '
'spike trains and membrane potentials.'),
license='MIT',
url='https://github.com/INM-6/correlation-toolbox',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4',
install_requires=['future', 'quantities'],
packages=['correlation_toolbox'],
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)
| <commit_before># encoding: utf8
from setuptools import setup
setup(
name='correlation-toolbox',
version='0.0.1',
author='Jakob Jordan, David Dahmen',
author_email='j.jordan@fz-juelich.de',
description=('Collection of functions to investigate correlations in '
'spike trains and membrane potentials.'),
license='MIT',
url='https://github.com/INM-6/correlation-toolbox',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4',
install_requires=['future', 'quantities'],
packages=['correlation_toolbox'],
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)
<commit_msg>Add H.Bos and M.Schmidt to list of authors<commit_after> | # encoding: utf8
from setuptools import setup
setup(
name='correlation-toolbox',
version='0.0.1',
author='Jakob Jordan, David Dahmen, Hannah Bos, Maximilian Schmidt',
author_email='j.jordan@fz-juelich.de',
description=('Collection of functions to investigate correlations in '
'spike trains and membrane potentials.'),
license='MIT',
url='https://github.com/INM-6/correlation-toolbox',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4',
install_requires=['future', 'quantities'],
packages=['correlation_toolbox'],
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)
| # encoding: utf8
from setuptools import setup
setup(
name='correlation-toolbox',
version='0.0.1',
author='Jakob Jordan, David Dahmen',
author_email='j.jordan@fz-juelich.de',
description=('Collection of functions to investigate correlations in '
'spike trains and membrane potentials.'),
license='MIT',
url='https://github.com/INM-6/correlation-toolbox',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4',
install_requires=['future', 'quantities'],
packages=['correlation_toolbox'],
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)
Add H.Bos and M.Schmidt to list of authors# encoding: utf8
from setuptools import setup
setup(
name='correlation-toolbox',
version='0.0.1',
author='Jakob Jordan, David Dahmen, Hannah Bos, Maximilian Schmidt',
author_email='j.jordan@fz-juelich.de',
description=('Collection of functions to investigate correlations in '
'spike trains and membrane potentials.'),
license='MIT',
url='https://github.com/INM-6/correlation-toolbox',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4',
install_requires=['future', 'quantities'],
packages=['correlation_toolbox'],
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)
| <commit_before># encoding: utf8
from setuptools import setup
setup(
name='correlation-toolbox',
version='0.0.1',
author='Jakob Jordan, David Dahmen',
author_email='j.jordan@fz-juelich.de',
description=('Collection of functions to investigate correlations in '
'spike trains and membrane potentials.'),
license='MIT',
url='https://github.com/INM-6/correlation-toolbox',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4',
install_requires=['future', 'quantities'],
packages=['correlation_toolbox'],
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)
<commit_msg>Add H.Bos and M.Schmidt to list of authors<commit_after># encoding: utf8
from setuptools import setup
setup(
name='correlation-toolbox',
version='0.0.1',
author='Jakob Jordan, David Dahmen, Hannah Bos, Maximilian Schmidt',
author_email='j.jordan@fz-juelich.de',
description=('Collection of functions to investigate correlations in '
'spike trains and membrane potentials.'),
license='MIT',
url='https://github.com/INM-6/correlation-toolbox',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4',
install_requires=['future', 'quantities'],
packages=['correlation_toolbox'],
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)
|
0e82fba1c9769f71c162c8364fe783d2cc3cda17 | setup.py | setup.py | #!/usr/bin/env python3
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from sys import platform
import subprocess
import glob
import os
ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
stdout=subprocess.PIPE).stdout.decode().strip()
setup(
name = 'knightos',
packages = ['knightos', 'knightos.commands'],
version = ver,
description = 'KnightOS SDK',
author = 'Drew DeVault',
author_email = 'sir@cmpwn.com',
url = 'https://github.com/KnightOS/sdk',
install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
license = 'AGPL-3.0',
scripts=['bin/knightos'],
package_data={
'knightos': [
'templates/\'*\'',
'templates/c/\'*\'',
'templates/assembly/\'*\'',
]
},
)
| #!/usr/bin/env python3
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from sys import platform
import subprocess
import glob
import os
ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
stdout=subprocess.PIPE).stdout.decode().strip()
setup(
name = 'knightos',
packages = ['knightos', 'knightos.commands'],
version = ver,
description = 'KnightOS SDK',
author = 'Drew DeVault',
author_email = 'sir@cmpwn.com',
url = 'https://github.com/KnightOS/sdk',
install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
license = 'AGPL-3.0',
scripts=['bin/knightos'],
include_package_data=True,
package_data={
'knightos': [
'knightos/templates/\'*\'',
'knightos/templates/c/\'*\'',
'knightos/templates/assembly/\'*\'',
]
},
)
| Fix templates building on OS X | Fix templates building on OS X
| Python | mit | KnightOS/sdk,KnightOS/sdk,KnightOS/sdk | #!/usr/bin/env python3
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from sys import platform
import subprocess
import glob
import os
ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
stdout=subprocess.PIPE).stdout.decode().strip()
setup(
name = 'knightos',
packages = ['knightos', 'knightos.commands'],
version = ver,
description = 'KnightOS SDK',
author = 'Drew DeVault',
author_email = 'sir@cmpwn.com',
url = 'https://github.com/KnightOS/sdk',
install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
license = 'AGPL-3.0',
scripts=['bin/knightos'],
package_data={
'knightos': [
'templates/\'*\'',
'templates/c/\'*\'',
'templates/assembly/\'*\'',
]
},
)
Fix templates building on OS X | #!/usr/bin/env python3
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from sys import platform
import subprocess
import glob
import os
ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
stdout=subprocess.PIPE).stdout.decode().strip()
setup(
name = 'knightos',
packages = ['knightos', 'knightos.commands'],
version = ver,
description = 'KnightOS SDK',
author = 'Drew DeVault',
author_email = 'sir@cmpwn.com',
url = 'https://github.com/KnightOS/sdk',
install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
license = 'AGPL-3.0',
scripts=['bin/knightos'],
include_package_data=True,
package_data={
'knightos': [
'knightos/templates/\'*\'',
'knightos/templates/c/\'*\'',
'knightos/templates/assembly/\'*\'',
]
},
)
| <commit_before>#!/usr/bin/env python3
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from sys import platform
import subprocess
import glob
import os
ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
stdout=subprocess.PIPE).stdout.decode().strip()
setup(
name = 'knightos',
packages = ['knightos', 'knightos.commands'],
version = ver,
description = 'KnightOS SDK',
author = 'Drew DeVault',
author_email = 'sir@cmpwn.com',
url = 'https://github.com/KnightOS/sdk',
install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
license = 'AGPL-3.0',
scripts=['bin/knightos'],
package_data={
'knightos': [
'templates/\'*\'',
'templates/c/\'*\'',
'templates/assembly/\'*\'',
]
},
)
<commit_msg>Fix templates building on OS X<commit_after> | #!/usr/bin/env python3
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from sys import platform
import subprocess
import glob
import os
ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
stdout=subprocess.PIPE).stdout.decode().strip()
setup(
name = 'knightos',
packages = ['knightos', 'knightos.commands'],
version = ver,
description = 'KnightOS SDK',
author = 'Drew DeVault',
author_email = 'sir@cmpwn.com',
url = 'https://github.com/KnightOS/sdk',
install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
license = 'AGPL-3.0',
scripts=['bin/knightos'],
include_package_data=True,
package_data={
'knightos': [
'knightos/templates/\'*\'',
'knightos/templates/c/\'*\'',
'knightos/templates/assembly/\'*\'',
]
},
)
| #!/usr/bin/env python3
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from sys import platform
import subprocess
import glob
import os
ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
stdout=subprocess.PIPE).stdout.decode().strip()
setup(
name = 'knightos',
packages = ['knightos', 'knightos.commands'],
version = ver,
description = 'KnightOS SDK',
author = 'Drew DeVault',
author_email = 'sir@cmpwn.com',
url = 'https://github.com/KnightOS/sdk',
install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
license = 'AGPL-3.0',
scripts=['bin/knightos'],
package_data={
'knightos': [
'templates/\'*\'',
'templates/c/\'*\'',
'templates/assembly/\'*\'',
]
},
)
Fix templates building on OS X#!/usr/bin/env python3
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from sys import platform
import subprocess
import glob
import os
ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
stdout=subprocess.PIPE).stdout.decode().strip()
setup(
name = 'knightos',
packages = ['knightos', 'knightos.commands'],
version = ver,
description = 'KnightOS SDK',
author = 'Drew DeVault',
author_email = 'sir@cmpwn.com',
url = 'https://github.com/KnightOS/sdk',
install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
license = 'AGPL-3.0',
scripts=['bin/knightos'],
include_package_data=True,
package_data={
'knightos': [
'knightos/templates/\'*\'',
'knightos/templates/c/\'*\'',
'knightos/templates/assembly/\'*\'',
]
},
)
| <commit_before>#!/usr/bin/env python3
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from sys import platform
import subprocess
import glob
import os
ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
stdout=subprocess.PIPE).stdout.decode().strip()
setup(
name = 'knightos',
packages = ['knightos', 'knightos.commands'],
version = ver,
description = 'KnightOS SDK',
author = 'Drew DeVault',
author_email = 'sir@cmpwn.com',
url = 'https://github.com/KnightOS/sdk',
install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
license = 'AGPL-3.0',
scripts=['bin/knightos'],
package_data={
'knightos': [
'templates/\'*\'',
'templates/c/\'*\'',
'templates/assembly/\'*\'',
]
},
)
<commit_msg>Fix templates building on OS X<commit_after>#!/usr/bin/env python3
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from sys import platform
import subprocess
import glob
import os
ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
stdout=subprocess.PIPE).stdout.decode().strip()
setup(
name = 'knightos',
packages = ['knightos', 'knightos.commands'],
version = ver,
description = 'KnightOS SDK',
author = 'Drew DeVault',
author_email = 'sir@cmpwn.com',
url = 'https://github.com/KnightOS/sdk',
install_requires = ['requests', 'pyyaml', 'pystache', 'docopt'],
license = 'AGPL-3.0',
scripts=['bin/knightos'],
include_package_data=True,
package_data={
'knightos': [
'knightos/templates/\'*\'',
'knightos/templates/c/\'*\'',
'knightos/templates/assembly/\'*\'',
]
},
)
|
fdc8f5068e9e3ccf44eb223aabf088336777db2c | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
setup(name='djeasyroute',
version='0.0.1',
description='A simple class based route system for django similar to flask',
author='Ryan Goggin',
author_email='info@ryangoggin.net',
url='https://github.com/Goggin/djeasyroute',
download_url='',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Django",
"License :: OSI Approved :: MIT",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
install_requires=[
'django',
],
packages=[
'djeasyroute',
],
)
| #!/usr/bin/env python
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
setup(name='djeasyroute',
version='0.0.1',
description='A simple class based route system for django similar to flask',
author='Ryan Goggin',
author_email='info@ryangoggin.net',
url='https://github.com/Goggin/djeasyroute',
download_url='',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Django",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
install_requires=[
'django',
],
packages=[
'djeasyroute',
],
)
| Fix MIT classification for pypi | Fix MIT classification for pypi
| Python | mit | Goggin/djeasyroute | #!/usr/bin/env python
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
setup(name='djeasyroute',
version='0.0.1',
description='A simple class based route system for django similar to flask',
author='Ryan Goggin',
author_email='info@ryangoggin.net',
url='https://github.com/Goggin/djeasyroute',
download_url='',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Django",
"License :: OSI Approved :: MIT",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
install_requires=[
'django',
],
packages=[
'djeasyroute',
],
)
Fix MIT classification for pypi | #!/usr/bin/env python
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
setup(name='djeasyroute',
version='0.0.1',
description='A simple class based route system for django similar to flask',
author='Ryan Goggin',
author_email='info@ryangoggin.net',
url='https://github.com/Goggin/djeasyroute',
download_url='',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Django",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
install_requires=[
'django',
],
packages=[
'djeasyroute',
],
)
| <commit_before>#!/usr/bin/env python
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
setup(name='djeasyroute',
version='0.0.1',
description='A simple class based route system for django similar to flask',
author='Ryan Goggin',
author_email='info@ryangoggin.net',
url='https://github.com/Goggin/djeasyroute',
download_url='',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Django",
"License :: OSI Approved :: MIT",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
install_requires=[
'django',
],
packages=[
'djeasyroute',
],
)
<commit_msg>Fix MIT classification for pypi<commit_after> | #!/usr/bin/env python
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
setup(name='djeasyroute',
version='0.0.1',
description='A simple class based route system for django similar to flask',
author='Ryan Goggin',
author_email='info@ryangoggin.net',
url='https://github.com/Goggin/djeasyroute',
download_url='',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Django",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
install_requires=[
'django',
],
packages=[
'djeasyroute',
],
)
| #!/usr/bin/env python
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
setup(name='djeasyroute',
version='0.0.1',
description='A simple class based route system for django similar to flask',
author='Ryan Goggin',
author_email='info@ryangoggin.net',
url='https://github.com/Goggin/djeasyroute',
download_url='',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Django",
"License :: OSI Approved :: MIT",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
install_requires=[
'django',
],
packages=[
'djeasyroute',
],
)
Fix MIT classification for pypi#!/usr/bin/env python
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
setup(name='djeasyroute',
version='0.0.1',
description='A simple class based route system for django similar to flask',
author='Ryan Goggin',
author_email='info@ryangoggin.net',
url='https://github.com/Goggin/djeasyroute',
download_url='',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Django",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
install_requires=[
'django',
],
packages=[
'djeasyroute',
],
)
| <commit_before>#!/usr/bin/env python
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
setup(name='djeasyroute',
version='0.0.1',
description='A simple class based route system for django similar to flask',
author='Ryan Goggin',
author_email='info@ryangoggin.net',
url='https://github.com/Goggin/djeasyroute',
download_url='',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Django",
"License :: OSI Approved :: MIT",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
install_requires=[
'django',
],
packages=[
'djeasyroute',
],
)
<commit_msg>Fix MIT classification for pypi<commit_after>#!/usr/bin/env python
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
setup(name='djeasyroute',
version='0.0.1',
description='A simple class based route system for django similar to flask',
author='Ryan Goggin',
author_email='info@ryangoggin.net',
url='https://github.com/Goggin/djeasyroute',
download_url='',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Django",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
install_requires=[
'django',
],
packages=[
'djeasyroute',
],
)
|
969559c6eb94405ecf470b310e752a80736aeeef | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except:
"""
Don't fail if pandoc or pypandoc are not installed.
However, it is better to publish the package with
a formatted README.
"""
long_description = open('README.md').read()
from chargehound.version import VERSION
setup(
name='chargehound',
version=VERSION,
author='Chargehound',
author_email='support@chargehound.com',
packages=['chargehound'],
description='Chargehound Python Bindings',
long_description=long_description,
url='https://www.chargehound.com',
license='MIT',
test_suite='test.all',
install_requires=[
'requests'
],
)
| try:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except:
"""
Don't fail if pandoc or pypandoc are not installed.
However, it is better to publish the package with
a formatted README.
"""
print("""
Warning: Missing pandoc, which is used to format \
the README. Install pypandoc and pandoc before publishing \
a new version.""")
long_description = open('README.md').read()
from chargehound.version import VERSION
setup(
name='chargehound',
version=VERSION,
author='Chargehound',
author_email='support@chargehound.com',
packages=['chargehound'],
description='Chargehound Python Bindings',
long_description=long_description,
url='https://www.chargehound.com',
license='MIT',
test_suite='test.all',
install_requires=[
'requests'
],
)
| Add warning for missing pandoc | Add warning for missing pandoc
| Python | mit | chargehound/chargehound-python | try:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except:
"""
Don't fail if pandoc or pypandoc are not installed.
However, it is better to publish the package with
a formatted README.
"""
long_description = open('README.md').read()
from chargehound.version import VERSION
setup(
name='chargehound',
version=VERSION,
author='Chargehound',
author_email='support@chargehound.com',
packages=['chargehound'],
description='Chargehound Python Bindings',
long_description=long_description,
url='https://www.chargehound.com',
license='MIT',
test_suite='test.all',
install_requires=[
'requests'
],
)
Add warning for missing pandoc | try:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except:
"""
Don't fail if pandoc or pypandoc are not installed.
However, it is better to publish the package with
a formatted README.
"""
print("""
Warning: Missing pandoc, which is used to format \
the README. Install pypandoc and pandoc before publishing \
a new version.""")
long_description = open('README.md').read()
from chargehound.version import VERSION
setup(
name='chargehound',
version=VERSION,
author='Chargehound',
author_email='support@chargehound.com',
packages=['chargehound'],
description='Chargehound Python Bindings',
long_description=long_description,
url='https://www.chargehound.com',
license='MIT',
test_suite='test.all',
install_requires=[
'requests'
],
)
| <commit_before>try:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except:
"""
Don't fail if pandoc or pypandoc are not installed.
However, it is better to publish the package with
a formatted README.
"""
long_description = open('README.md').read()
from chargehound.version import VERSION
setup(
name='chargehound',
version=VERSION,
author='Chargehound',
author_email='support@chargehound.com',
packages=['chargehound'],
description='Chargehound Python Bindings',
long_description=long_description,
url='https://www.chargehound.com',
license='MIT',
test_suite='test.all',
install_requires=[
'requests'
],
)
<commit_msg>Add warning for missing pandoc<commit_after> | try:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except:
"""
Don't fail if pandoc or pypandoc are not installed.
However, it is better to publish the package with
a formatted README.
"""
print("""
Warning: Missing pandoc, which is used to format \
the README. Install pypandoc and pandoc before publishing \
a new version.""")
long_description = open('README.md').read()
from chargehound.version import VERSION
setup(
name='chargehound',
version=VERSION,
author='Chargehound',
author_email='support@chargehound.com',
packages=['chargehound'],
description='Chargehound Python Bindings',
long_description=long_description,
url='https://www.chargehound.com',
license='MIT',
test_suite='test.all',
install_requires=[
'requests'
],
)
| try:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except:
"""
Don't fail if pandoc or pypandoc are not installed.
However, it is better to publish the package with
a formatted README.
"""
long_description = open('README.md').read()
from chargehound.version import VERSION
setup(
name='chargehound',
version=VERSION,
author='Chargehound',
author_email='support@chargehound.com',
packages=['chargehound'],
description='Chargehound Python Bindings',
long_description=long_description,
url='https://www.chargehound.com',
license='MIT',
test_suite='test.all',
install_requires=[
'requests'
],
)
Add warning for missing pandoctry:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except:
"""
Don't fail if pandoc or pypandoc are not installed.
However, it is better to publish the package with
a formatted README.
"""
print("""
Warning: Missing pandoc, which is used to format \
the README. Install pypandoc and pandoc before publishing \
a new version.""")
long_description = open('README.md').read()
from chargehound.version import VERSION
setup(
name='chargehound',
version=VERSION,
author='Chargehound',
author_email='support@chargehound.com',
packages=['chargehound'],
description='Chargehound Python Bindings',
long_description=long_description,
url='https://www.chargehound.com',
license='MIT',
test_suite='test.all',
install_requires=[
'requests'
],
)
| <commit_before>try:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except:
"""
Don't fail if pandoc or pypandoc are not installed.
However, it is better to publish the package with
a formatted README.
"""
long_description = open('README.md').read()
from chargehound.version import VERSION
setup(
name='chargehound',
version=VERSION,
author='Chargehound',
author_email='support@chargehound.com',
packages=['chargehound'],
description='Chargehound Python Bindings',
long_description=long_description,
url='https://www.chargehound.com',
license='MIT',
test_suite='test.all',
install_requires=[
'requests'
],
)
<commit_msg>Add warning for missing pandoc<commit_after>try:
from setuptools import setup
except ImportError:
from disutils.core import setup
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except:
"""
Don't fail if pandoc or pypandoc are not installed.
However, it is better to publish the package with
a formatted README.
"""
print("""
Warning: Missing pandoc, which is used to format \
the README. Install pypandoc and pandoc before publishing \
a new version.""")
long_description = open('README.md').read()
from chargehound.version import VERSION
setup(
name='chargehound',
version=VERSION,
author='Chargehound',
author_email='support@chargehound.com',
packages=['chargehound'],
description='Chargehound Python Bindings',
long_description=long_description,
url='https://www.chargehound.com',
license='MIT',
test_suite='test.all',
install_requires=[
'requests'
],
)
|
238022485a66c6d6920b81d0a6235ab314188a9b | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
packages = find_packages(),
package_data = { '': 'data' },
install_requires=['SQLAlchemy>=0.5.1', 'whoosh>=0.3.0b1'],
entry_points = {
'console_scripts': [
'pokedex = pokedex:main',
],
},
)
| from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
packages = find_packages(),
package_data = { '': 'data' },
install_requires=['SQLAlchemy>=0.5.1', 'whoosh==0.3.0b5'],
entry_points = {
'console_scripts': [
'pokedex = pokedex:main',
],
},
)
| Fix whoosh version so Nidoran search works. | Fix whoosh version so Nidoran search works.
| Python | mit | RK905/pokedex-1,mschex1/pokedex,xfix/pokedex,DaMouse404/pokedex,veekun/pokedex,veekun/pokedex | from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
packages = find_packages(),
package_data = { '': 'data' },
install_requires=['SQLAlchemy>=0.5.1', 'whoosh>=0.3.0b1'],
entry_points = {
'console_scripts': [
'pokedex = pokedex:main',
],
},
)
Fix whoosh version so Nidoran search works. | from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
packages = find_packages(),
package_data = { '': 'data' },
install_requires=['SQLAlchemy>=0.5.1', 'whoosh==0.3.0b5'],
entry_points = {
'console_scripts': [
'pokedex = pokedex:main',
],
},
)
| <commit_before>from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
packages = find_packages(),
package_data = { '': 'data' },
install_requires=['SQLAlchemy>=0.5.1', 'whoosh>=0.3.0b1'],
entry_points = {
'console_scripts': [
'pokedex = pokedex:main',
],
},
)
<commit_msg>Fix whoosh version so Nidoran search works.<commit_after> | from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
packages = find_packages(),
package_data = { '': 'data' },
install_requires=['SQLAlchemy>=0.5.1', 'whoosh==0.3.0b5'],
entry_points = {
'console_scripts': [
'pokedex = pokedex:main',
],
},
)
| from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
packages = find_packages(),
package_data = { '': 'data' },
install_requires=['SQLAlchemy>=0.5.1', 'whoosh>=0.3.0b1'],
entry_points = {
'console_scripts': [
'pokedex = pokedex:main',
],
},
)
Fix whoosh version so Nidoran search works.from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
packages = find_packages(),
package_data = { '': 'data' },
install_requires=['SQLAlchemy>=0.5.1', 'whoosh==0.3.0b5'],
entry_points = {
'console_scripts': [
'pokedex = pokedex:main',
],
},
)
| <commit_before>from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
packages = find_packages(),
package_data = { '': 'data' },
install_requires=['SQLAlchemy>=0.5.1', 'whoosh>=0.3.0b1'],
entry_points = {
'console_scripts': [
'pokedex = pokedex:main',
],
},
)
<commit_msg>Fix whoosh version so Nidoran search works.<commit_after>from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
packages = find_packages(),
package_data = { '': 'data' },
install_requires=['SQLAlchemy>=0.5.1', 'whoosh==0.3.0b5'],
entry_points = {
'console_scripts': [
'pokedex = pokedex:main',
],
},
)
|
09f784d459f22eec41cb720f5e1945f8fca48e6e | setup.py | setup.py | from setuptools import setup
setup(
name="ftfy",
version='3.3.0',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='info@luminoso.com',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
packages=['ftfy', 'ftfy.bad_codecs'],
package_data={'ftfy': ['char_classes.dat']},
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Development Status :: 5 - Production/Stable"
],
entry_points={
'console_scripts': [
'ftfy = ftfy.cli:main'
]
}
)
| from setuptools import setup
setup(
name="ftfy",
version='3.3.0',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='info@luminoso.com',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
packages=['ftfy', 'ftfy.bad_codecs'],
package_data={'ftfy': ['char_classes.dat']},
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Development Status :: 5 - Production/Stable"
],
entry_points={
'console_scripts': [
'ftfy = ftfy.cli:main'
]
}
)
| Stop claiming support for 2.6 | Stop claiming support for 2.6
I don't even have a Python 2.6 interpreter.
| Python | mit | rspeer/python-ftfy | from setuptools import setup
setup(
name="ftfy",
version='3.3.0',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='info@luminoso.com',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
packages=['ftfy', 'ftfy.bad_codecs'],
package_data={'ftfy': ['char_classes.dat']},
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Development Status :: 5 - Production/Stable"
],
entry_points={
'console_scripts': [
'ftfy = ftfy.cli:main'
]
}
)
Stop claiming support for 2.6
I don't even have a Python 2.6 interpreter. | from setuptools import setup
setup(
name="ftfy",
version='3.3.0',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='info@luminoso.com',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
packages=['ftfy', 'ftfy.bad_codecs'],
package_data={'ftfy': ['char_classes.dat']},
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Development Status :: 5 - Production/Stable"
],
entry_points={
'console_scripts': [
'ftfy = ftfy.cli:main'
]
}
)
| <commit_before>from setuptools import setup
setup(
name="ftfy",
version='3.3.0',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='info@luminoso.com',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
packages=['ftfy', 'ftfy.bad_codecs'],
package_data={'ftfy': ['char_classes.dat']},
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Development Status :: 5 - Production/Stable"
],
entry_points={
'console_scripts': [
'ftfy = ftfy.cli:main'
]
}
)
<commit_msg>Stop claiming support for 2.6
I don't even have a Python 2.6 interpreter.<commit_after> | from setuptools import setup
setup(
name="ftfy",
version='3.3.0',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='info@luminoso.com',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
packages=['ftfy', 'ftfy.bad_codecs'],
package_data={'ftfy': ['char_classes.dat']},
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Development Status :: 5 - Production/Stable"
],
entry_points={
'console_scripts': [
'ftfy = ftfy.cli:main'
]
}
)
| from setuptools import setup
setup(
name="ftfy",
version='3.3.0',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='info@luminoso.com',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
packages=['ftfy', 'ftfy.bad_codecs'],
package_data={'ftfy': ['char_classes.dat']},
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Development Status :: 5 - Production/Stable"
],
entry_points={
'console_scripts': [
'ftfy = ftfy.cli:main'
]
}
)
Stop claiming support for 2.6
I don't even have a Python 2.6 interpreter.from setuptools import setup
setup(
name="ftfy",
version='3.3.0',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='info@luminoso.com',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
packages=['ftfy', 'ftfy.bad_codecs'],
package_data={'ftfy': ['char_classes.dat']},
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Development Status :: 5 - Production/Stable"
],
entry_points={
'console_scripts': [
'ftfy = ftfy.cli:main'
]
}
)
| <commit_before>from setuptools import setup
setup(
name="ftfy",
version='3.3.0',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='info@luminoso.com',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
packages=['ftfy', 'ftfy.bad_codecs'],
package_data={'ftfy': ['char_classes.dat']},
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Development Status :: 5 - Production/Stable"
],
entry_points={
'console_scripts': [
'ftfy = ftfy.cli:main'
]
}
)
<commit_msg>Stop claiming support for 2.6
I don't even have a Python 2.6 interpreter.<commit_after>from setuptools import setup
setup(
name="ftfy",
version='3.3.0',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='info@luminoso.com',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
packages=['ftfy', 'ftfy.bad_codecs'],
package_data={'ftfy': ['char_classes.dat']},
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Development Status :: 5 - Production/Stable"
],
entry_points={
'console_scripts': [
'ftfy = ftfy.cli:main'
]
}
)
|
034c5baf82b425459b0c3c4025b3f0d5838ec127 | setup.py | setup.py | from setuptools import setup, find_packages
from bot import project_info
setup(
name=project_info.name,
use_scm_version=True,
description=project_info.description,
long_description=project_info.description,
url=project_info.url,
author=project_info.author_name,
author_email=project_info.author_email,
license=project_info.license_name,
packages=find_packages(),
setup_requires=[
'setuptools_scm'
],
install_requires=[
'sqlite-framework',
'requests',
'pytz',
'psutil'
],
python_requires='>=3',
# for pypi:
keywords='telegram bot api framework',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
| from setuptools import setup, find_packages
from bot import project_info
setup(
name=project_info.name,
use_scm_version=True,
description=project_info.description,
long_description=project_info.description,
url=project_info.url,
author=project_info.author_name,
author_email=project_info.author_email,
license=project_info.license_name,
packages=find_packages(),
setup_requires=[
'setuptools_scm'
],
install_requires=[
'sqlite-framework',
'requests',
'pytz',
'psutil',
'pytimeparse'
],
python_requires='>=3',
# for pypi:
keywords='telegram bot api framework',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
| Add pytimeparse as an install dependency | Add pytimeparse as an install dependency
| Python | agpl-3.0 | alvarogzp/telegram-bot,alvarogzp/telegram-bot | from setuptools import setup, find_packages
from bot import project_info
setup(
name=project_info.name,
use_scm_version=True,
description=project_info.description,
long_description=project_info.description,
url=project_info.url,
author=project_info.author_name,
author_email=project_info.author_email,
license=project_info.license_name,
packages=find_packages(),
setup_requires=[
'setuptools_scm'
],
install_requires=[
'sqlite-framework',
'requests',
'pytz',
'psutil'
],
python_requires='>=3',
# for pypi:
keywords='telegram bot api framework',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
Add pytimeparse as an install dependency | from setuptools import setup, find_packages
from bot import project_info
setup(
name=project_info.name,
use_scm_version=True,
description=project_info.description,
long_description=project_info.description,
url=project_info.url,
author=project_info.author_name,
author_email=project_info.author_email,
license=project_info.license_name,
packages=find_packages(),
setup_requires=[
'setuptools_scm'
],
install_requires=[
'sqlite-framework',
'requests',
'pytz',
'psutil',
'pytimeparse'
],
python_requires='>=3',
# for pypi:
keywords='telegram bot api framework',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
| <commit_before>from setuptools import setup, find_packages
from bot import project_info
setup(
name=project_info.name,
use_scm_version=True,
description=project_info.description,
long_description=project_info.description,
url=project_info.url,
author=project_info.author_name,
author_email=project_info.author_email,
license=project_info.license_name,
packages=find_packages(),
setup_requires=[
'setuptools_scm'
],
install_requires=[
'sqlite-framework',
'requests',
'pytz',
'psutil'
],
python_requires='>=3',
# for pypi:
keywords='telegram bot api framework',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
<commit_msg>Add pytimeparse as an install dependency<commit_after> | from setuptools import setup, find_packages
from bot import project_info
setup(
name=project_info.name,
use_scm_version=True,
description=project_info.description,
long_description=project_info.description,
url=project_info.url,
author=project_info.author_name,
author_email=project_info.author_email,
license=project_info.license_name,
packages=find_packages(),
setup_requires=[
'setuptools_scm'
],
install_requires=[
'sqlite-framework',
'requests',
'pytz',
'psutil',
'pytimeparse'
],
python_requires='>=3',
# for pypi:
keywords='telegram bot api framework',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
| from setuptools import setup, find_packages
from bot import project_info
setup(
name=project_info.name,
use_scm_version=True,
description=project_info.description,
long_description=project_info.description,
url=project_info.url,
author=project_info.author_name,
author_email=project_info.author_email,
license=project_info.license_name,
packages=find_packages(),
setup_requires=[
'setuptools_scm'
],
install_requires=[
'sqlite-framework',
'requests',
'pytz',
'psutil'
],
python_requires='>=3',
# for pypi:
keywords='telegram bot api framework',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
Add pytimeparse as an install dependencyfrom setuptools import setup, find_packages
from bot import project_info
setup(
name=project_info.name,
use_scm_version=True,
description=project_info.description,
long_description=project_info.description,
url=project_info.url,
author=project_info.author_name,
author_email=project_info.author_email,
license=project_info.license_name,
packages=find_packages(),
setup_requires=[
'setuptools_scm'
],
install_requires=[
'sqlite-framework',
'requests',
'pytz',
'psutil',
'pytimeparse'
],
python_requires='>=3',
# for pypi:
keywords='telegram bot api framework',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
| <commit_before>from setuptools import setup, find_packages
from bot import project_info
setup(
name=project_info.name,
use_scm_version=True,
description=project_info.description,
long_description=project_info.description,
url=project_info.url,
author=project_info.author_name,
author_email=project_info.author_email,
license=project_info.license_name,
packages=find_packages(),
setup_requires=[
'setuptools_scm'
],
install_requires=[
'sqlite-framework',
'requests',
'pytz',
'psutil'
],
python_requires='>=3',
# for pypi:
keywords='telegram bot api framework',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
<commit_msg>Add pytimeparse as an install dependency<commit_after>from setuptools import setup, find_packages
from bot import project_info
setup(
name=project_info.name,
use_scm_version=True,
description=project_info.description,
long_description=project_info.description,
url=project_info.url,
author=project_info.author_name,
author_email=project_info.author_email,
license=project_info.license_name,
packages=find_packages(),
setup_requires=[
'setuptools_scm'
],
install_requires=[
'sqlite-framework',
'requests',
'pytz',
'psutil',
'pytimeparse'
],
python_requires='>=3',
# for pypi:
keywords='telegram bot api framework',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.