commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
c0301ec4efcf84ec6e644aa48f716edfc570c092
remove redundant cythoning
adrn/gary,adrn/gala,adrn/gary,adrn/gary,adrn/gala,adrn/gala
setup.py
setup.py
# coding: utf-8 from __future__ import division, print_function __author__ = "adrn <adrn@astro.columbia.edu>" # Standard library import os, sys from distutils.core import setup from distutils.extension import Extension # Third-party import numpy as np from Cython.Distutils import build_ext from Cython.Build import ...
# coding: utf-8 from __future__ import division, print_function __author__ = "adrn <adrn@astro.columbia.edu>" # Standard library import os, sys from distutils.core import setup from distutils.extension import Extension # Third-party import numpy as np from Cython.Distutils import build_ext from Cython.Build import ...
mit
Python
9ebb25310f99b4a129c8efdfbd87d121051d66a6
Prepare for more development.
pstray/udiskie,pstray/udiskie,coldfix/udiskie,coldfix/udiskie,khardix/udiskie,mathstuf/udiskie
setup.py
setup.py
from distutils.core import setup setup( name='udiskie', version='0.3.8', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ 'udiskie', ]...
from distutils.core import setup setup( name='udiskie', version='0.3.7', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ 'udiskie', ]...
mit
Python
35dbaef6d834cd34b3cfb9923fe73440a465b340
Fix bug in setup.py
j0057/setuptools-version-command
setup.py
setup.py
#!/usr/bin/env python2.7 from setuptools import setup description = '''Adds a command to dynamically get the version from the VCS of choice''' with open('README.txt', 'r') as f: long_description = f.read() setup( author='Joost Molenaar', author_email='j.j.molenaar@gmail.com', url='https://github.com...
#!/usr/bin/env python2.7 from setuptools import setup description = '''Adds a command to dynamically get the version from the VCS of choice''' with open('README.txt', 'r') as f: long_description = f.read() setup( author='Joost Molenaar', author_email='j.j.molenaar@gmail.com', url='https://github.com...
mit
Python
5263f87283a8890aacb2e1d7aaa9266635836723
fix pip install failure on mac os mojav with anaconda
shunsukeaihara/pydtw
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages import sys try: from Cython.Distutils import build_ext except ImportError: def build_ext(*args, **kwargs): from Cython.Distutils import build_ext return build_ext(*args, **kwargs) class lazy_extlist(list): def __init__(s...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages import sys try: from Cython.Distutils import build_ext except ImportError: def build_ext(*args, **kwargs): from Cython.Distutils import build_ext return build_ext(*args, **kwargs) class lazy_extlist(list): def __init__(se...
mit
Python
2022d618fd68894c92df7968d5e3ae4a8436ca88
add sqlalchemy and keyring to the requirement list of the setup file
oemof/oemof.db
setup.py
setup.py
#! /usr/bin/env python from distutils.core import setup setup(name='oemof-pg', version='0.0.1dev', description='The oemof postgis extension', package_dir={'oemof_pg': 'oemof_pg'}, install_requires=['sqlalchemy >= 1.0', 'keyring >= 4.0'])
#! /usr/bin/env python from distutils.core import setup setup( name='oemof-pg' , version='0.0.1dev' , description='The oemof postgis extension' , package_dir = {'oemof_pg': 'oemof_pg'} )
mit
Python
6da15fd8f95638d919e47fe1150acce5a9401745
Add six to the requirements
crateio/carrier
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages import conveyor install_requires = [ "APScheduler", "forklift", "redis", "six", "xmlrpc2", ] setup( name="conveyor", version=conveyor.__version__, description="Warehouse and PyPI Synchronization", long_description...
#!/usr/bin/env python from setuptools import setup, find_packages import conveyor install_requires = [ "APScheduler", "forklift", "redis", "xmlrpc2", ] setup( name="conveyor", version=conveyor.__version__, description="Warehouse and PyPI Synchronization", long_description=open("READ...
bsd-2-clause
Python
f42904aee050b522b320c32d67c20afeb7021efd
Include the openquake-minimal.jar in the dist folder (DOH)
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine
setup.py
setup.py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # 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...
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # 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...
agpl-3.0
Python
a2af58c583397e978f841535580ba4a2bfd6cc0a
Upgrade black in hopes of fixing CI error running black
googlefonts/emojicompat,googlefonts/emojicompat
setup.py
setup.py
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
apache-2.0
Python
fa667269f789a3bfe64d2da772823ce99116c578
Fix RTD by making pytables optional in setup.py
calliope-project/calliope,brynpickering/calliope,brynpickering/calliope
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages # Sets the __version__ variable exec(open('calliope/_version.py').read()) setup( name='calliope', version=__version__, author='Stefan Pfenninger', author_email='stefan@pfenninger.org', description='A multi-scale energy systems (MU...
#!/usr/bin/env python from setuptools import setup, find_packages # Sets the __version__ variable exec(open('calliope/_version.py').read()) setup( name='calliope', version=__version__, author='Stefan Pfenninger', author_email='stefan@pfenninger.org', description='A multi-scale energy systems (MU...
apache-2.0
Python
07e04b0bb699389eeb04b6c12f54a907c50b1f1c
Update setup.py(change version number, etc)
tsurubee/banpei
setup.py
setup.py
from setuptools import setup, find_packages setup( name='anomaly_detector', version='0.0.1', description='Anomaly detection library with Python', author='Hirofumi Tsuruta', packages=find_packages(exclude=('tests', 'docs')), include_package_data=True, test_suite='tests', install_requires...
from setuptools import setup, find_packages setup( name='anomaly_detector', version='1.0.0', packages=find_packages(exclude=('tests', 'docs')), include_package_data=True, test_suite='tests', install_requires=[ ] )
mit
Python
f6f750e2ba83dd6b19b9bd701de467fcc44bdd02
Update version number to 0.1.6
google/identity-toolkit-python-client,vmenezes/identity-toolkit-python-client
setup.py
setup.py
from setuptools import setup install_requires = [ 'oauth2client>=1.3.2', 'pyOpenSSL==0.14', 'simplejson>=2.3.2', ] packages = ['identitytoolkit',] setup( name = 'identity-toolkit-python-client', packages = packages, install_requires = install_requires, license="Apache 2.0", version = '0.1.6', des...
from setuptools import setup install_requires = [ 'oauth2client>=1.3.2', 'pyOpenSSL==0.14', 'simplejson>=2.3.2', ] packages = ['identitytoolkit',] setup( name = 'identity-toolkit-python-client', packages = packages, install_requires = install_requires, license="Apache 2.0", version = '0.1.5', des...
apache-2.0
Python
c209ec1d98a85917c629c0dc259884da30d03f00
Bump version number
SunDwarf/curious
setup.py
setup.py
from setuptools import setup setup( name='discord-curious', version='0.1.1', packages=['curious', 'curious.http', 'curious.commands', 'curious.dataclasses', 'curious.ext'], url='https://github.com/SunDwarf/curious', license='MIT', author='Laura Dickinson', author_email='l@veriny.tf', de...
from setuptools import setup setup( name='discord-curious', version='0.1.0', packages=['curious', 'curious.http', 'curious.commands', 'curious.dataclasses', 'curious.ext'], url='https://github.com/SunDwarf/curious', license='MIT', author='Laura Dickinson', author_email='l@veriny.tf', de...
mit
Python
6242ea8a44e34d5c7dadf6d5c667c1d8170952ef
Update sphinx_rtd_theme
ymyzk/python-gyazo
setup.py
setup.py
#!/usr/bin/env python from codecs import open from os import path from setuptools import setup here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() with open(path.join(here, 'gyazo/__about__.py')) as f: exec(f.read()) packa...
#!/usr/bin/env python from codecs import open from os import path from setuptools import setup here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() with open(path.join(here, 'gyazo/__about__.py')) as f: exec(f.read()) packa...
mit
Python
f09eddcc04ebcf74daf968a973d3275feaee3b66
correct email address
dougmet/yamlmd
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup(name='yamlmd', version='0.1.4', description='Read and write to Markdown files with yaml headers', url='https://github.com/dougmet/yamlmd', author='Doug Ashton', author_email='douglas.j.ashton@gmail.com', lice...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup(name='yamlmd', version='0.1.4', description='Read and write to Markdown files with yaml headers', url='https://github.com/dougmet/yamlmd', author='Doug Ashton', author_email='dashton@mango-solutions.com', lic...
mit
Python
d3edf99aafd2233a13cd3b86bae3628803eb64ff
update pyyaml (#29)
blturner/django-stardate,blturner/django-stardate
setup.py
setup.py
from setuptools import find_packages, setup setup( name="django-stardate", version="0.1.0.a5", author=u"Benjamin Turner", author_email="benturn@gmail.com", packages=find_packages(), url="https://github.com/blturner/django-stardate", download_url="https://github.com/blturner/django-stardate/...
from setuptools import find_packages, setup setup( name='django-stardate', version='0.1.0.a5', author=u'Benjamin Turner', author_email='benturn@gmail.com', packages=find_packages(), url='https://github.com/blturner/django-stardate', download_url='https://github.com/blturner/django-stardate/...
bsd-3-clause
Python
d10bf29735da04789b4710519a2d4cc006d9d95e
Bump up version number to 0.7.
cwant/tessagon
setup.py
setup.py
from setuptools import setup, find_packages long_description = ''' =========================================== tessagon: tessellation / tiling with python =========================================== Tessellate your favorite 3D surfaces (technically, 2D manifolds) with triangles, hexagons, or a number of other curated...
from setuptools import setup, find_packages long_description = ''' =========================================== tessagon: tessellation / tiling with python =========================================== Tessellate your favorite 3D surfaces (technically, 2D manifolds) with triangles, hexagons, or a number of other curated...
apache-2.0
Python
62388517c5b3c3ff37ebc65d097c76761ca07120
Remove pytest-runner from install_requires
mirumee/django-prices-openexchangerates
setup.py
setup.py
#! /usr/bin/env python import os from setuptools import setup os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_settings') CLASSIFIERS = [ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Progr...
#! /usr/bin/env python import os from setuptools import setup os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_settings') CLASSIFIERS = [ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Progr...
bsd-3-clause
Python
39974144af20ed4c4e2f110e345e75745e38bbc6
FIX #10
alex/django-templatetag-sugar,IRI-Research/django-templatetag-sugar
setup.py
setup.py
from distutils.core import setup setup( name = "django-templatetag-sugar", version = __import__("templatetag_sugar").__version__, author = "Alex Gaynor", author_email = "alex.gaynor@gmail.com", description = "A library to make Django's template tags sweet.", long_description = open("README.r...
from distutils.core import setup setup( name = "django-templatetag-sugar", version = __import__("templatetag_sugar").__version__, author = "Alex Gaynor", author_email = "alex.gaynor@gmail.com", description = "A library to make Django's template tags sweet.", long_description = open("README")...
bsd-3-clause
Python
196f58111987bb42e8bbaf5d3d99d92366d298a2
fix broken homepage url
pengutronix/aiohttp-json-rpc,pengutronix/aiohttp-json-rpc,pengutronix/aiohttp-json-rpc
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup setup(name='aiohttp-json-rpc', version='0.2.1', author='Florian Scherf', url='https://github.com/pengutronix/aiohttp-json-rpc/', author_email='f.scherf@pengutronix.de', license='Apache 2.0', install_requires...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup setup(name='aiohttp-json-rpc', version='0.2.0', author='Florian Scherf', url='https://github.com/pengutronix/aiohttp-json-rpc/tree/doc', author_email='f.scherf@pengutronix.de', license='Apache 2.0', install_...
apache-2.0
Python
3aabf183a84aeb8201f210fe3ee5e8cac7804297
update description for setup
karec/oct,karec/oct,TheGhouls/oct,TheGhouls/oct,TheGhouls/oct
setup.py
setup.py
__author__ = 'manu' import os from setuptools import setup, find_packages from oct import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) setup( name='oct', version=__version__, author='Emmanuel Valette', author_email='manu.valette@gmail.com', packages=['oct', 'oct.core', 'oct.m...
__author__ = 'manu' import os from setuptools import setup, find_packages from oct import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) setup( name='oct', version=__version__, author='Emmanuel Valette', author_email='manu.valette@gmail.com', packages=['oct', 'oct.core', 'oct.m...
mit
Python
ad4a51f79ab51bb64e91bc716758295dd071072d
Upgrade scramp to latest version
tlocke/pg8000
setup.py
setup.py
#!/usr/bin/env python import versioneer from setuptools import setup long_description = """\ pg8000 ------ pg8000 is a Pure-Python interface to the PostgreSQL database engine. It is \ one of many PostgreSQL interfaces for the Python programming language. pg8000 \ is somewhat distinctive in that it is written entir...
#!/usr/bin/env python import versioneer from setuptools import setup long_description = """\ pg8000 ------ pg8000 is a Pure-Python interface to the PostgreSQL database engine. It is \ one of many PostgreSQL interfaces for the Python programming language. pg8000 \ is somewhat distinctive in that it is written entir...
bsd-3-clause
Python
943ea720f49c3b15d7fa08c39af3db4697550022
Update authors
swappsco/django-qa,swappsco/django-qa
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import find_packages, setup with open('README.md') as file: long_description = file.read() setup( name='django-qa', version='0.0.1', description='Pluggable django app for Q&A', long_description=long_description, author='arjunkomath,...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import find_packages, setup with open('README.md') as file: long_description = file.read() setup( name='django-qa', version='0.0.1', description='Pluggable django app for Q&A', long_description=long_description, author='arjunkomath,...
mit
Python
a26e023272b3b99cfa7578dcaa8570b8e451e03b
switch to pyannote.algorithms 0.8
pyannote/pyannote-video
setup.py
setup.py
#!/usr/bin/env python # encoding: utf-8 # The MIT License (MIT) # Copyright (c) 2015-2018 CNRS # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limita...
#!/usr/bin/env python # encoding: utf-8 # The MIT License (MIT) # Copyright (c) 2015-2018 CNRS # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limita...
mit
Python
5ffa6281781215a165256b6bd57aea25e63b9902
bump version
kmike/port-for
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup for cmd in ('egg_info', 'develop'): import sys if cmd in sys.argv: from setuptools import setup version='0.3.1' setup( name='port-for', version=version, author='Mikhail Korobov', author_email='kmike84@gmail.com', packages=['p...
#!/usr/bin/env python from distutils.core import setup for cmd in ('egg_info', 'develop'): import sys if cmd in sys.argv: from setuptools import setup version='0.3' setup( name='port-for', version=version, author='Mikhail Korobov', author_email='kmike84@gmail.com', packages=['por...
mit
Python
16364ea9a1e7f0c0a79b2c6dbef71733dad89285
Bump version
PointyShinyBurning/cpgintegrate
setup.py
setup.py
from setuptools import setup, find_packages setup( name="cpgintegrate", version="0.1.0", packages=find_packages(), include_package_data=True, install_requires=[ 'requests>=2.10', 'lxml>=3', 'pandas>=0.18.1', 'xlrd', 'walrus', ] )
from setuptools import setup, find_packages setup( name="cpgintegrate", version="0.0.1", packages=find_packages(), include_package_data=True, install_requires=[ 'requests>=2.10', 'lxml>=3', 'pandas>=0.18.1', 'xlrd', 'walrus', ] )
agpl-3.0
Python
ebdaac2211b3fff048b421b07ddfd20a0b162683
add description
djedproject/djed.formatter
setup.py
setup.py
import os from setuptools import setup here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() install_requires = [ 'babel', 'pyramid', 'pytz', ] tests_require = in...
import os from setuptools import setup here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() install_requires = [ 'babel', 'pyramid', 'pytz', ] tests_require = in...
isc
Python
71a8ba9fef93a9918f71852d2dbb7a023583d017
Fix setup.py
ensonic/ev3dev-lang-python,ensonic/ev3dev-lang-python-1,rhempel/ev3dev-lang-python,dwalton76/ev3dev-lang-python,dwalton76/ev3dev-lang-python,ddemidov/ev3dev-lang-python-1
setup.py
setup.py
from setuptools import setup setup( name='python-ev3dev', version='0.0.1', description='Python language bindings for ev3dev', author='Ralph Hempel', license='MIT', url='https://github.com/rhempel/ev3dev-lang-python', include_package_data=True, py_modules=['ev3dev'] )
from setuptools import setup setup( name='python-ev3dev', version='0.0.1', description='Python language bindings for ev3dev', author='Ralph Hempel', license='MIT', url='https://github.com/rhempel/ev3dev-lang-python', include_package_data=True, packages=['ev3dev'] )
mit
Python
14adcaa2f7b01695ca7a975cc4c0de8602f25cc6
Bump version
lauft/timew-report
setup.py
setup.py
from setuptools import setup with open("README.md", "r") as fh: long_description = fh.read() config = { 'name': 'timew-report', 'version': '1.3.1', 'description': 'An interface for TimeWarrior report data', 'long_description': long_description, 'long_description_content_type': 'text/markdown',...
from setuptools import setup with open("README.md", "r") as fh: long_description = fh.read() config = { 'name': 'timew-report', 'version': '1.3.0', 'description': 'An interface for TimeWarrior report data', 'long_description': long_description, 'long_description_content_type': 'text/markdown',...
mit
Python
aaa094dd48e99d36a9dd9db513063b11cb86f92a
Bump version to 1.4
SectorLabs/django-postgres-extra
setup.py
setup.py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() setup( name='django-postgres-extra', version='1.4', packages=find_packages(), include_package_data=True, license='MIT License', descript...
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() setup( name='django-postgres-extra', version='1.3', packages=find_packages(), include_package_data=True, license='MIT License', descript...
mit
Python
3c411b1bf016ce1b216ab7ad547c85862ab2519b
Add brackets around print() for python 3 compatibility
pombredanne/rest_condition,justanr/rest_condition,caxap/rest_condition,barseghyanartur/rest_condition
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup import re import os import sys name = 'rest_condition' package = 'rest_condition' description = 'Complex permissions flow for django-rest-framework' url = 'https://github.com/caxap/rest_condition' author = 'Maxim Kamenkov' author_email = 'mka...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup import re import os import sys name = 'rest_condition' package = 'rest_condition' description = 'Complex permissions flow for django-rest-framework' url = 'https://github.com/caxap/rest_condition' author = 'Maxim Kamenkov' author_email = 'mka...
mit
Python
f7060d983022438008a1de7f865d478bf266651c
add version classifiers
FunTimeCoding/jenkins-job-manager,FunTimeCoding/jenkins-job-manager
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup setup( name='jenkins-job-manager', version='0.1.0', description='Generate job configuration files for Jenkins.', url='https://github.com/FunTimeCoding/jenkins-job-manager', author='Alexander Reitzel', author_email='funtimecoding@gmail.com', ...
#!/usr/bin/env python3 from setuptools import setup setup( name='jenkins-job-manager', version='0.1.0', description='Generate job configuration files for Jenkins.', url='https://github.com/FunTimeCoding/jenkins-job-manager', author='Alexander Reitzel', author_email='funtimecoding@gmail.com', ...
mit
Python
7bab32ef89d760a8cf4aeb2700725ea88e3fc31c
Add further tests for class defining __hash__.
martinribelotta/micropython,puuu/micropython,ganshun666/micropython,suda/micropython,EcmaXp/micropython,ChuckM/micropython,mgyenik/micropython,pramasoul/micropython,infinnovation/micropython,bvernoux/micropython,xyb/micropython,lbattraw/micropython,adafruit/circuitpython,blazewicz/micropython,tobbad/micropython,kostyll...
tests/basics/builtin_hash.py
tests/basics/builtin_hash.py
# test builtin hash function print(hash(False)) print(hash(True)) print({():1}) # hash tuple print({1 << 66:1}) # hash big int print(hash in {hash:1}) # hash function try: hash([]) except TypeError: print("TypeError") class A: def __hash__(self): return 123 def __repr__(self): return ...
# test builtin hash function print(hash(False)) print(hash(True)) print({():1}) # hash tuple print({1 << 66:1}) # hash big int print(hash in {hash:1}) # hash function try: hash([]) except TypeError: print("TypeError") class A: def __hash__(self): return 123 def __repr__(self): return ...
mit
Python
fab3072a32a2ee5f8317f7fc8301c470525ec6d8
update setup.py info
silverlogic/itunes-iap
setup.py
setup.py
from __future__ import with_statement from setuptools import setup def get_version(): with open('itunesiap/version.txt') as f: return f.read().strip() def get_readme(): try: with open('README.rst') as f: return f.read().strip() except IOError: return '' setup( ...
from __future__ import with_statement from setuptools import setup def get_version(): with open('itunesiap/version.txt') as f: return f.read().strip() def get_readme(): try: with open('README.rst') as f: return f.read().strip() except IOError: return '' setup( ...
bsd-2-clause
Python
1ae4aa4dd7fd77f323792fa6c7941dc525f93a15
Update core dependency to google-cloud-core >= 0.23.0, < 0.24dev. (#3028)
googleapis/python-dns,googleapis/python-dns
setup.py
setup.py
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
apache-2.0
Python
108554d8366611658870e038b05049f4eb273d88
Bump version to 3.3m1
codilime/cloudify-rest-client,aria-tosca/cloudify-rest-client,cloudify-cosmo/cloudify-rest-client
setup.py
setup.py
######## # Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
######## # Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
apache-2.0
Python
d4b8a64dabe31d09b9e53bb42bae3fcd737d2984
Set license to 'MIT'
guykisel/robotframework-faker,guykisel/robotframework-faker
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup short_description = 'Robot Framework wrapper for faker, a fake test data generator' try: description = open('README.md').read() except IOError: description = short_description try: license = open('LICENSE').read() except IOError: license = 'MIT Licen...
#!/usr/bin/env python from setuptools import setup short_description = 'Robot Framework wrapper for faker, a fake test data generator' try: description = open('README.md').read() except IOError: description = short_description try: license = open('LICENSE').read() except IOError: license = 'MIT Licen...
mit
Python
05c767e689002dd79e306b9deacad42aeb9c436e
Allow setup.py to be used anywhere
OEP/volpy,OEP/volpy
setup.py
setup.py
from setuptools import setup from Cython.Build import cythonize import numpy as np import os os.chdir(os.path.dirname(__file__)) __version__ = None exec(open('volpy/version.py').read()) setup( name='volpy', version=__version__, ext_modules=cythonize('volpy/*.pyx'), include_dirs=[np.get_include()], ...
from setuptools import setup from Cython.Build import cythonize import numpy as np __version__ = None exec(open('volpy/version.py').read()) setup( name='volpy', version=__version__, ext_modules=cythonize('volpy/*.pyx'), include_dirs=[np.get_include()], packages=['volpy'], include_package_data...
mit
Python
e34b9a4d2ba732563c150985f1a6a2e70285b24e
Add entry point pysswords script to setup
scorphus/passpie,eiginn/passpie,marcwebbie/passpie,scorphus/passpie,marcwebbie/passpie,marcwebbie/pysswords,eiginn/passpie
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup __version__ = "0.0.7" requirements = [pkg.strip() for pkg in open('requirements.txt').readlines()] with open("README.rst") as f: long_description = f.read() + '\n' setup( name='pysswords', version=__version__, license='License :: OSI Approved :: M...
#!/usr/bin/env python from setuptools import setup __version__ = "0.0.7" requirements = [pkg.strip() for pkg in open('requirements.txt').readlines()] with open("README.rst") as f: long_description = f.read() + '\n' setup( name='pysswords', version=__version__, license='License :: OSI Approved :: M...
mit
Python
957a8d4a1cecc1be1a804f3ef284d4c8eca4e18a
Bump version to 1.0
zooniverse/panoptes-python-client
setup.py
setup.py
from setuptools import setup, find_packages setup( name='panoptes_client', url='https://github.com/zooniverse/panoptes-python-client', author='Adam McMaster', author_email='adam@zooniverse.org', version='1.0', packages=find_packages(), include_package_data=True, install_requires=[ ...
from setuptools import setup, find_packages setup( name='panoptes_client', url='https://github.com/zooniverse/panoptes-python-client', author='Adam McMaster', author_email='adam@zooniverse.org', version='0.10', packages=find_packages(), include_package_data=True, install_requires=[ ...
apache-2.0
Python
98c6d3c3b53f3409677fab5e234c096790386a1c
Prepare openprocurement.auth 1.0.0.dev8.
Leits/openprocurement.auth,Leits/openprocurement.auth,openprocurement/openprocurement.auth,openprocurement/openprocurement.auth
setup.py
setup.py
from setuptools import setup, find_packages import os version = '1.0.0.dev8' setup(name='openprocurement.auth', version=version, description="", long_description=open("README.txt").read() + "\n" + open(os.path.join("docs", "HISTORY.txt")).read(), # Get more strings from ...
from setuptools import setup, find_packages import os version = '1.0.0.dev7' setup(name='openprocurement.auth', version=version, description="", long_description=open("README.txt").read() + "\n" + open(os.path.join("docs", "HISTORY.txt")).read(), # Get more strings from ...
apache-2.0
Python
5709801ddb760480a5643064af49f723f2f38898
Fix for easy_install
kmike/django-generic-images,kmike/django-generic-images,kmike/django-generic-images
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup( name='django-generic-images', version='0.12', author='Mikhail Korobov', author_email='kmike84@gmail.com', url='http://bitbucket.org/kmike/django-generic-images/', description = 'Generic images pluggable djang...
#!/usr/bin/env python from distutils.core import setup setup( name='django-generic-images', version='0.11b', author='Mikhail Korobov', author_email='kmike84@gmail.com', url='http://bitbucket.org/kmike/django-generic-images/', description = 'Generic images pluggable djan...
mit
Python
425a384436ff4c9d3521755aadc2b37f583729c6
fix link
swilly22/redisgraph-py
setup.py
setup.py
from setuptools import setup, find_packages import io def read_all(f): with io.open(f, encoding="utf-8") as I: return I.read() requirements = list(map(str.strip, open("requirements.txt").readlines())) setup( name='redisgraph', version='2.1.2', description='RedisGraph Python Client', lon...
from setuptools import setup, find_packages import io def read_all(f): with io.open(f, encoding="utf-8") as I: return I.read() requirements = list(map(str.strip, open("requirements.txt").readlines())) setup( name='redisgraph', version='2.1.2', description='RedisGraph Python Client', lon...
bsd-2-clause
Python
4d6fdc98fd681a78eeeff6041efdfe7107a9743c
Set new minimum pytz version
GeoNode/geonode-user-accounts,ntucker/django-user-accounts,nderituedwin/django-user-accounts,mysociety/django-user-accounts,pinax/django-user-accounts,jawed123/django-user-accounts,pinax/django-user-accounts,ntucker/django-user-accounts,jpotterm/django-user-accounts,nderituedwin/django-user-accounts,jawed123/django-use...
setup.py
setup.py
from setuptools import setup, find_packages import account setup( name="django-user-accounts", version=account.__version__, author="Brian Rosner", author_email="brosner@gmail.com", description="a Django user account app", long_description=open("README.rst").read(), license="MIT", url=...
from setuptools import setup, find_packages import account setup( name="django-user-accounts", version=account.__version__, author="Brian Rosner", author_email="brosner@gmail.com", description="a Django user account app", long_description=open("README.rst").read(), license="MIT", url=...
mit
Python
2f09db445fae93c7db51493ca34e53cc9ce1b51f
Bump version: 0.0.21 → 0.0.22
polysquare/travis-bump-version
setup.py
setup.py
# /setup.py # # Installation and setup script for travis-bump-version # # See /LICENCE.md for Copyright information """Installation and setup script for travis-bump-version.""" from setuptools import find_packages from setuptools import setup setup(name="travis-bump-version", version="0.0.22", description...
# /setup.py # # Installation and setup script for travis-bump-version # # See /LICENCE.md for Copyright information """Installation and setup script for travis-bump-version.""" from setuptools import find_packages from setuptools import setup setup(name="travis-bump-version", version="0.0.21", description...
mit
Python
0936621b0a4162589560cc112f4f8e4425fed652
Change to semantic version number
vikingco/django-ajax-utilities,vikingco/django-ajax-utilities,vikingco/django-ajax-utilities
setup.py
setup.py
from setuptools import setup, find_packages setup( name = "django-ajax-utilities", version = '1.2.0', url = 'https://github.com/citylive/django-ajax-utilities', license = 'BSD', description = "Pagination, xhr and tabbing utilities for the Django framework.", long_description = open('README','r'...
from setuptools import setup, find_packages setup( name = "django-ajax-utilities", url = 'https://github.com/citylive/django-ajax-utilities', license = 'BSD', description = "Pagination, xhr and tabbing utilities for the Django framework.", long_description = open('README','r').read(), author = ...
bsd-3-clause
Python
356a5264ac62408289703eaf46598a9d5bc8a34d
add some more paths
etienne-gauvin/music-player-core,albertz/music-player-core,etienne-gauvin/music-player-core,albertz/music-player-core,albertz/music-player-core,etienne-gauvin/music-player-core
setup.py
setup.py
from distutils.core import setup, Extension from glob import glob import time, sys mod = Extension( 'musicplayer', sources = glob("*.cpp"), depends = glob("*.h") + glob("*.hpp"), extra_compile_args = ["--std=c++11"], undef_macros = ['NDEBUG'], libraries = [ 'avutil', 'avformat', 'avcodec', 'swresample'...
from distutils.core import setup, Extension from glob import glob import time mod = Extension( 'musicplayer', sources = glob("*.cpp"), depends = glob("*.h") + glob("*.hpp"), extra_compile_args = ["--std=c++11"], undef_macros = ['NDEBUG'], libraries = [ 'avutil', 'avformat', 'avcodec', 'swresample', '...
bsd-2-clause
Python
426d7d622306d4f6b0ca2805b4abe63b0fac66df
Fix setup info
facelessuser/wcmatch
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Setup package.""" from setuptools import setup, find_packages import os import imp import traceback def get_version(): """Get version and version_info without importing the entire module.""" devstatus = { 'alpha': '3 - Alpha', 'beta': '4 - Beta...
#!/usr/bin/env python # -*- coding: utf-8 -*- """Setup package.""" from setuptools import setup, find_packages import os import imp import traceback def get_version(): """Get version and version_info without importing the entire module.""" devstatus = { 'alpha': '3 - Alpha', 'beta': '4 - Beta...
mit
Python
e241ddd88bfe861eec4f995ae142fd68b646e89b
Update for newer version
theherk/django-theherk-updates
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-updates', version='1.3.0', packages=find_packages(), include_package_data=True, license='see file LICENSE', description='Dj...
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-updates', version='1.2', packages=find_packages(), include_package_data=True, license='see file LICENSE', description='Djan...
bsd-3-clause
Python
680311f8663abe4f496850296e1ee434679a8135
Bump version to 0.2.2
mwilliamson/mayo
setup.py
setup.py
#!/usr/bin/env python import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='mayo', version='0.2.2', description='Thin wrapper around source control systems', long_description=read("README"), author='Michael ...
#!/usr/bin/env python import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='mayo', version='0.2.1', description='Thin wrapper around source control systems', long_description=read("README"), author='Michael ...
bsd-2-clause
Python
70e8526e82c904cfda932f1c4b0b300243bb843f
Expand packages for pypi installation.
ethanrowe/python-mandrel
setup.py
setup.py
from setuptools import setup import os setup( name = "mandrel", version = "0.0.3", author = "Ethan Rowe", author_email = "ethan@the-rowes.com", description = ("Provides bootstrapping for sane configuration management"), license = "MIT", keywords = "bootstrap configuration setup", url = ...
from setuptools import setup import os setup( name = "mandrel", version = "0.0.3", author = "Ethan Rowe", author_email = "ethan@the-rowes.com", description = ("Provides bootstrapping for sane configuration management"), license = "MIT", keywords = "bootstrap configuration setup", url = ...
mit
Python
9712dd202f4fe5ee3938dbea987ced267a5199e5
Change version to v0.3.2. Release Notes: fix the incorrect attribute accessing in class Option.
imjoey/pyhaproxy
setup.py
setup.py
from setuptools import setup, find_packages setup( name='pyhaproxy', version='0.3.2', keywords=('haproxy', 'parse'), description='A Python library to parse haproxy configuration file', license='MIT License', install_requires=[], include_package_data=True, package_data={ 'pyhapr...
from setuptools import setup, find_packages setup( name='pyhaproxy', version='0.3.0', keywords=('haproxy', 'parse'), description='A Python library to parse haproxy configuration file', license='MIT License', install_requires=[], include_package_data=True, package_data={ 'pyhapr...
mit
Python
a3d35fbbb6650a467f7ffe0abb651c51c2781c98
update setup version for 0.7.19
release-engineering/koji-containerbuild,release-engineering/koji-containerbuild
setup.py
setup.py
from setuptools import setup from setuptools.command.sdist import sdist import subprocess class TitoDist(sdist): def run(self): subprocess.call(["tito", "build", "--tgz", "-o", "."]) def get_requirements(requirements_file='requirements.txt'): with open(requirements_file) as f: return [ ...
from setuptools import setup from setuptools.command.sdist import sdist import subprocess class TitoDist(sdist): def run(self): subprocess.call(["tito", "build", "--tgz", "-o", "."]) def get_requirements(requirements_file='requirements.txt'): with open(requirements_file) as f: return [ ...
lgpl-2.1
Python
0112ec2ec3698834c36d56ab4d8b08628808e348
Bump version
thombashi/pathvalidate
setup.py
setup.py
import sys import os.path import setuptools needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv) pytest_runner = ['pytest-runner'] if needs_pytest else [] REQUIREMENT_DIR = "requirements" with open("README.rst") as fp: long_description = fp.read() with open(os.path.join("docs", "pages", "introd...
import sys import os.path import setuptools needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv) pytest_runner = ['pytest-runner'] if needs_pytest else [] REQUIREMENT_DIR = "requirements" with open("README.rst") as fp: long_description = fp.read() with open(os.path.join("docs", "pages", "introd...
mit
Python
3232f9c1a0cb864033e1fd62b3b8edffc1eca5ff
disable WIP sparse tests with multihreading
yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi
tests/python/test_dynamic.py
tests/python/test_dynamic.py
import taichi as ti @ti.all_archs def test_dynamic(): x = ti.var(ti.f32) n = 128 @ti.layout def place(): ti.root.dynamic(ti.i, n, 32).place(x) @ti.kernel def func(): pass for i in range(n): x[i] = i for i in range(n): assert x[i] == i @ti.all_archs def test_dynamic2(): if ti.cf...
import taichi as ti @ti.all_archs def test_dynamic(): x = ti.var(ti.f32) n = 128 @ti.layout def place(): ti.root.dynamic(ti.i, n, 32).place(x) @ti.kernel def func(): pass for i in range(n): x[i] = i for i in range(n): assert x[i] == i @ti.all_archs def test_dynamic2(): if ti.cf...
apache-2.0
Python
4625bc72cb942d9022928b2a4444fee769aef013
update version number
Kaggle/kaggle-api
setup.py
setup.py
from setuptools import setup, find_packages setup( name = 'kaggle', version = '1.0.5', description = 'Kaggle API', long_description = 'Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python. Beta release - Kaggle reserves the right to modify the API function...
from setuptools import setup, find_packages setup( name = 'kaggle', version = '1.0.4', description = 'Kaggle API', long_description = 'Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python. Beta release - Kaggle reserves the right to modify the API function...
apache-2.0
Python
8e9c2ec76bdcd1711c525ef34c09413626a7ee95
remove python-daemon dependency
sh0ked/vmmaster,2gis/vmmaster,sh0ked/vmmaster,2gis/vmmaster,2gis/vmmaster
setup.py
setup.py
from setuptools import setup, find_packages import os home = [] for path, subdirs, files in os.walk('vmmaster/home'): path = path.replace('vmmaster/', '') for name in files: home.append(os.path.join(path, name)) setup( name='vmmaster', version='0.1', description='Python KVM-based virtual ...
from setuptools import setup, find_packages import os home = [] for path, subdirs, files in os.walk('vmmaster/home'): path = path.replace('vmmaster/', '') for name in files: home.append(os.path.join(path, name)) setup( name='vmmaster', version='0.1', description='Python KVM-based virtual ...
mit
Python
06e95f36d335a2d3912fb288fff7d376bba5078f
Enforce double quotes for English sentences
christophercrouzet/nani
setup.py
setup.py
import codecs import os import re import setuptools def find_version(*file_paths): # Credits: https://packaging.python.org/single_source_version. here = os.path.abspath(os.path.dirname(__file__)) with codecs.open(os.path.join(here, *file_paths), 'r', 'utf8') as f: version_file = f.read() vers...
import codecs import os import re import setuptools def find_version(*file_paths): # Credits: https://packaging.python.org/single_source_version. here = os.path.abspath(os.path.dirname(__file__)) with codecs.open(os.path.join(here, *file_paths), 'r', 'utf8') as f: version_file = f.read() vers...
mit
Python
860cdbf4cbfa36d668ccc58c777dcc7f33ca494b
change version!
a-roomana/django-jalali-date,a-roomana/django-jalali-date,a-roomana/django-jalali-date
setup.py
setup.py
#!/usr/bin/env python import codecs import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) def read_file(filename): """Open a related file and return its content.""" with codecs.open(os.path.join(here, filename), encoding='utf-8') as f: content = f.rea...
#!/usr/bin/env python import codecs import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) def read_file(filename): """Open a related file and return its content.""" with codecs.open(os.path.join(here, filename), encoding='utf-8') as f: content = f.rea...
mit
Python
a6495e0ecdb0187c3ec0bed038b01a2fe55227d2
Update library tests to include backend
jodal/mopidy,ZenithDK/mopidy,jodal/mopidy,vrs01/mopidy,adamcik/mopidy,ZenithDK/mopidy,mopidy/mopidy,vrs01/mopidy,ZenithDK/mopidy,kingosticks/mopidy,adamcik/mopidy,jcass77/mopidy,ZenithDK/mopidy,kingosticks/mopidy,mopidy/mopidy,vrs01/mopidy,adamcik/mopidy,mopidy/mopidy,jcass77/mopidy,kingosticks/mopidy,jcass77/mopidy,vr...
tests/stream/test_library.py
tests/stream/test_library.py
from __future__ import absolute_import, unicode_literals import mock import pytest from mopidy.internal import path from mopidy.models import Track from mopidy.stream import actor from tests import path_to_data_dir @pytest.fixture def config(): return { 'proxy': {}, 'stream': { 'ti...
from __future__ import absolute_import, unicode_literals import mock import pytest from mopidy.audio import scan from mopidy.internal import path from mopidy.models import Track from mopidy.stream import actor from tests import path_to_data_dir @pytest.fixture def scanner(): return scan.Scanner(timeout=100, p...
apache-2.0
Python
4ed7e3dba1214d2b30d4149fe510054ff46ce721
Fix screw-up in last commit: entry point is main, not setup_main
quantopian/coal-mine
setup.py
setup.py
import sys from setuptools import setup, find_packages if sys.version_info[0] < 3: sys.exit("This package does not work with Python 2.") # You can't just put `from pypandoc import convert` at the top of your # setup.py and then put `description=convert("README.md", "rst")` in # your `setup()` invocation, because...
import sys from setuptools import setup, find_packages if sys.version_info[0] < 3: sys.exit("This package does not work with Python 2.") # You can't just put `from pypandoc import convert` at the top of your # setup.py and then put `description=convert("README.md", "rst")` in # your `setup()` invocation, because...
apache-2.0
Python
e2e56c9965d0781fc427b28f984c05a00dc2be68
Bump version to 0.3.93
danmergens/mi-instrument,renegelinas/mi-instrument,janeen666/mi-instrument,janeen666/mi-instrument,vipullakhani/mi-instrument,renegelinas/mi-instrument,janeen666/mi-instrument,vipullakhani/mi-instrument,oceanobservatories/mi-instrument,danmergens/mi-instrument,oceanobservatories/mi-instrument
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup version = '0.3.93' setup(name='mi-instrument', version=version, description='OOINet Marine Integrations', url='https://github.com/oceanobservatories/mi-instrument', ...
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup version = '0.3.92' setup(name='mi-instrument', version=version, description='OOINet Marine Integrations', url='https://github.com/oceanobservatories/mi-instrument', ...
bsd-2-clause
Python
a3a1a2ad17bc856ccb83bb2098f11d1dfdc91a44
Fix name of bs4
sebastinas/debian-devel-changes-bot
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup(name='debian-devel-changes-bot', packages=find_packages(), install_requires=['beautifulsoup4', 'python-debian', 'requests', 'pydbus'])
#!/usr/bin/env python from setuptools import setup, find_packages setup(name='debian-devel-changes-bot', packages=find_packages(), install_requires=['bs4', 'python-debian', 'requests', 'pydbus'])
agpl-3.0
Python
fb4512783a81474fa5d5aa1641561ec337a8989e
Remove Python 2.6 classifier from setup.py
pudo/dataset,saimn/dataset
setup.py
setup.py
import sys from setuptools import setup, find_packages py26_dependency = [] if sys.version_info[:2] <= (2, 6): py26_dependency = ["argparse >= 1.1", "ordereddict >= 1.1"] setup( name='dataset', version='0.7.1', description="Toolkit for Python-based data processing.", long_description="", clas...
import sys from setuptools import setup, find_packages py26_dependency = [] if sys.version_info[:2] <= (2, 6): py26_dependency = ["argparse >= 1.1", "ordereddict >= 1.1"] setup( name='dataset', version='0.7.1', description="Toolkit for Python-based data processing.", long_description="", clas...
mit
Python
4bea05c2105fcc85ad87dac2fe6583e7da09e58f
update test_single_day_simulation() to use keyword arguments; add abandon dist
m-deck/stimulus
tests/test_day_simulation.py
tests/test_day_simulation.py
from .. import stimulus import random def test_single_day_simulation(): agent1_schedule = stimulus.AgentSchedule() agent2_schedule = stimulus.AgentSchedule(regular_start=30600, regular_end=(3600*16.5 + 1800), regular_lunch=(3600*12 + 1800)) agent1 = stimulus.Agent(agent1_schedule) agent2 = stimulus....
from .. import stimulus import random def test_single_day_simulation(): agent1_schedule = stimulus.AgentSchedule() agent2_schedule = stimulus.AgentSchedule(regular_start=30600, regular_end=(3600*16.5 + 1800), regular_lunch=(3600*12 + 1800)) agent1 = stimulus.Agent(agent1_schedule) agent2 = stimulus....
mit
Python
24cf02b76ca99abb0ae09284b312ca6b250d773f
add comma after readme
BrianHicks/emit,BrianHicks/emit,BrianHicks/emit
setup.py
setup.py
import os from setuptools import setup, find_packages import emit def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except IOError: # for tox return '' setup( # System information name='emit', version=emit.__version__, packages=find_pack...
import distribute_setup distribute_setup.use_setuptools() import os from setuptools import setup, find_packages import emit def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except IOError: # for tox return '' setup( # System information name='...
mit
Python
e5013d3ea76434f9b457b9ffa2d81e5f49aa2b7b
change python version info and language
jeroyang/approx
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import versioneer try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read().replace('...
#!/usr/bin/env python # -*- coding: utf-8 -*- import versioneer try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read().replace('...
bsd-3-clause
Python
19c04409975a9102ef008963ad312b00ef4e96c6
Update Python classifiers in setup module
ellmetha/django-machina,ellmetha/django-machina,ellmetha/django-machina
setup.py
setup.py
# -*- coding: utf-8 -*- import codecs from os.path import abspath from os.path import dirname from os.path import join from setuptools import find_packages from setuptools import setup import machina def read_relative_file(filename): """ Returns contents of the given file, whose path is supposed relative to thi...
# -*- coding: utf-8 -*- import codecs from os.path import abspath from os.path import dirname from os.path import join from setuptools import find_packages from setuptools import setup import machina def read_relative_file(filename): """ Returns contents of the given file, whose path is supposed relative to thi...
bsd-3-clause
Python
a03dc7b23b219097f2dd16450f4e54b0469ffab1
Bump version to 0.2.2
ZeroCater/zc_common,ZeroCater/zc_common
setup.py
setup.py
import os from setuptools import setup def get_packages(package): """ Return root package and all sub-packages. """ return [dirpath for dirpath, dirnames, filenames in os.walk(package) if os.path.exists(os.path.join(dirpath, '__init__.py'))] setup( name='zc_common', v...
import os from setuptools import setup def get_packages(package): """ Return root package and all sub-packages. """ return [dirpath for dirpath, dirnames, filenames in os.walk(package) if os.path.exists(os.path.join(dirpath, '__init__.py'))] setup( name='zc_common', v...
mit
Python
6ede9a1e6dc82de7a269abbfe8b57ee8e6548394
Switch to using subprocess as a base rather interface directly interface with Unix system calls. This lets subprocess deal with various issues dealing with the Python interpreter environment.
diekhans/pipettor,diekhans/pipettor
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read().replace('.. :changelog:', ...
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read().replace('.. :changelog:', ...
mit
Python
dae923853e0218fc77923f4512f72d0109e8f4bb
Add boto as requirement for funsize deployment.
petemoore/build-funsize,petemoore/build-funsize
setup.py
setup.py
from setuptools import setup PACKAGE_NAME = 'funsize' PACKAGE_VERSION = '0.1' setup(name=PACKAGE_NAME, version=PACKAGE_VERSION, description='partial mar webservice prototype', long_description='https://wiki.mozilla.org/User:Ffledgling/Senbonzakura', classifiers=[], author='Anhad Jai Sing...
from setuptools import setup PACKAGE_NAME = 'funsize' PACKAGE_VERSION = '0.1' setup(name=PACKAGE_NAME, version=PACKAGE_VERSION, description='partial mar webservice prototype', long_description='https://wiki.mozilla.org/User:Ffledgling/Senbonzakura', classifiers=[], author='Anhad Jai Sing...
mpl-2.0
Python
75b68c414b0fc9c0231011f2f70935abfa63089c
Package test data again.
praekelt/vumi-wikipedia,praekelt/vumi-wikipedia
setup.py
setup.py
from setuptools import setup, find_packages setup( name='vumi-wikipedia', version='0.1a', description='Vumi Wikipedia App', packages=find_packages(), include_package_data=True, install_requires=[ 'vumi > 0.3.1', ], url='http://github.com/praekelt/vumi-wikipedia', license='B...
from setuptools import setup, find_packages setup( name='vumi-wikipedia', version='0.1a', description='Vumi Wikipedia App', packages=find_packages(), install_requires=[ 'vumi > 0.3.1', ], url='http://github.com/praekelt/vumi-wikipedia', license='BSD', long_description=open(...
bsd-3-clause
Python
242ba5a29f61267abc06f819886c4a40bee5c28e
make version 0.3.19
Duke-GCB/DukeDSClient,Duke-GCB/DukeDSClient
setup.py
setup.py
from setuptools import setup setup(name='DukeDSClient', version='0.3.19', description='Command line tool(ddsclient) to upload/manage projects on the duke-data-service.', url='https://github.com/Duke-GCB/DukeDSClient', keywords='duke dds dukedataservice', author='John Bradley', ...
from setuptools import setup setup(name='DukeDSClient', version='0.3.18', description='Command line tool(ddsclient) to upload/manage projects on the duke-data-service.', url='https://github.com/Duke-GCB/DukeDSClient', keywords='duke dds dukedataservice', author='John Bradley', ...
mit
Python
0eb5e0008d54f48f7643ca1dfbefc861c082aa63
Remove multi-line license entry
kevinconway/daemons
setup.py
setup.py
from setuptools import setup, find_packages with open("README.rst") as f: readme = f.read() setup( name="daemons", version="1.3.1", url="https://github.com/kevinconway/daemons", license="'Apache License 2.0", description="Well behaved unix daemons for every occasion.", author="Kevin Conwa...
from setuptools import setup, find_packages with open("README.rst") as f: readme = f.read() with open("LICENSE") as f: license = f.read() setup( name="daemons", version="1.3.1", url="https://github.com/kevinconway/daemons", license=license, description="Well behaved unix daemons for ever...
apache-2.0
Python
dd5a4516993599f05cc8291e772de182cdc3c874
Update setup for PyIi
HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- from setuptools import setup setup( name = 'hybra-core', version = '0.1.0a1', description = 'Toolkit for data management and analysis.', keywords = ['data management', 'data analysis'], url = 'https://github.com/HIIT/hybra-core', download_url = 'https://github.com...
#!/usr/bin/python # -*- coding: utf-8 -*- from distutils.core import setup setup( name = 'hybra', packages = ['hybra'], version = '0.1', description = 'Toolkit for data management and analysis', author = 'Matti Nelimarkka, Juho Pääkkönen, Arto Kekkonen', author_email = 'matti.nelimarkka@aalto.fi, juho.paa...
mit
Python
c8fc68eb0913cd550311c601d8552b0bddf6a9a6
Change description
Ch00k/mailhole
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup from mailhole import __version__ setup( name = 'mailhole', version=__version__, description = 'A simple application to test email sending functionality', author = 'Andriy Yurchuk', author_email = 'ayurchuk@minuteware.net', url = 'https://gith...
#!/usr/bin/env python from setuptools import setup from mailhole import __version__ setup( name = 'mailhole', version=__version__, description = 'Fake SMTP server, used for testing', author = 'Andriy Yurchuk', author_email = 'ayurchuk@minuteware.net', url = 'https://github.com/Ch00k/mailhole'...
mit
Python
986d55734ebf91f5262284cc9d6006f029f437c7
refactor extra python packages as we will have a few of these
datascopeanalytics/scrubadub,deanmalmgren/scrubadub,datascopeanalytics/scrubadub,deanmalmgren/scrubadub
setup.py
setup.py
import glob import os from setuptools import setup # read in the description from README with open("README.rst") as stream: long_description = stream.read() github_url = 'https://github.com/LeapBeyond/scrubadub' def read_packages_from_file(filename): with open(filename, 'r') as stream: for line in s...
import glob import os from setuptools import setup # read in the description from README with open("README.rst") as stream: long_description = stream.read() github_url = 'https://github.com/LeapBeyond/scrubadub' def read_packages_from_file(filename): with open(filename, 'r') as stream: for line in s...
mit
Python
241cb3a2ee4393b7ddad80b4b98031cfd7224f61
make sure we are py2 compatible
UCBerkeleySETI/blimpy,UCBerkeleySETI/blimpy
setup.py
setup.py
""" setup.py -- setup script for use of packages. """ from setuptools import setup, find_packages __version__ = '1.3.4' # create entry points # see http://astropy.readthedocs.org/en/latest/development/scripts.html entry_points = { 'console_scripts' : [ 'filutil = blimpy.filterbank:cmd_tool', 'watu...
""" setup.py -- setup script for use of packages. """ from setuptools import setup, find_packages __version__ = '1.3.4' # create entry points # see http://astropy.readthedocs.org/en/latest/development/scripts.html entry_points = { 'console_scripts' : [ 'filutil = blimpy.filterbank:cmd_tool', 'watu...
bsd-3-clause
Python
26f40f91f5832543bb7c57a238ff4189b262a740
Bump version
hamperbot/hamper
setup.py
setup.py
#!/usr/bin/env python2 from setuptools import setup, find_packages requires = open('requirements.txt').read().split('\n') setup( name='hamper', version='1.11.1', description='Yet another IRC bot', install_requires=requires, author='Mike Cooper', author_email='mythmon@gmail.com', url='http...
#!/usr/bin/env python2 from setuptools import setup, find_packages requires = open('requirements.txt').read().split('\n') setup( name='hamper', version='1.11.0', description='Yet another IRC bot', install_requires=requires, author='Mike Cooper', author_email='mythmon@gmail.com', url='http...
mit
Python
8c09013994291312068cabc463dc996c06312737
fix python 2.6 support.
enthought/machotools,enthought/machotools,pombredanne/machotools,pombredanne/machotools
setup.py
setup.py
import os.path as op from setuptools import setup VERSION = "0.1.0.dev1" if __name__ == "__main__": with open(op.join("machotools", "__version.py"), "wt") as fp: fp.write("__version__ = '{0}'".format(VERSION)) setup(name="machotools", version=VERSION, author="David Cournapeau", ...
import os.path as op from setuptools import setup VERSION = "0.1.0.dev1" if __name__ == "__main__": with open(op.join("machotools", "__version.py"), "wt") as fp: fp.write("__version__ = '{}'".format(VERSION)) setup(name="machotools", version=VERSION, author="David Cournapeau", ...
bsd-3-clause
Python
786433154a419d41d03fb025aa49e379b9058f72
Bump flake8 from 3.9.1 to 3.9.2
sloria/environs,sloria/environs
setup.py
setup.py
import re from setuptools import setup INSTALL_REQUIRES = ["marshmallow>=2.7.0", "python-dotenv"] DJANGO_REQUIRES = ["dj-database-url", "dj-email-url", "django-cache-url"] EXTRAS_REQUIRE = { "django": DJANGO_REQUIRES, "tests": ["pytest"] + DJANGO_REQUIRES, "lint": ["flake8==3.9.2", "flake8-bugbear==21.4.3"...
import re from setuptools import setup INSTALL_REQUIRES = ["marshmallow>=2.7.0", "python-dotenv"] DJANGO_REQUIRES = ["dj-database-url", "dj-email-url", "django-cache-url"] EXTRAS_REQUIRE = { "django": DJANGO_REQUIRES, "tests": ["pytest"] + DJANGO_REQUIRES, "lint": ["flake8==3.9.1", "flake8-bugbear==21.4.3"...
mit
Python
09654ba589b25d9680f0858bb0432b5b3881ca51
Update setup.py
halcy/Mastodon.py
setup.py
setup.py
from setuptools import setup test_deps = ['pytest', 'pytest-cov', 'vcrpy', 'pytest-vcr', 'pytest-mock'] extras = { "test": test_deps } setup(name='Mastodon.py', version='1.2.2', description='Python wrapper for the Mastodon API', packages=['mastodon'], setup_requires=['pytest-runner'], ...
from setuptools import setup test_deps = ['pytest', 'pytest-cov', 'vcrpy', 'pytest-vcr', 'pytest-mock'] extras = { "test": test_deps } setup(name='Mastodon.py', version='1.2.2', description='Python wrapper for the Mastodon API', packages=['mastodon'], setup_requires=['pytest-runner'], ...
mit
Python
ab4f0a5bdd640f31ddd03969d1cc6ea38bb79ce0
Update version
maccesch/cmsplugin-contact,maccesch/cmsplugin-contact
setup.py
setup.py
from setuptools import setup, find_packages setup( name='cmsplugin-contact', version='1.1.3', description='Extendable contact form plugin for Django CMS with spam protection and i18n', long_description=open('README.rst').read(), author='Maccesch', author_email='maccesch@gmail.com', url='htt...
from setuptools import setup, find_packages setup( name='cmsplugin-contact', version='1.1.2', description='Extendable contact form plugin for Django CMS with spam protection and i18n', long_description=open('README.rst').read(), author='Maccesch', author_email='maccesch@gmail.com', url='htt...
bsd-2-clause
Python
4f2ed94d507bbd041aedd49aadb78a16c4c2f5d9
Update dependency range for api-core to include v1.0.0 releases (#4944)
googleapis/python-translate,googleapis/python-translate
setup.py
setup.py
# Copyright 2018 Google LLC # # 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, s...
# Copyright 2018 Google LLC # # 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, s...
apache-2.0
Python
bfc85ac3d2b29e5287fa556e0e2215bc39668db5
Replace thriftpy dependency with thriftpy2
jcrobak/parquet-python
setup.py
setup.py
"""setup.py - build script for parquet-python.""" try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='parquet', version='1.2', description='Python support for Parquet file format', author='Joe Crobak', author_email='joecrow@gmail.com', ur...
"""setup.py - build script for parquet-python.""" try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='parquet', version='1.2', description='Python support for Parquet file format', author='Joe Crobak', author_email='joecrow@gmail.com', ur...
apache-2.0
Python
de051cd25e1f4f5dacb6a3d50cf2d3bf569f712d
Remove unused import
gadventures/django-gapi-hooked
setup.py
setup.py
from setuptools import setup _version_file = 'hooked/version.py' with open(_version_file) as vf: exec(vf.read()) setup( name='django-gapi-hooked', version=__version__, author='G Adventures', author_email='software@gadventures.com', description='A tiny library to add a G Adventures API Web Ho...
import sys from setuptools import setup _version_file = 'hooked/version.py' with open(_version_file) as vf: exec(vf.read()) setup( name='django-gapi-hooked', version=__version__, author='G Adventures', author_email='software@gadventures.com', description='A tiny library to add a G Adventures...
mit
Python
c4e1059b387269b6098d05d2227c085e7931b140
Update module description for clarity
natelust/least_asymmetry,natelust/least_asymmetry,natelust/least_asymmetry
setup.py
setup.py
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from distutils.core import setup, Extension cpp_args = ['-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7'] e...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from distutils.core import setup, Extension cpp_args = ['-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7'] e...
mpl-2.0
Python
c233359e79288812beb45978fa53f764a280f29a
Add tests for Terrain3D
jackromo/RandTerrainPy
tests/test_terraindisplay.py
tests/test_terraindisplay.py
import unittest from randterrainpy import * class Terrain2DTester(unittest.TestCase): def setUp(self): self.ter1 = Terrain(100, 100) # all black self.ter2 = Terrain(200, 200) # all white for x in range(self.ter2.width): for y in range(self.ter2.length): sel...
import unittest from randterrainpy import * class Terrain2DTester(unittest.TestCase): def setUp(self): self.ter1 = Terrain(100, 100) # all black self.ter2 = Terrain(200, 200) # all white for x in range(self.ter2.width): for y in range(self.ter2.length): sel...
mit
Python
bc8bd227c3d15cde8b2a46c40f7188c34026046d
Make assertion about status code
adamtheturtle/vws-python,adamtheturtle/vws-python
tests/test_unknown_target.py
tests/test_unknown_target.py
""" Tests for passing invalid target IDs to helpers which require a target ID to be given. """ from typing import Any, Callable, Dict, Union import pytest from _pytest.fixtures import SubRequest from requests import codes from vws import VWS from vws.exceptions import UnknownTarget @pytest.fixture() def _delete_ta...
""" Tests for passing invalid target IDs to helpers which require a target ID to be given. """ from typing import Any, Callable, Dict, Union import pytest from _pytest.fixtures import SubRequest from vws import VWS from vws.exceptions import UnknownTarget @pytest.fixture() def _delete_target(client: VWS) -> Callab...
mit
Python
c3834af13fb14d0961e7e8ce29c3bbbe91ebb5ce
Update mbutil to 0.2.0
lukasmartinelli/mbtoolbox
setup.py
setup.py
from setuptools import setup, find_packages import sys import mbtoolbox with open('mbtoolbox/__init__.py') as f: for line in f: if line.find("__version__") >= 0: version = line.split("=")[1].strip() version = version.strip('"') version = version.strip("'") c...
from setuptools import setup, find_packages import sys import mbtoolbox with open('mbtoolbox/__init__.py') as f: for line in f: if line.find("__version__") >= 0: version = line.split("=")[1].strip() version = version.strip('"') version = version.strip("'") c...
mit
Python
d388dc6c620b0e7164a4f97d6876a99d5e8fade3
Add nbformat to setup.py requirements
ericdill/depfinder
setup.py
setup.py
from setuptools import setup VERSION = 'v0.0.1' setup(name='depfinder', version=VERSION, author='Eric Dill', author_email='thedizzle@gmail.com', py_modules=['depfinder'], description='Find all the imports in your library', url='http://github.com/ericdill/depfinder', platforms='...
from setuptools import setup VERSION = 'v0.0.1' setup(name='depfinder', version=VERSION, author='Eric Dill', author_email='thedizzle@gmail.com', py_modules=['depfinder'], description='Find all the imports in your library', url='http://github.com/ericdill/depfinder', platforms='...
bsd-3-clause
Python
a52c84f092d89f89130c2696c98779e955f083dc
Add tests for version splitting
bmwant21/leak
tests/test_version_parser.py
tests/test_version_parser.py
import pytest from leak.version_parser import versions_split def test_versions_split(): assert versions_split('1.8.1') == [1, 8, 1] assert versions_split('1.4') == [1, 4, 0] assert versions_split('2') == [2, 0, 0] def test_versions_split_str_mapping(): assert versions_split('1.11rc1', type_applyer=...
import pytest from leak.version_parser import versions_split def test_versions_split(): pass def test_wrong_versions_split(): # too many dots assert versions_split('1.2.3.4') == [0, 0, 0] # test missing numeric version with pytest.raises(ValueError): versions_split('not.numeric') ...
mit
Python
1a9a4ea4c097724ec25e8d20104f3e384c37647d
Bump to 0.1.2
idan/consonance
setup.py
setup.py
# Copyright (c) 2008, Idan Gazit # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condition...
# Copyright (c) 2008, Idan Gazit # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condition...
bsd-3-clause
Python
b1701c7e56c4ee44d9420f2209d10664348f0d0c
Remove client from global setup for now
gonicus/gosa,gonicus/gosa,gonicus/gosa,gonicus/gosa
setup.py
setup.py
#!/usr/bin/env python import os import sys modules = [ 'common', 'backend', 'shell', 'utils', ] return_code = 0 for module in modules: return_code = max(return_code, os.system("cd %s && ./setup.py %s" % (module, " ".join(sys.argv[1:]))) >> 8) for root, dirs, files in os.walk("plugins"): if "setup.py" ...
#!/usr/bin/env python import os import sys modules = [ 'common', 'backend', 'client', 'shell', 'utils', ] return_code = 0 for module in modules: return_code = max(return_code, os.system("cd %s && ./setup.py %s" % (module, " ".join(sys.argv[1:]))) >> 8) for root, dirs, files in os.walk("plugins"): if...
lgpl-2.1
Python
0b71b279064a4fa45825e0d34bee651a1295071e
Use 2to3 for installing on Python 3
jaraco/hgtools
setup.py
setup.py
# -*- coding: UTF-8 -*- """ Setup script for building hgtools distribution Copyright © 2010-2011 Jason R. Coombs """ import setuptools long_description = open('README').read() # HGTools uses a special technique for getting the version from # mercurial, because it can't require itself to install itself. # Don't use...
# -*- coding: UTF-8 -*- """ Setup script for building hgtools distribution Copyright © 2010-2011 Jason R. Coombs """ import setuptools long_description = open('README').read() # HGTools uses a special technique for getting the version from # mercurial, because it can't require itself to install itself. # Don't use...
mit
Python
dc1c377a5b6011b587413c586b33000e867ab5bc
Declare dependency
ZeitOnline/zeit.securitypolicy
setup.py
setup.py
from setuptools import setup, find_packages setup( name='zeit.securitypolicy', version='2.2.10.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi roles and permissions", packages=find_packages('src'), package_dir={'': '...
from setuptools import setup, find_packages setup( name='zeit.securitypolicy', version='2.2.10.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi roles and permissions", packages=find_packages('src'), package_dir={'': '...
bsd-3-clause
Python
a0ff5a8b6817be12aae5184a4a33af89c05ec552
Bump 0.7
srounet/Pymem
setup.py
setup.py
import pathlib import setuptools ROOT = str(pathlib.Path(__file__).parent) extras = {} with open(ROOT + '/requirements-doc.txt', encoding='utf-8') as fp: extras['doc'] = fp.read().splitlines() with open(ROOT + '/requirements-test.txt', encoding='utf-8') as fp: extras['test'] = fp.read().splitlines() with o...
import pathlib import setuptools ROOT = str(pathlib.Path(__file__).parent) extras = {} with open(ROOT + '/requirements-doc.txt', encoding='utf-8') as fp: extras['doc'] = fp.read().splitlines() with open(ROOT + '/requirements-test.txt', encoding='utf-8') as fp: extras['test'] = fp.read().splitlines() with o...
mit
Python
680e64eb7bf37ff303d50310aef91eca0770bef7
Update unit tests: words_counter_tests.py.
sergeymironov0001/twitch-chat-bot
tests/words_counter_tests.py
tests/words_counter_tests.py
import unittest from twitchchatbot import WordsCounter class WordsCounterTests(unittest.TestCase): def setUp(self): self.words_counter = WordsCounter() def test_count_words_counts_words_correct(self): self.words_counter.count_words("word2 word1") self.assertEqual(self.words_counter.g...
import unittest from twitchbot import WordsCounter class WordsCounterTests(unittest.TestCase): def setUp(self): self.words_counter = WordsCounter() def test_count_words_counts_words_correct(self): self.words_counter.count_words("word2 word1") self.assertEqual(self.words_counter.get_t...
mit
Python
9002df839fc092db0c656174fa9cf57a3bfecdaa
Bump to 0.2.0
justanr/datestuff
setup.py
setup.py
from setuptools import setup from setuptools.command.test import test as TestCommand import sys def read(filename): with open(filename, 'r') as fh: return fh.read() class ToxTest(TestCommand): user_options = [('tox-args=', 'a', 'Arguments to pass to tox')] def initialize_options(self): ...
from setuptools import setup from setuptools.command.test import test as TestCommand import sys def read(filename): with open(filename, 'r') as fh: return fh.read() class ToxTest(TestCommand): user_options = [('tox-args=', 'a', 'Arguments to pass to tox')] def initialize_options(self): ...
mit
Python
aba0a2f8457a3012260e94512d092abfba62c44a
Bump version to 0.4.3.
storecast/barrel-reaktor
setup.py
setup.py
"""Reaktor models that use barrel for encapsulation.""" from setuptools import setup, find_packages setup( name='barrel-reaktor', version='0.4.3', description='Python interface to reaktor API', long_description=__doc__, license='BSD', author='txtr web team', author_email='web-dev@txtr.com'...
"""Reaktor models that use barrel for encapsulation.""" from setuptools import setup, find_packages setup( name='barrel-reaktor', version='0.4.2', description='Python interface to reaktor API', long_description=__doc__, license='BSD', author='txtr web team', author_email='web-dev@txtr.com'...
bsd-2-clause
Python
fd49e2b4f18106b5faf23148633fec59211771dc
Add optional support for setuptools.
saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt
setup.py
setup.py
#!/usr/bin/env python ''' The setup script for saltapi ''' import os # Use setuptools only if the user opts-in by setting the USE_SETUPTOOLS env var # This ensures consistent behavior but allows for advanced usage with # virtualenv, buildout, and others. USE_SETUPTOOLS = False if 'USE_SETUPTOOLS' in os.environ: tr...
#!/usr/bin/env python ''' The setup script for saltapi ''' from distutils.core import setup # pylint: disable-msg=W0122,E0602 exec(compile(open('saltapi/version.py').read(), 'saltapi/version.py', 'exec')) VERSION = __version__ # pylint: enable-msg=W0122,E0602 NAME = 'salt-api' DESC = ("Generic interface for providing...
apache-2.0
Python