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 |
|---|---|---|---|---|---|---|---|---|
fc533810fc82fa30772d3d278751c70722a2d936 | Update Homework_Week3_CaseStudy1.py | LamaHamadeh/Harvard-PH526x | Week3-Case-Studies-Part1/DNA-Translation/Homework_Week3_CaseStudy1.py | Week3-Case-Studies-Part1/DNA-Translation/Homework_Week3_CaseStudy1.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Feb 23 21:46:13 2017
@author: lamahamadeh
"""
#A cipher is a secret code for a language. In this case study, we will explore
#a cipher that is reported by contemporary Greek historians to have been used
#by Julius Caesar to send secret messages to ge... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Feb 23 21:46:13 2017
@author: lamahamadeh
"""
#A cipher is a secret code for a language. In this case study, we will explore
#a cipher that is reported by contemporary Greek historians to have been used
#by Julius Caesar to send secret messages to ge... | mit | Python |
33f6ea7a6f0a977f271136c9eb26cbfa68de8689 | Update setup.py | LocusEnergy/sqlalchemy-vertica-python | setup.py | setup.py | from setuptools import setup
version = '0.4.2'
setup(
name='sqlalchemy-vertica-python',
version=version,
description='Vertica dialect for sqlalchemy using vertica_python',
long_description=open("README.rst").read(),
license="MIT",
url='https://github.com/LocusEnergy/sqlalchemy-vertica-python',
... | from setuptools import setup
version = '0.4.1'
setup(
name='sqlalchemy-vertica-python',
version=version,
description='Vertica dialect for sqlalchemy using vertica_python',
long_description=open("README.rst").read(),
license="MIT",
url='https://github.com/LocusEnergy/sqlalchemy-vertica-python',
... | mit | Python |
46fe99c3044f788c84d45d2c70c0483be38f80b6 | update version in setup.py | rdeits/meshcat-python | setup.py | setup.py | import sys
from setuptools import setup, find_packages
setup(name="meshcat",
version="0.2.0",
description="WebGL-based visualizer for 3D geometries and scenes",
url="https://github.com/rdeits/meshcat-python",
download_url="https://github.com/rdeits/meshcat-python/archive/v0.2.0.tar.gz",
author="Rob... | import sys
from setuptools import setup, find_packages
setup(name="meshcat",
version="0.1.1",
description="WebGL-based visualizer for 3D geometries and scenes",
url="https://github.com/rdeits/meshcat-python",
download_url="https://github.com/rdeits/meshcat-python/archive/v0.1.1.tar.gz",
author="Rob... | mit | Python |
a69a449ed6c82ce827df1ec08431e49db2afebbe | Add more information to setup.py | willdeberry/bjarkan,willdeberry/pybtCLI | setup.py | setup.py | #!/usr/bin/python3
from setuptools import setup, find_packages
setup( name = 'bjarkan',
version = '1.0.1',
description = 'Bluetooth command line utility',
long_description = open( 'README.rst' ).read(),
keywords = 'bluez bluetooth cli',
author = 'GetWellNetwork',
author_email = 'willdeberry@gm... | #!/usr/bin/python3
from setuptools import setup, find_packages
setup( name = 'bjarkan',
version = '1.0.1',
description = 'Bluetooth command line utility',
long_description = open( 'README.rst' ).read(),
author = 'GetWellNetwork',
author_email = 'willdeberry@gmail.com',
license = 'BSD',
url... | bsd-3-clause | Python |
ca4b547aa921081474e0fb1b8e3f37be46e94bbf | add responses as pypi dep | lsst-sqre/sqre-codekit,lsst-sqre/sqre-codekit | setup.py | setup.py | #!/usr/bin/env python3
"""Setup Tools Script"""
import os
import codecs
from setuptools import setup, find_packages
PACKAGENAME = 'sqre-codekit'
DESCRIPTION = 'LSST Data Management SQuaRE code management tools'
AUTHOR = 'Frossie Economou'
AUTHOR_EMAIL = 'frossie@lsst.org'
URL = 'https://github.com/lsst-sqre/sqre-codek... | #!/usr/bin/env python3
"""Setup Tools Script"""
import os
import codecs
from setuptools import setup, find_packages
PACKAGENAME = 'sqre-codekit'
DESCRIPTION = 'LSST Data Management SQuaRE code management tools'
AUTHOR = 'Frossie Economou'
AUTHOR_EMAIL = 'frossie@lsst.org'
URL = 'https://github.com/lsst-sqre/sqre-codek... | mit | Python |
e34ce0033e1ffc3f6a81d37260056166ac5f582d | Exclude filter and xrange fixers. | Jarn/jarn.mkrelease | setup.py | setup.py | from setuptools import setup, find_packages
version = '3.7'
setup(name='jarn.mkrelease',
version=version,
description='Python egg releaser',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Development Status :: 5 -... | from setuptools import setup, find_packages
version = '3.7'
setup(name='jarn.mkrelease',
version=version,
description='Python egg releaser',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Development Status :: 5 -... | bsd-2-clause | Python |
2a12ae4428b3a7765e2ee6950b27240fc169e203 | switch to MIT license | pyannote/pyannote-parser | setup.py | setup.py | #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2014 CNRS (Hervé BREDIN - http://herve.niderb.fr)
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without re... | #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2014 CNRS (Hervé BREDIN - http://herve.niderb.fr)
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without re... | mit | Python |
90aa47db6c02b5531556d472e3034a77d1e24472 | move django-stronghold to options in setup.py | vicalloy/django-lb-workflow,vicalloy/django-lb-workflow,vicalloy/django-lb-workflow | setup.py | setup.py | from setuptools import find_packages, setup
from lbworkflow import __version__
setup(
name='django-lb-workflow',
version=__version__,
url='https://github.com/vicalloy/django-lb-workflow',
author='vicalloy',
author_email='vicalloy@gmail.com',
description="Reusable workflow library for Django",
... | from setuptools import find_packages, setup
from lbworkflow import __version__
setup(
name='django-lb-workflow',
version=__version__,
url='https://github.com/vicalloy/django-lb-workflow',
author='vicalloy',
author_email='vicalloy@gmail.com',
description="Reusable workflow library for Django",
... | mit | Python |
297e6bacc034fdfe7aef3f28adab69827eb6a7ce | Upgrade version | openfisca/openfisca-france-data,openfisca/openfisca-france-data,openfisca/openfisca-france-data | setup.py | setup.py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# OpenFisca -- A versatile microsimulation software
# By: OpenFisca Team <contact@openfisca.fr>
#
# Copyright (C) 2011, 2012, 2013, 2014, 2015 OpenFisca Team
# https://github.com/openfisca
#
# This file is part of OpenFisca.
#
# OpenFisca is free software; you can redist... | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# OpenFisca -- A versatile microsimulation software
# By: OpenFisca Team <contact@openfisca.fr>
#
# Copyright (C) 2011, 2012, 2013, 2014, 2015 OpenFisca Team
# https://github.com/openfisca
#
# This file is part of OpenFisca.
#
# OpenFisca is free software; you can redist... | agpl-3.0 | Python |
f2eb45ea24429fd3e4d32a490dbe3f8a2f383d9f | Add postsecondary stats to the StatsBase model | texastribune/scuole,texastribune/scuole,texastribune/scuole,texastribune/scuole | scuole/stats/models/base.py | scuole/stats/models/base.py | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from .staff_student import StaffStudentBase
from .postsecondary_readiness import PostSecondaryReadinessBase
@python_2_unicode_compatible
class S... | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from .staff_student import StaffStudentBase
@python_2_unicode_compatible
class SchoolYear(models.Model):
name = models.CharField(max_length=... | mit | Python |
4f7ddfeb74d9dd530f1a92627bc06c9978399666 | Enhance package meta data. | bro/brogments | setup.py | setup.py | """
A Pygments lexer for Bro policy scripts.
"""
from setuptools import setup
__author__ = 'Matthias Vallentin'
__email__ = 'vallentin@icir.org'
__copyright__ = 'Copyright 2011, Matthias Vallentin'
__license__ = 'BSD'
__version__ = '0.1'
__maintainer__ = 'Matthias Vallentin'
entry_points = '''[pygments.lexers]
brole... | """
A Pygments lexer for Bro policy scripts.
"""
from setuptools import setup
__author__ = 'Matthias Vallentin <vallentin@icir.org>'
entry_points = '''[pygments.lexers]
brolexer = bro_lexer.bro:BroLexer
'''
setup(
name = 'brogments',
version = '0.1',
description= __doc__,
author = __author__,
p... | bsd-3-clause | Python |
f27f35ab3ae2039aca4c4045afb2f211a9af2196 | Bump version to 0.0.2 | rambler-digital-solutions/aioriak | setup.py | setup.py | from setuptools import setup, find_packages
from commands import (docker_build, docker_start, docker_stop, setup_riak,
create_bucket_types, Test)
setup(
name='aioriak',
version='0.0.2',
description='Async implementation of Riak DB python client',
author='Makc Belousov',
author... | from setuptools import setup, find_packages
from commands import (docker_build, docker_start, docker_stop, setup_riak,
create_bucket_types, Test)
setup(
name='aioriak',
version='0.0.1',
description='Async implementation of Riak DB python client',
author='Makc Belousov',
author... | mit | Python |
52222886f63f295572f6499e224faa25445a60b5 | Upgrade version | hubo1016/vlcp_event_cython | setup.py | setup.py | #!/usr/bin/env python
'''
Created on 2015/11/17
:author: hubo
'''
try:
import ez_setup
ez_setup.use_setuptools()
except:
pass
from setuptools import setup
from distutils.extension import Extension
VERSION = '0.1.1'
import sys
if 'setuptools.extension' in sys.modules:
m = sys.modules['setuptools.exten... | #!/usr/bin/env python
'''
Created on 2015/11/17
:author: hubo
'''
try:
import ez_setup
ez_setup.use_setuptools()
except:
pass
from setuptools import setup
from distutils.extension import Extension
VERSION = '0.1.0'
import sys
if 'setuptools.extension' in sys.modules:
m = sys.modules['setuptools.exten... | apache-2.0 | Python |
04c72c8123a2841be3487fdf126a803538f74e3f | update version to 0.0.2-dev | WarrenWeckesser/eyediagram | eyediagram/__init__.py | eyediagram/__init__.py | # Copyright (c) 2015, Warren Weckesser. All rights reserved.
# This software is licensed according to the "BSD 2-clause" license.
__version__ = "0.0.2-dev"
import core
import bok
import mpl
| # Copyright (c) 2015, Warren Weckesser. All rights reserved.
# This software is licensed according to the "BSD 2-clause" license.
__version__ = "0.0.1"
import core
import bok
import mpl
| bsd-2-clause | Python |
76254eb7f87091cce2096b857bcc6a7baa68c5a9 | Add psutil | Wanderfalke/stellar,orf/stellar,fastmonkeys/stellar | setup.py | setup.py | # coding: utf-8
import os
import re
from setuptools import setup, find_packages
# https://bitbucket.org/zzzeek/alembic/raw/f38eaad4a80d7e3d893c3044162971971ae0
# 09bf/setup.py
v = open(os.path.join(os.path.dirname(__file__), 'stellar', 'app.py'))
VERSION = re.compile(r".*__version__ = '(.*?)'", re.S).match(v.read())... | # coding: utf-8
import os
import re
from setuptools import setup, find_packages
# https://bitbucket.org/zzzeek/alembic/raw/f38eaad4a80d7e3d893c3044162971971ae0
# 09bf/setup.py
v = open(os.path.join(os.path.dirname(__file__), 'stellar', 'app.py'))
VERSION = re.compile(r".*__version__ = '(.*?)'", re.S).match(v.read())... | mit | Python |
58869dcfac6414b2e3cdd2c3cf87fe91f53055e1 | update reset | archangdcc/avalon-extras,qinfengling/Avalon-extras,qinfengling/Avalon-extras,qinfengling/Avalon-extras,qinfengling/Avalon-extras,archangdcc/avalon-extras,Canaan-Creative/Avalon-extras,qinfengling/Avalon-extras,Canaan-Creative/Avalon-extras,Canaan-Creative/Avalon-extras,archangdcc/avalon-extras,Canaan-Creative/Avalon-ex... | reset.py | reset.py | #!/usr/bin/env python2.7
from serial import Serial
from optparse import OptionParser
import binascii
parser = OptionParser()
parser.add_option("-s", "--serial", dest="serial_port", default="/dev/ttyUSB0", help="Serial port")
(options, args) = parser.parse_args()
ser = Serial(options.serial_port, 115200, 8)
cmd = "... | #!/usr/bin/env python2.7
from serial import Serial
from optparse import OptionParser
import binascii
parser = OptionParser()
parser.add_option("-s", "--serial", dest="serial_port", default="/dev/ttyUSB0", help="Serial port")
(options, args) = parser.parse_args()
ser = Serial(options.serial_port, 19200, 8)
cmd = "0... | unlicense | Python |
6168259db11d967f6d28a2e1f89639854e9b88d1 | update pypi classifiers | MichiganLabs/flask-gcm | setup.py | setup.py | #!/usr/bin/env python
"""
Setup script for Flask-GCM.
"""
import setuptools
import os
if os.path.exists('README.rst'):
README = open('README.rst').read()
else:
README = "" # a placeholder, readme is generated on release
CHANGES = open('CHANGES.md').read()
setuptools.setup(
name='Flask-GCM',
versio... | #!/usr/bin/env python
"""
Setup script for Flask-GCM.
"""
import setuptools
import os
if os.path.exists('README.rst'):
README = open('README.rst').read()
else:
README = "" # a placeholder, readme is generated on release
CHANGES = open('CHANGES.md').read()
setuptools.setup(
name='Flask-GCM',
versio... | mit | Python |
de6601ea92b5a7d6412c7e06ccdbca073126bdd2 | Fix hash tests | gdanezis/rousseau-chain | hippiehug-package/hippiehug/Utils.py | hippiehug-package/hippiehug/Utils.py | # -*- coding: utf-8 -*-
import six
from hashlib import sha256 as xhash
from binascii import hexlify
def binary_hash(item):
"""
>>> isinstance(binary_hash(b'value')[:4], six.binary_type)
True
"""
return xhash(item).digest()
def ascii_hash(item):
"""
>>> ascii_hash(b'value')[:4] == b'cd4... | # -*- coding: utf-8 -*-
import six
from hashlib import sha256 as xhash
from binascii import hexlify
def binary_hash(item):
"""
>>> binary_hash(b'value')[:4]
b'\xcdB@M'
"""
return xhash(item).digest()
def ascii_hash(item):
"""
>>> ascii_hash(b'value')[:4]
b'cd42'
"""
return ... | bsd-2-clause | Python |
4d5feda5c1b7381ad856d5ae2b676092de154a79 | add missing modifiers (oops) | hawkw/COMINTERNALS,hawkw/COMINTERNALS,hawkw/COMINTERNALS | c.py | c.py | import re
types = ["short", "int", "long", "float", "double", "char", "void", "bool",
"FILE"]
containers = ["enum", "struct", "union", "typedef"]
preprocessor = ["define", "ifdef", "ifndef", "include", "endif", "defined"]
# libs = ["_WIN32", "NULL", "fprintf", "stderr", "memset", "size_t", "fflush", "abort", ... | import re
types = ["short", "int", "long", "float", "double", "char", "void", "bool",
"FILE"]
containers = ["enum", "struct", "union", "typedef"]
preprocessor = ["define", "ifdef", "ifndef", "include", "endif", "defined"]
# libs = ["_WIN32", "NULL", "fprintf", "stderr", "memset", "size_t", "fflush", "abort", ... | cc0-1.0 | Python |
4106dd7bbb796d8fc012d650bca235865ef176e1 | Update preprocess.py | vsingla2/Self-Driving-Car-NanoDegree-Udacity,vsingla2/Self-Driving-Car-NanoDegree-Udacity,vsingla2/Self-Driving-Car-NanoDegree-Udacity,vsingla2/Self-Driving-Car-NanoDegree-Udacity,vsingla2/Self-Driving-Car-NanoDegree-Udacity,vsingla2/Self-Driving-Car-NanoDegree-Udacity | Term1-Computer-Vision-and-Deep-Learning/Project4-Advanced-Lane_Lines/preprocess.py | Term1-Computer-Vision-and-Deep-Learning/Project4-Advanced-Lane_Lines/preprocess.py | def abs_sobel_thresh(img, orient='x', sobel_kernel=3, thresh=(0, 255)):
# Calculate directional gradient
# Apply threshold
return grad_binary
def mag_thresh(image, sobel_kernel=3, mag_thresh=(0, 255)):
# Calculate gradient magnitude
# Apply threshold
return mag_binary
def dir_threshold(image, ... | def abs_sobel_thresh(img, orient='x', sobel_kernel=3, thresh=(0, 255)):
# Calculate directional gradient
# Apply threshold
return grad_binary
def mag_thresh(image, sobel_kernel=3, mag_thresh=(0, 255)):
# Calculate gradient magnitude
# Apply threshold
return mag_binary
def dir_threshold(image, ... | mit | Python |
58f9e10b0a9c668c35711b63a92948145f18df8c | Bump patch version | gristlabs/asttokens | setup.py | setup.py | """A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import io
from os import path
from setuptools import setup
here = path.dirname(__file__)
# Get the long description from the README file
with io.open(path.join(here, 'README.rs... | """A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import io
from os import path
from setuptools import setup
here = path.dirname(__file__)
# Get the long description from the README file
with io.open(path.join(here, 'README.rs... | apache-2.0 | Python |
623c66a358d254bbcf4b590f4d34640e22297d54 | Bump version to 0.4.0 | datapackages/datapackage-py,okfn/datapackage-model-py,okfn/datapackage-py,sirex/datapackage-py,okfn/datapackage-model-py,sirex/datapackage-py,datapackages/datapackage-py,okfn/datapackage-py | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import io
import os
import fnmatch
from setuptools import setup, find_packages
description = "A Python library for working with a Data Package Registry."
with io.... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import io
import os
import fnmatch
from setuptools import setup, find_packages
description = "A Python library for working with a Data Package Registry."
with io.... | mit | Python |
054b2bab0e00cb3523facc73c52e82aff50e3256 | Bump python, pandas & matplotlib versions | has2k1/mizani,has2k1/mizani | setup.py | setup.py | """
Mizani
Mizani is a scales package for graphics. It is based on Hadley
Wickham's *Scales* package.
"""
from setuptools import setup, find_packages
import versioneer
__author__ = 'Hassan Kibirige'
__email__ = 'has2k1@gmail.com'
__description__ = "Scales for Python"
__license__ = 'BSD (3-clause)'
__url__ = 'https... | """
Mizani
Mizani is a scales package for graphics. It is based on Hadley
Wickham's *Scales* package.
"""
from setuptools import setup, find_packages
import versioneer
__author__ = 'Hassan Kibirige'
__email__ = 'has2k1@gmail.com'
__description__ = "Scales for Python"
__license__ = 'BSD (3-clause)'
__url__ = 'https... | bsd-3-clause | Python |
ac063f8e61dd9bd5718d01dc989c563ef19fa626 | Fix typo (#3343) | hexxter/home-assistant,HydrelioxGitHub/home-assistant,postlund/home-assistant,jaharkes/home-assistant,Teagan42/home-assistant,tchellomello/home-assistant,alexmogavero/home-assistant,molobrakos/home-assistant,hexxter/home-assistant,xifle/home-assistant,florianholzapfel/home-assistant,sander76/home-assistant,Smart-Torvy/... | homeassistant/components/bloomsky.py | homeassistant/components/bloomsky.py | """
Support for BloomSky weather station.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/bloomsky/
"""
import logging
from datetime import timedelta
import requests
import voluptuous as vol
from homeassistant.const import CONF_API_KEY
from homeassista... | """
Support for BloomSky weather station.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/bloomsky/
"""
import logging
from datetime import timedelta
import requests
import voluptuous as vol
from homeassistant.const import CONF_API_KEY
from homeassista... | mit | Python |
d8e0a43d4d6fd85e914445393a5b41a67fd4365b | add Yelizariev author | thinkopensolutions/tkobr-addons,elego/tkobr-addons,elego/tkobr-addons,thinkopensolutions/tkobr-addons,elego/tkobr-addons,thinkopensolutions/tkobr-addons,thinkopensolutions/tkobr-addons,elego/tkobr-addons | tko_web_sessions_management/__openerp__.py | tko_web_sessions_management/__openerp__.py | # -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# ThinkOpen Solutions Brasil
# Copyright (C) Thinkopen Solutions <http://www.tkobr.com>.
#
# This... | # -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# ThinkOpen Solutions Brasil
# Copyright (C) Thinkopen Solutions <http://www.tkobr.com>.
#
# This... | agpl-3.0 | Python |
1eec99ce1d0ab8ed27060ace3daa2c1de3f80317 | add 1.3.0 (#27787) | LLNL/spack,LLNL/spack,LLNL/spack,LLNL/spack,LLNL/spack | var/spack/repos/builtin/packages/py-imagesize/package.py | var/spack/repos/builtin/packages/py-imagesize/package.py | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyImagesize(PythonPackage):
"""Parses image file headers and returns image size. Supports ... | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyImagesize(PythonPackage):
"""Parses image file headers and returns image size. Supports ... | lgpl-2.1 | Python |
c39a9ab9dd4002f040c614c24583fcfd7a2740dc | set version 0.5.0 | icgood/provoke,icgood/provoke | setup.py | setup.py |
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
mysql = 'MySQL-python'
else:
mysql = 'PyMySQL'
setup(name='provoke',
version='0.5.0',
author='Ian Good',
author_email='icgood@gmail.com',
description='Lightweight, asynchronous function execution in... |
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
mysql = 'MySQL-python'
else:
mysql = 'PyMySQL'
setup(name='provoke',
version='0.4.1',
author='Ian Good',
author_email='icgood@gmail.com',
description='Lightweight, asynchronous function execution in... | mit | Python |
15d660fc5fb6646cee99618d0f62d317e5ecdc84 | rename import and transform | yero13/agilego.py | setup.py | setup.py | from distutils.core import setup
from setuptools import find_packages
setup(name='agilego',
version='0.1.2',
description='Sprint planner',
author='Roman Yepifanov',
url='https://github.com/yero13/agilego.be',
license='GNU GPL v2.0',
classifiers=[
'Development Status :: 3 -... | from distutils.core import setup
from setuptools import find_packages
setup(name='agilego',
version='0.1.2',
description='Scrum sprint planner',
author='Roman Yepifanov',
url='https://github.com/yero13/agilego.be',
license='GNU GPL v2.0',
classifiers=[
'Development Status ... | mit | Python |
c5134ff4f2a2687b48fb8345bb07da4ad2585d11 | Add extra version of py-terminado (#15111) | LLNL/spack,LLNL/spack,iulian787/spack,iulian787/spack,LLNL/spack,iulian787/spack,iulian787/spack,iulian787/spack,LLNL/spack,LLNL/spack | var/spack/repos/builtin/packages/py-terminado/package.py | var/spack/repos/builtin/packages/py-terminado/package.py | # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyTerminado(PythonPackage):
"""Terminals served to term.js using Tornado websockets"""
... | # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyTerminado(PythonPackage):
"""Terminals served to term.js using Tornado websockets"""
... | lgpl-2.1 | Python |
ec6dabae3b8d16b7f1ba1c2cd7e8b8cb0af91999 | Update setuptools to 5.3. | alunduil/crumbs | setup.py | setup.py | # Copyright (C) 2014 by Alex Brandt <alunduil@alunduil.com>
#
# crumbs is freely distributable under the terms of an MIT-style license.
# See COPYING or http://www.opensource.org/licenses/mit-license.php.
# -----------------------------------------------------------------------------
import sys
import traceback
try:
... | # Copyright (C) 2014 by Alex Brandt <alunduil@alunduil.com>
#
# crumbs is freely distributable under the terms of an MIT-style license.
# See COPYING or http://www.opensource.org/licenses/mit-license.php.
# -----------------------------------------------------------------------------
import sys
import traceback
try:
... | mit | Python |
1227f5ef7e01e588b1c05fbd5b475a101be0bc5a | add current directory to sys.path when importing generator class (fixed #58) | ianlini/feagen | feagen/tools/config.py | feagen/tools/config.py | from os.path import join, exists
import sys
from importlib import import_module
from mkdir_p import mkdir_p
def init_config():
mkdir_p(".feagenrc")
default_global_config = """\
generator_class: feature_generator.FeatureGenerator
data_bundles_dir: data_bundles
# The additional arguments that will be given wh... | from os.path import join, exists
from importlib import import_module
from mkdir_p import mkdir_p
def init_config():
mkdir_p(".feagenrc")
default_global_config = """\
generator_class: feature_generator.FeatureGenerator
data_bundles_dir: data_bundles
# The additional arguments that will be given when initiati... | bsd-2-clause | Python |
39c0323e955b17cabd3250d69dd5d7571a3aec66 | Update version | lijoantony/django-oscar-api,crgwbr/django-oscar-api,regulusweb/django-oscar-api,KuwaitNET/django-oscar-api | setup.py | setup.py | from setuptools import setup, find_packages
__version__ = "0.0.10"
setup(
# package name in pypi
name='django-oscar-commerce-connect',
# extract version from module.
version=__version__,
description="REST API module for django-oscar",
long_description=open('README.rst').read(),
classifie... | from setuptools import setup, find_packages
__version__ = "0.0.9"
setup(
# package name in pypi
name='django-oscar-commerce-connect',
# extract version from module.
version=__version__,
description="REST API module for django-oscar",
long_description=open('README.rst').read(),
classifier... | bsd-3-clause | Python |
9a7ba780abb5949d2053dfbf9d280d53e89ff5c2 | update version to 1.1.8 | WKPlus/pyhessian2 | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '1.1.8'
LONG_DESCRIPTION = '''
pyhessian2 is implemented for serialize and deserialize data in hessian2 protocol.
Usage
-----
>>> # encoding
>>> from pyhessian2 import HessianObject, Encoder
>>> attr... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '1.1.7'
LONG_DESCRIPTION = '''
pyhessian2 is implemented for serialize and deserialize data in hessian2 protocol.
Usage
-----
>>> # encoding
>>> from pyhessian2 import HessianObject, Encoder
>>> attr... | mit | Python |
4aabe8c607dd67ed861b76d9898c4d45ea91f232 | Upgrade shapely version according to ding0 v0.1.4 | openego/eDisGo,openego/eDisGo | setup.py | setup.py | from setuptools import find_packages, setup
from setuptools.command.install import install
import os
BASEPATH='.eDisGo'
class InstallSetup(install):
def run(self):
self.create_edisgo_path()
install.run(self)
@staticmethod
def create_edisgo_path():
edisgo_path = os.path.join(os.pa... | from setuptools import find_packages, setup
from setuptools.command.install import install
import os
BASEPATH='.eDisGo'
class InstallSetup(install):
def run(self):
self.create_edisgo_path()
install.run(self)
@staticmethod
def create_edisgo_path():
edisgo_path = os.path.join(os.pa... | agpl-3.0 | Python |
36d0cd840207ae624f4e14041c331922db60f110 | Update setup.py to new markdown readme support for long description in PyPi | pipitone/qbatch,gdevenyi/qbatch | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
from io import open
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='qbatch',
... | #!/usr/bin/env python
from setuptools import setup
# pypi doesn't like markdown
# https://github.com/pypa/packaging-problems/issues/46
try:
import pypandoc
description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
description = ''
setup(
name='qbatch',
version='2.2',
d... | unlicense | Python |
d7bfabc3d7205f5509badd0060d3f4e6b92e3692 | Bump version | gglockner/teslajson | setup.py | setup.py | from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
setup(name='teslajson',
version='1.3.1',
description='',
url='https://github.com/gglockner/teslajson',
py_modules=['teslajson'],
author='Greg Glockner',
license='MI... | from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
setup(name='teslajson',
version='1.3.0',
description='',
url='https://github.com/gglockner/teslajson',
py_modules=['teslajson'],
author='Greg Glockner',
license='MI... | mit | Python |
1db33200fbcbfb1b1286b5193bed1eb4638b2ae8 | Fix PyPI classifiers | gst/amqpy,veegee/amqpy | setup.py | setup.py | #!/usr/bin/env python3
import sys
import os
from setuptools import setup, find_packages
import amqpy
if sys.version_info < (3, 2):
raise Exception('amqpy requires Python 3.2 or higher')
name = 'amqpy'
description = 'an AMQP 0.9.1 client library for Python >= 3.2.0'
keywords = ['amqp', 'rabbitmq', 'qpid']
clas... | #!/usr/bin/env python3
import sys
import os
from setuptools import setup, find_packages
import amqpy
if sys.version_info < (3, 2):
raise Exception('amqpy requires Python 3.2 or higher')
name = 'amqpy'
description = 'an AMQP 0.9.1 client library for Python >= 3.2.0'
keywords = ['amqp', 'rabbitmq', 'qpid']
clas... | mit | Python |
cedda1879c5d4322b86e957fc231ba2797e676c2 | Fix paths on setup.py script | vmalavolta/fabix | setup.py | setup.py | import os
from setuptools import setup, find_packages
from fabix import __version__
base_dir = os.path.dirname(__file__)
readme_file = os.path.join(base_dir, 'README.rst')
requirements_file = os.path.join(base_dir, 'requirements.txt')
setup(
name='fabix',
version=__version__,
description="Fabix is a seri... | from setuptools import setup, find_packages
from fabix import __version__
setup(
name='fabix',
version=__version__,
description="Fabix is a serie of functions built on top of fabric and cuisine to easily deploy python web projects.",
long_description=open('README.rst', 'rb').read(),
keywords=['fabr... | mit | Python |
91f5ad841eea90b5c2db8e66c08c19e12bffffdf | Update "marshmallow" to v2.8.0 | RBE-Avionik/skylines,skylines-project/skylines,shadowoneau/skylines,RBE-Avionik/skylines,kerel-fs/skylines,skylines-project/skylines,shadowoneau/skylines,Turbo87/skylines,Turbo87/skylines,kerel-fs/skylines,skylines-project/skylines,Harry-R/skylines,Harry-R/skylines,kerel-fs/skylines,Turbo87/skylines,Turbo87/skylines,sh... | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
about = {}
with open("skylines/__about__.py") as fp:
exec(fp.read(), about)
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__summary__'],
author=about['__author__'],
author_email=about['__email... | #!/usr/bin/env python
from setuptools import setup, find_packages
about = {}
with open("skylines/__about__.py") as fp:
exec(fp.read(), about)
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__summary__'],
author=about['__author__'],
author_email=about['__email... | agpl-3.0 | Python |
fc08a803493596ad47189ab618d2892762f18f04 | Patch applied | skirsdeda/django-treebeard,django-treebeard/django-treebeard,tabo/django-treebeard,skirsdeda/django-treebeard,django-treebeard/django-treebeard,skirsdeda/django-treebeard,django-treebeard/django-treebeard,tabo/django-treebeard,tabo/django-treebeard,tabo/django-treebeard,skirsdeda/django-treebeard | setup.py | setup.py | #!/usr/bin/env python
import os
from distutils.core import setup
version = '1.62a'
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Operating System :: OS Inde... | #!/usr/bin/env python
import os
from distutils.core import setup
version = '1.62a'
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Operating System :: OS Inde... | apache-2.0 | Python |
29bf9c8366f7edfdd38b4b7c843ed09d9b3e7368 | Update setup.py | Deathnerd/pyterp | setup.py | setup.py | # Test for Python version 2 only
import sys
if not sys.version_info[0] == 2:
print "Sorry, but Python 3 isn't inherently supported yet"
sys.exit(1)
from setuptools import setup, find_packages
setup(name='pyterp',
version='0.1',
description=u"A bare-bones collection of interpreters written in Pytho... | # Test for Python version 2 only
import sys
if not sys.version_info[0] == 2:
print "Sorry, but Python 3 isn't inherently supported yet"
sys.exit(1)
from setuptools import setup, find_packages
setup(name='pyfck',
version='0.1',
description=u"A bare-bones Brainfuck interpreter written in Python 2.7.... | mit | Python |
bc9536aeabb778e0e8b53f89471b46e4ce9f3c87 | Change package name to "couchbase" | mnunberg/couchbase-python-client,couchbase/couchbase-python-client,couchbase/couchbase-python-client,mnunberg/couchbase-python-client | setup.py | setup.py | from distutils.core import setup, Command
from distutils.extension import Extension
from distutils.version import StrictVersion
import os
import sys
# Use Cython if available.
try:
from Cython import __version__ as cython_version
from Cython.Build import cythonize
except ImportError:
print('importerror')
... | from distutils.core import setup, Command
from distutils.extension import Extension
from distutils.version import StrictVersion
import os
import sys
# Use Cython if available.
try:
from Cython import __version__ as cython_version
from Cython.Build import cythonize
except ImportError:
print('importerror')
... | apache-2.0 | Python |
9f6ecbde53dc9e115daa1fcfd269f3ff22214fc3 | update distribution version | merrywhether/autoprotocol-python,therzka/autoprotocol-python,transcripticpll/autoprotocol-python | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='autoprotocol',
url='http://github.com/autoprotocol/autoprotocol-python',
author='Tali Herzka',
description='Python library for generating Autoprotocol',
author_email="tali@transcriptic.com",
version='2.0.5',
test_suite='test',
... | #!/usr/bin/env python
from setuptools import setup
setup(
name='autoprotocol',
url='http://github.com/autoprotocol/autoprotocol-python',
author='Tali Herzka',
description='Python library for generating Autoprotocol',
author_email="tali@transcriptic.com",
version='2.0.3',
test_suite='test',
... | bsd-3-clause | Python |
6f29dc9979cd35618f8f16a71a3e960f2a826533 | Update setup.py to use find_packages function | davidgasquez/tip | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='tip',
version='0.1',
description='Code to prepare traditional technical interviews.',
url='https://github.com/davidgasquez/tip',
author='David Gasquez',
author_email='davidgasquez@gmail.com',
license='Unlicense',
packages=find_pac... | from setuptools import setup
setup(
name='tip',
version='0.1',
description='Code to prepare traditional technical interviews.',
url='https://github.com/davidgasquez/tip',
author='David Gasquez',
author_email='davidgasquez@gmail.com',
license='Unlicense',
packages=['tip'],
classifier... | unlicense | Python |
448c9b3bcbaa3da3fc4bab8cc3096e655a704036 | Update setup.py - bump version | AASHE/django-membersuite-auth | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
import os
# Utility function to read README.md file
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name="django-membersuite-auth",
version="2.5.1",
description="Django Authentication By MemberSuite",
... | #!/usr/bin/env python
from setuptools import setup
import os
# Utility function to read README.md file
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name="django-membersuite-auth",
version="2.5",
description="Django Authentication By MemberSuite",
au... | mit | Python |
20ccae78520fae0bdff2fb13cce4f4fed62b8d3b | Remove unused import. | phyng/zuobiao,phyng/zuobiao,phyng/zuobiao | zuobiao/tools.py | zuobiao/tools.py |
import csv
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "zuobiao.settings")
import django
django.setup()
from dashboard.models import Question, Anser, User
from dashboard.models import INCOME_CHOICES, EDU_CHOICES, ANSER_CHOICES
import datetime
# Import date from csv
with open('2014data.csv', 'r') as f... |
import csv
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "zuobiao.settings")
import django
django.setup()
from dashboard.models import Question, Anser, User
from dashboard.models import SEX_CHOICES, INCOME_CHOICES, EDU_CHOICES, ANSER_CHOICES
import datetime
import re
# Import date from csv
with open('... | mit | Python |
b02601bf49baf781cf699205b2d9024250f96038 | bump to 025 | inorton/junit2html | setup.py | setup.py | from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="025",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://gitlab.com/inorton/junit2html",
packages=["junit2htmlreport"],
packag... | from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="25",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://gitlab.com/inorton/junit2html",
packages=["junit2htmlreport"],
package... | mit | Python |
a16676f3b86b60714d8f9d3285a1aa7a17a17c1a | Rename test_reqs to dev_reqs | reillysiemens/wb2k | setup.py | setup.py | #!/usr/bin/env python3
import re
import os.path
import sys
from setuptools import setup, find_packages
from pip.req import parse_requirements
if sys.version_info < (3, 6):
sys.exit('Python 3.6+ is required. Ancient Python is unsupported.')
here = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.j... | #!/usr/bin/env python3
import re
import os.path
import sys
from setuptools import setup, find_packages
from pip.req import parse_requirements
if sys.version_info < (3, 6):
sys.exit('Python 3.6+ is required. Ancient Python is unsupported.')
here = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.j... | isc | Python |
32285391c33eb15f56803007be28aae1239626ac | Update setup.py | helo9/wingstructure | setup.py | setup.py | import sys, os
from setuptools import setup, find_packages
# taken from http://www.pydanny.com/python-dot-py-tricks.html
if sys.argv[-1] == 'test':
test_requirements = [
'pytest',
]
try:
modules = map(__import__, test_requirements)
except ImportError as e:
err_msg = e.message.re... | import sys, os
from setuptools import setup, find_packages
# taken from http://www.pydanny.com/python-dot-py-tricks.html
if sys.argv[-1] == 'test':
test_requirements = [
'pytest',
]
try:
modules = map(__import__, test_requirements)
except ImportError as e:
err_msg = e.message.re... | mit | Python |
4abb61e585d54681211e918687d18a90a0c016a1 | Bump minor version | efficios/pytsdl | setup.py | setup.py | #!/usr/bin/env python3
#
# The MIT License (MIT)
#
# Copyright (c) 2014 Philippe Proulx <philippe.proulx@efficios.com>
#
# 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, i... | #!/usr/bin/env python3
#
# The MIT License (MIT)
#
# Copyright (c) 2014 Philippe Proulx <philippe.proulx@efficios.com>
#
# 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, i... | mit | Python |
323bbde203e891966a0b2278edb00a4c62aba966 | Prepare openprocurement.auction 1.0.0.dev61. | openprocurement/openprocurement.auction,openprocurement/openprocurement.auction | setup.py | setup.py | from setuptools import setup, find_packages
import os
version = '1.0.0.dev61'
setup(name='openprocurement.auction',
version=version,
description="",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings f... | from setuptools import setup, find_packages
import os
version = '1.0.0.dev60'
setup(name='openprocurement.auction',
version=version,
description="",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings f... | apache-2.0 | Python |
8b3e8f061e4f1cc4c9937a26de9daba4a8c3dee3 | Update setup.py classifiers | caktus/django-email-bandit,caktus/django-email-bandit | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name="django-email-bandit",
version=__import__("bandit").__version__,
author="Caktus Consulting Group",
author_email="solutions@caktusgroup.com",
packages=find_packages(),
include_package_data=True,
url="https://github.com/caktus/django-ema... | from setuptools import find_packages, setup
setup(
name="django-email-bandit",
version=__import__("bandit").__version__,
author="Caktus Consulting Group",
author_email="solutions@caktusgroup.com",
packages=find_packages(),
include_package_data=True,
url="https://github.com/caktus/django-ema... | bsd-3-clause | Python |
f383fff598eca983543eb9ed3f4f9a0a24bca3b6 | Bump version number to 0.1.3. | dplepage/vertigo | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(
name='vertigo',
version='0.1.3',
license='BSD',
author="Daniel Lepage",
author_email="dplepage@gmail.com",
packages=['vertigo',],
long_description="""
=========================================
Vertigo: Some really simple graph ... | #!/usr/bin/env python
from distutils.core import setup
setup(
name='vertigo',
version='0.1.2',
license='BSD',
author="Daniel Lepage",
author_email="dplepage@gmail.com",
packages=['vertigo',],
long_description="""
=========================================
Vertigo: Some really simple graph ... | bsd-3-clause | Python |
8e9642ea2b364b3a2508b9d765bad8d8bf115200 | Bump python-telegram-bot to version 10 | BotDevGroup/marvin,BotDevGroup/marvin,BotDevGroup/marvin | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
import sys
from setuptools import find_packages
REQUIREMENTS = [
'python-telegram-bot~=10.1.0',
'blinker',
'python-dateutil',
'dogpile.cache==0.6.2',
'mongoengine==0.10.6',
'polling',
'pytz',
'ipython',
'ipdb',
'requests',... | #!/usr/bin/env python
from distutils.core import setup
from setuptools import find_packages
import sys
REQUIREMENTS = [
'python-telegram-bot~=8.1.1',
'blinker',
'python-dateutil',
'dogpile.cache==0.6.2',
'mongoengine==0.10.6',
'polling',
'pytz',
'ipython',
'ipdb',
'requests',
... | mit | Python |
70da117e83c01ba07407016b0e35ec46a723e4fb | switch to pyannote.core 0.13 | pyannote/pyannote-generators,hbredin/pyannote-generators | setup.py | setup.py | #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2016 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 limitation ... | #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2016 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 limitation ... | mit | Python |
025bad8caee06584eb730e2f15a259e51adfea3b | Fix Markdown link | retext-project/pymarkups,mitya57/pymarkups | setup.py | setup.py | #!/usr/bin/python
from distutils.core import setup
long_description = \
"""This module provides a wrapper around the various text markup languages,
such as Markdown_ and reStructuredText_ (these two are supported by default).
Usage example:
>>> markup = markups.get_markup_for_file_name("myfile.rst")
>>> markup.name... | #!/usr/bin/python
from distutils.core import setup
long_description = \
"""This module provides a wrapper around the various text markup languages,
such as Markdown_ and reStructuredText_ (these two are supported by default).
Usage example:
>>> markup = markups.get_markup_for_file_name("myfile.rst")
>>> markup.name... | bsd-3-clause | Python |
f3946164e9b52ca1424e0cf1103351423c395b79 | Bump package version to 1.2.2 | MasterKale/django-cra-helper | setup.py | setup.py | from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='django-cra-helper',
version='1.2.2',
description='The missing... | from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='django-cra-helper',
version='1.2.1',
description='The missing... | mit | Python |
a8ef44b418060447db00d950236760faff392776 | Make setup.py executable | grengojbo/grappelli-admin-tools-trunk,grengojbo/grappelli-admin-tools,grengojbo/grappelli-admin-tools-trunk,grengojbo/grappelli-admin-tools,grengojbo/grappelli-admin-tools-trunk,grengojbo/grappelli-admin-tools | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
import os
from admin_tools import VERSION
# taken from django-registration
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.ch... | from distutils.core import setup
import os
from admin_tools import VERSION
# taken from django-registration
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
for dir... | mit | Python |
c8d3dc7e8801308edfdd960ecc68ea4192dda415 | add depenency to setup.py | aio-libs/aiomysql | setup.py | setup.py | import os
import re
import sys
from setuptools import setup, find_packages
install_requires = ['PyMySQL>=0.6.3']
PY_VER = sys.version_info
if PY_VER >= (3, 4):
pass
elif PY_VER >= (3, 3):
install_requires.append('asyncio')
else:
raise RuntimeError("aiomysql doesn't suppport Python earllier than 3.3")
... | import os
import re
import sys
from setuptools import setup, find_packages
install_requires = []
PY_VER = sys.version_info
if PY_VER >= (3, 4):
pass
elif PY_VER >= (3, 3):
install_requires.append('asyncio')
else:
raise RuntimeError("aiomysql doesn't suppport Python earllier than 3.3")
def read(f):
... | mit | Python |
2e0da7e01c19aedb1249ea756f89ad12714764f8 | Use X.X.X version format, version only from setup.py file | odin-public/osaAPI | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='osaapi',
version='0.4.0',
author='apsconnect team, original by oznu',
author_email='aps@odin.com',
packages=['osaapi'],
url='https://aps.odin.com',
license='Apache License',
description='A python binding for the Odin Serv... | import os
from setuptools import setup
PACKAGE_VERSION = '0.3'
def version():
def version_file(mode='r'):
return open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'version.txt'), mode)
if os.getenv('TRAVIS'):
with version_file('w') as verfile:
verfile.write('{0}.{1}'... | apache-2.0 | Python |
03a9b89ccb54e5d8a35e2ca0c6ed756df16266c7 | Fix missing comma in setup.py | ooici/coi-services,ooici/coi-services,ooici/coi-services,ooici/coi-services,ooici/coi-services | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
import os
import sys
# Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml)
if sys.platform == 'darwin':
os.environ['C_INCLU... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
import os
import sys
# Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml)
if sys.platform == 'darwin':
os.environ['C_INCLU... | bsd-2-clause | Python |
54f7b7e66c01f381bcf5553c9464aa4b0aa613a4 | Increment version for release | lewismc/podaacpy,Omkar20895/podaacpy,nasa/podaacpy | setup.py | setup.py | # Copyright 2016 California Institute of Technology.
#
# 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 ... | # Copyright 2016 California Institute of Technology.
#
# 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 ... | apache-2.0 | Python |
09ee49bdf69dfa0caa1a3221318baa27abe980f0 | Bump flake8-bugbear from 18.8.0 to 19.3.0 | sloria/ped,sloria/ped | setup.py | setup.py | import re
from setuptools import setup
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock", "pytest-mock", "scripttest==1.3"],
"lint": [
"flake8==3.7.7",
"flake8-bugbear==19.3.0",
"mypy==0.670",
"pre-commit==1.14.4",
],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_RE... | import re
from setuptools import setup
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock", "pytest-mock", "scripttest==1.3"],
"lint": [
"flake8==3.7.7",
"flake8-bugbear==18.8.0",
"mypy==0.670",
"pre-commit==1.14.4",
],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_RE... | mit | Python |
e24c99428bfa2913106c5f9d1aaae277c2390f37 | Add paramiko to setup.py as install requires | Vnet-as/cisco-olt-client | setup.py | setup.py | import setuptools
setuptools.setup(
name="cisco_olt_client",
version="0.1.0",
url="https://github.com/Vnet-as/cisco-olt-client",
author="Michal Kuffa",
author_email="michal.kuffa@gmail.com",
description=(
"Python wrapper for cisco's olt boxes commands executed via ssh"),
long_descri... | import setuptools
setuptools.setup(
name="cisco_olt_client",
version="0.1.0",
url="https://github.com/Vnet-as/cisco-olt-client",
author="Michal Kuffa",
author_email="michal.kuffa@gmail.com",
description="Python wrapper for cisco's olt boxes commands executed via ssh",
long_description=open(... | mit | Python |
850c8e3cf4a4120f7d3550c6096986ca50157e78 | bump version to 2.4.1 | rjeschmi/vsc-base,rjeschmi/vsc-base | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: latin-1 -*-
#
# Copyright 2009-2014 Ghent University
#
# This file is part of vsc-base,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://vscen... | #!/usr/bin/env python
# -*- coding: latin-1 -*-
#
# Copyright 2009-2014 Ghent University
#
# This file is part of vsc-base,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://vscen... | lgpl-2.1 | Python |
1baa0df5f6113bff0f3086c77ca5df6269dae1e3 | Declare the tests in the setup.py allowing to run ``python setup.py test`` | crsmithdev/arrow | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='arrow',
version='0.4.2',
description='Better dates and times for Python',
url='http://crsmithdev.com/arrow',
author='Chris Smith',
author_email="crsmithdev@gmail.com",
license='Apache... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='arrow',
version='0.4.2',
description='Better dates and times for Python',
url='http://crsmithdev.com/arrow',
author='Chris Smith',
author_email="crsmithdev@gmail.com",
license='Apache... | apache-2.0 | Python |
de4d5fc66e59b33b379d8da2944b61153fa084d6 | Fix setup.py deps and links (I think..) | chop-dbhi/serrano,chop-dbhi/serrano,rv816/serrano_night,rv816/serrano_night | setup.py | setup.py | import distribute_setup
distribute_setup.use_setuptools()
from setuptools import setup, find_packages
kwargs = {
# Packages
'packages': find_packages(),
'include_package_data': True,
# Dependencies
'install_requires': [
'avocado>=2.0a', # Hack, to work with the dependency link
'res... | import distribute_setup
distribute_setup.use_setuptools()
from setuptools import setup, find_packages
kwargs = {
# Packages
'packages': find_packages(),
'include_package_data': True,
# Dependencies
'install_requires': [
'avocado2', # Hack, to work with the dependency link
'django-r... | bsd-2-clause | Python |
8318d28586768d3fc6429f44faeb525f62a708cd | update to latest coverage, sphinx, and pre-commit | jab/bidict,jab/bidict | setup.py | setup.py | from io import open
from setuptools import setup
from warnings import warn
def from_file(filename, fallback):
try:
with open(filename, encoding='utf8') as f:
return f.read().strip()
except Exception as e:
warn('Error opening file %r, using fallback %r: %s' % (filename, fallback, e)... | from io import open
from setuptools import setup
from warnings import warn
def from_file(filename, fallback):
try:
with open(filename, encoding='utf8') as f:
return f.read().strip()
except Exception as e:
warn('Error opening file %r, using fallback %r: %s' % (filename, fallback, e)... | mpl-2.0 | Python |
b8fa04a0db8bd889843a378a7b6dc0a61c7d3685 | Bump to 0.3.1.dev0 | breerly/threadloop | setup.py | setup.py | from setuptools import setup, find_packages
install_requires = ['tornado']
# if python < 3, we need futures backport
try:
import concurrent.futures # noqa
except ImportError:
install_requires.append('futures')
setup(
name='threadloop',
version='0.3.1.dev0',
author='Grayson Koonce',
author_em... | from setuptools import setup, find_packages
install_requires = ['tornado']
# if python < 3, we need futures backport
try:
import concurrent.futures # noqa
except ImportError:
install_requires.append('futures')
setup(
name='threadloop',
version='0.3.0',
author='Grayson Koonce',
author_email='... | mit | Python |
701eb24185138df89919a088b0e523330f45cc4c | Bump version to 0.15.0 (#275) | googleapis/gapic-generator-python,googleapis/gapic-generator-python | 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | apache-2.0 | Python |
70738cc295b50c6548f899a971cf1b0aa2575e5c | Remove unused xworkflows dependency | botify-labs/python-simple-workflow,botify-labs/python-simple-workflow | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
root = os.path.abspath(os.path.dirname(__file__))
version = __import__('swf').__version__
with open(os.path.join(root, 'README.rst')) as f:
README = f.read()
setup(
name='simple-workflow',
version=version,
license... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
root = os.path.abspath(os.path.dirname(__file__))
version = __import__('swf').__version__
with open(os.path.join(root, 'README.rst')) as f:
README = f.read()
setup(
name='simple-workflow',
version=version,
license... | mit | Python |
48390320ad0042858b3cc40d98cd527294503070 | Fix License classifier in setup.py | TriplePoint-Software/django_access_logs | setup.py | setup.py | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) 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='django_access_logs',
version='0.1.... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) 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='django_access_logs',
version='0.1.... | apache-2.0 | Python |
5f779d805cb9042e534b6056a9b5b2cba0666e05 | Change wrong dependency name. | michaelkuty/mbot | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import ast
import re
from setuptools import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
'Click>=6.0',
'python-slugify',
'parsedateti... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import ast
import re
from setuptools import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
'Click>=6.0',
'slugify',
'parsedatetime',
... | mit | Python |
9bcf8a3e217cf9de797308636e72d278b513a6e2 | Add Python 3.5 to setup.py | scraperwiki/data-services-helpers | setup.py | setup.py | from distutils.core import setup
setup(name='dshelpers',
version='1.3.0',
description="Provides some helper functions used by the ScraperWiki Data Services team.",
long_description="Provides some helper functions used by the ScraperWiki Data Services team.",
classifiers=["Development Status :: 5... | from distutils.core import setup
setup(name='dshelpers',
version='1.3.0',
description="Provides some helper functions used by the ScraperWiki Data Services team.",
long_description="Provides some helper functions used by the ScraperWiki Data Services team.",
classifiers=["Development Status :: 5... | bsd-2-clause | Python |
d3f8819dc7cc0e145813cea21fc1020d381b3822 | update setup.py in preparation for PyPi release | petergardfjall/garminexport | setup.py | setup.py | """Setup information for the Garmin Connect activity exporter."""
from setuptools import setup, find_packages
from os import path
# needed for Python 2.7 (ensures open() defaults to text mode with universal
# newlines, and accepts an argument to specify the text encoding.
from io import open
here = path.abspath(path.... | #!/usr/bin/env python
"""Setup information for the Garmin Connect activity exporter."""
from setuptools import find_packages
from distutils.core import setup
setup(name="Garmin Connect activity exporter",
version="1.0.0",
description=("A program that downloads all activities for a given Garmin Connect ac... | apache-2.0 | Python |
74443c32a6cb277836a4618f8db2a293ba27d2a7 | fix version declaration for releaser command | bmathieu33/pytest-dbus-notification | setup.py | setup.py | # coding=utf-8
from __future__ import absolute_import
from setuptools import setup
import codecs
def read(filename):
return unicode(codecs.open(filename, encoding='utf-8').read())
long_description = '\n\n'.join([read('README.rst'),
read('CHANGES.rst')])
classifiers=[
'Develo... | # coding=utf-8
from __future__ import absolute_import
from setuptools import setup
import codecs
__VERSION__ = '1.0.0dev'
def read(filename):
return unicode(codecs.open(filename, encoding='utf-8').read())
long_description = '\n\n'.join([read('README.rst'),
read('CHANGES.rst')])
... | mit | Python |
eca5f06d2440105af0d062e0803c08cbfc4bcdd1 | bump version | mila-labs/django-pipeline-compass-rubygem | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
description = """
django-pipeline-compass-rubygem is a Compass compiler for django-pipeline using the original Compass Ruby Gem.
"""
setup(
name='django-pipeline-compass-rubygem',
version='0.1.9',
description=description,
long_descrip... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
description = """
django-pipeline-compass-rubygem is a Compass compiler for django-pipeline using the original Compass Ruby Gem.
"""
setup(
name='django-pipeline-compass-rubygem',
version='0.1.8',
description=description,
long_descrip... | mit | Python |
91682c5db1cb4267e719723a15de7b3f34393f9f | Prepare for twython-django pip release | ryanmcgrath/twython-django,c17r/twython-django,aniversarioperu/twython-django,aniversarioperu/twython-django,c17r/twython-django | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '1.5.1'
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='twython-django',
vers... | #!/usr/bin/python
from setuptools import setup
from setuptools import find_packages
__author__ = 'Ryan McGrath <ryan@venodesigns.net>'
__version__ = '1.5.0'
setup(
name='twython-django',
version=__version__,
install_requires=['twython>=3.0.0', 'django'],
author='Ryan McGrath',
author_email='ryan@... | mit | Python |
b47d44d850857ba2210d075ec626697969a2b529 | Remove unused 'setup.py publish' | YPlan/nexus,YPlan/nexus,YPlan/nexus | setup.py | setup.py | #!/usr/bin/env python
# -*- encoding:utf-8 -*-
import os
import re
from setuptools import find_packages, setup
def get_version(package):
"""
Return package version as listed in `__version__` in `init.py`.
"""
init_py = open(os.path.join(package, '__init__.py')).read()
return re.search("__version_... | #!/usr/bin/env python
# -*- encoding:utf-8 -*-
import os
import re
import sys
from setuptools import find_packages, setup
def get_version(package):
"""
Return package version as listed in `__version__` in `init.py`.
"""
init_py = open(os.path.join(package, '__init__.py')).read()
return re.search(... | apache-2.0 | Python |
653c6e7187520d3ac370334aa0abb0bd3bac9630 | Update for version release | theherk/pinkopy | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
with open('README.md') as f:
readme = f.read()
install_requires = [
'requests>=2.7.0',
'xmltodict>=0.9.2',
]
setup(
name='pinkopy',
version='0.1.3',
description='Python wrapper for Commvault api',
long_descript... | #!/usr/bin/env python
from setuptools import setup, find_packages
import sys
with open('README.md') as f:
readme = f.read()
install_requires = [
'requests>=2.7.0',
'xmltodict>=0.9.2',
]
setup(
name='pinkopy',
version='0.1.2',
description='Python wrapper for Commvault api',
long_descript... | mit | Python |
99347376e132da72c69d3637e331ce6ea69292e0 | Fix setup.py | chrisgilmerproj/brewday,chrisgilmerproj/brewday | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='brew',
version='0.0.1',
author='Chris Gilemr',
author_email='chris.gilmer@gmail.com',
maintainer='Chris Gilmer',
maintainer_email='chris.gilmer@gmail.com',
description='Brewing Tools',
url='https://github.com/chrisgilmerproj/silli... | from setuptools import setup, find_packages
setup(
name='brew',
version='0.0.1',
author='Chris Gilemr',
author_email='chris.gilmer@gmail.com',
maintainer='Chris Gilmer',
maintainer_email='chris.gilmer@gmail.com',
description='Brewing Tools',
url='https://github.com/chrisgilmerproj/silli... | mit | Python |
6397473a65a8c0a50a4e6631127ea26dcb37fc83 | Remove pandoc requirement | dylanaraps/pywal,dylanaraps/pywal,dylanaraps/pywal | setup.py | setup.py | """wal - setup.py"""
import setuptools
try:
import pywal
except ImportError:
print("error: pywal requires Python 3.5 or greater.")
quit(1)
LONG_DESC = open('README.md').read()
VERSION = pywal.__version__
DOWNLOAD = "https://github.com/dylanaraps/pywal/archive/%s.tar.gz" % VERSION
setuptools.setup(
na... | """wal - setup.py"""
import setuptools
try:
import pywal
except ImportError:
print("error: pywal requires Python 3.5 or greater.")
quit(1)
LONG_DESC = open('README.md').read()
VERSION = pywal.__version__
DOWNLOAD = "https://github.com/dylanaraps/pywal/archive/%s.tar.gz" % VERSION
setuptools.setup(
na... | mit | Python |
ff5c4e84b5a9cb02e749e9af118489923636d823 | Introduce "preview" suffix in the version number | oVirt/ovirt-engine-cli,oVirt/ovirt-engine-cli | setup.py | setup.py |
import os
import sys
from distutils.command.build import build
from setuptools import setup, Command
version_info = {
'name': 'ovirt-shell',
'version': '3.6.0.0preview2',
'description': 'A command-line interface to oVirt Virtualization',
'author': 'Michael Pasternak',
'author_email': 'mpastern@r... |
import os
import sys
from distutils.command.build import build
from setuptools import setup, Command
version_info = {
'name': 'ovirt-shell',
'version': '3.6.0.0',
'description': 'A command-line interface to oVirt Virtualization',
'author': 'Michael Pasternak',
'author_email': 'mpastern@redhat.co... | apache-2.0 | Python |
b74cfb48d997559980170c61c124cf1561032b3d | fix setup.py | bedaes/burp-ui,bedaes/burp-ui,bedaes/burp-ui,bedaes/burp-ui | setup.py | setup.py | #!/usr/bin/env python
# coding: utf-8
import os
import os.path
import re
import sys
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'burpui', '__init__.py')) as f:
data = f.read()
name = re.search("__title__ = '(.*)'", data).group(1)
author = re.search("__au... | #!/usr/bin/env python
# coding: utf-8
import os
import os.path
import re
import sys
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'burpui', '__init__.py')) as f:
data = f.read()
name = re.search("__title__ = '(.*)'", data).group(1)
author = re.search("__au... | bsd-3-clause | Python |
63a23fb20db64b78dc004a765ea314c45e518648 | add nose as a test dependacy for tox | JoelBender/mongotree | 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 |
9a73c364c5c6117bf1b247d140aa4da42a3aabcc | fix install | hacklabr/django-discussion,hacklabr/django-discussion,hacklabr/django-discussion | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def get_version(*file_paths):
filename = os.path.join(os.path.dirname(__file__), *file_paths)
version_file = open(filename).read()
ve... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def get_version(*file_paths):
filename = os.path.join(os.path.dirname(__file__), *file_paths)
version_file = open(filename).read()
ve... | agpl-3.0 | Python |
19814a1e4b6a41887ee3ff16544dc432b0066294 | Update setup.py | jackdbd/dash-fda | setup.py | setup.py | from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='dash_fda',
version='0.1.0',
description='A Dash app displaying data from the openFDA elasticsearch API',
long_description=readme,
author='... | from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='dash_fda',
version='0.1.0',
description='Python starting project',
long_description=readme,
author='Name Surname',
author_email='your-... | mit | Python |
386ee577f5699d0ea117a28c897bc0f5a5e7224b | Update setup.py | pyQode/pyqode.qt,pyQode/pyqode.qt | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Setup script for pyqode.core
"""
from setuptools import setup, find_packages
def read_version():
with open("pyqode/qt/__init__.py") as f:
lines = f.read().splitlines()
for l in lines:
if "__version__" in l:
return l.spli... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Setup script for pyqode.core
"""
from setuptools import setup, find_packages
def read_version():
with open("pyqode/qt/__init__.py") as f:
lines = f.read().splitlines()
for l in lines:
if "__version__" in l:
return l.spli... | mit | Python |
ecb98c9316d1d6ea3492cf5593ffe21ee5cb17ed | Bump version number. | aaugustin/django-sequences | setup.py | setup.py | from __future__ import unicode_literals
import codecs
import os.path
import setuptools
root_dir = os.path.abspath(os.path.dirname(__file__))
description = "Generate gap-less sequences of integer values."
with codecs.open(os.path.join(root_dir, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
... | from __future__ import unicode_literals
import codecs
import os.path
import setuptools
root_dir = os.path.abspath(os.path.dirname(__file__))
description = "Generate gap-less sequences of integer values."
with codecs.open(os.path.join(root_dir, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
... | bsd-3-clause | Python |
a6ad6a78eb72d6d39f882fe73e90614c31433abe | increment version, upload to pypi | mir-group/flare,mir-group/flare | setup.py | setup.py | import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as fh:
dependencies = fh.readlines()
setuptools.setup(
name="mir-flare",
packages=setuptools.find_packages(exclude=["tests"]),
version="0.0.4",
author="Materials Intelligence ... | import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as fh:
dependencies = fh.readlines()
setuptools.setup(
name="mir-flare",
packages=setuptools.find_packages(exclude=["tests"]),
version="0.0.3",
author="Materials Intelligence ... | mit | Python |
26d3b8eb1992b19aebe8f0e3eae386e8b95822fb | Switch to distutils, fix install for py3.4 | njvack/scorify | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Command
import os
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
import subprocess
errno =... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
... | mit | Python |
43dd50c6a11c489144d0e1efb263b45e10ba7bff | Fix syntax error in setup.py | systemctl/formencode,systemctl/formencode,formencode/formencode,jvanasco/formencode,jvanasco/formencode,formencode/formencode,genixpro/formencode,jvanasco/formencode,systemctl/formencode,formencode/formencode,genixpro/formencode,genixpro/formencode | setup.py | setup.py | import sys
from setuptools import setup
version = '1.3.0dev'
if not '2.6' <= sys.version < '3.0' and not '3.2' <= sys.version:
raise ImportError('Python version not supported')
tests_require = ['nose', 'pycountry', 'dnspython']
setup(name="FormEncode",
version=version,
#requires_python=]'>=2.3,<3', ... | import sys
from setuptools import setup
version = '1.3.0dev'
if not '2.6' <= sys.version < '3.0' and not '3.2' <= sys.version
raise ImportError('Python version not supported')
tests_require = ['nose', 'pycountry', 'dnspython']
setup(name="FormEncode",
version=version,
#requires_python=]'>=2.3,<3', #... | mit | Python |
602137d59b09be3394925fa25ca67d60e0685397 | Update Tar location | marty-sullivan/pyndfd | setup.py | setup.py | from distutils.core import setup
setup(
name = 'pyndfd',
packages = ['pyndfd'],
version = '0.9',
license = 'MIT License',
description = 'Python routines for easy caching/retrieval of NWS\'s NDFD variables',
author = 'Marty J. Sullivan',
author_email = 'marty.sullivan@cornell.edu',
url = 'https://github... | from distutils.core import setup
setup(
name = 'pyndfd',
packages = ['pyndfd'],
version = '0.9',
license = 'MIT License',
description = 'Python routines for easy caching/retrieval of NWS\'s NDFD variables',
author = 'Marty J. Sullivan',
author_email = 'marty.sullivan@cornell.edu',
url = 'https://github... | mit | Python |
45bc876f22eee139dbe368250c7b1673e45d255d | Add test dirs to setup.py packages | sot/mica,sot/mica | setup.py | setup.py | from setuptools import setup
from mica.version import version
try:
from testr.setup_helper import cmdclass
except ImportError:
cmdclass = {}
license = """\
New BSD/3-clause BSD License
Copyright (c) 2012 Smithsonian Astrophysical Observatory
All rights reserved."""
try:
from testr.setup_helper import cm... | from setuptools import setup
from mica.version import version
try:
from testr.setup_helper import cmdclass
except ImportError:
cmdclass = {}
license = """\
New BSD/3-clause BSD License
Copyright (c) 2012 Smithsonian Astrophysical Observatory
All rights reserved."""
try:
from testr.setup_helper import cm... | bsd-3-clause | Python |
9dd4a069210a653631c96f86f6d628e9dd68d7cf | update project URLs in setup.py | timeyyy/esky,ccpgames/esky,datalytica/esky,kinnarr/esky,Darkman/esky | setup.py | setup.py |
import sys
setup_kwds = {}
if sys.version_info > (3,):
from setuptools import setup
setup_kwds["test_suite"] = "esky.tests.test_esky"
setup_kwds["use_2to3"] = True
else:
from distutils.core import setup
# This awfulness is all in aid of grabbing the version number out
# of the source code, rather th... |
import sys
setup_kwds = {}
if sys.version_info > (3,):
from setuptools import setup
setup_kwds["test_suite"] = "esky.tests.test_esky"
setup_kwds["use_2to3"] = True
else:
from distutils.core import setup
# This awfulness is all in aid of grabbing the version number out
# of the source code, rather th... | bsd-3-clause | Python |
f9dee6ba150c5f171e53755cce068b25eeaf3998 | add console script entrypoint | walkacross/stockgo | setup.py | setup.py | from setuptools import setup
setup(name='stockgo',
version='0.1',
description='The stock go in the world',
url='https://github.com/walkacross/stockgo',
author='alen yu',
author_email='yujiangallen@126.com',
license='MIT',
packages=['stockgo'],
entry_points = {
... | from setuptools import setup
setup(name='stockgo',
version='0.1',
description='The stock go in the world',
url='https://github.com/walkacross/stockgo',
author='alen yu',
author_email='yujiangallen@126.com',
license='MIT',
packages=['stockgo'],
install_requires=[
... | mit | Python |
856669934647341e6e7b1c053af0e1ecbe035730 | Use double-quotes. | sujaymansingh/dudebot | setup.py | setup.py | from setuptools import setup
REQUIREMENTS = [
"jabberbot==0.15",
"xmpppy==0.5.0rc1",
"feedparser==5.1.3",
]
if __name__ == "__main__":
setup(
name="dudebot",
version="0.0.4",
author="Sujay Mansingh",
author_email="sujay.mansingh@gmail.com",
packages=["dudebot", ... | from setuptools import setup
REQUIREMENTS = [
'jabberbot==0.15',
'xmpppy==0.5.0rc1',
'feedparser==5.1.3',
]
if __name__ == "__main__":
setup(
name='dudebot',
version='0.0.4',
author='Sujay Mansingh',
author_email='sujay.mansingh@gmail.com',
packages=['dudebot', ... | bsd-2-clause | Python |
359d845266a922c489d7ae1c0a636c7710d85e22 | Add url parameter in setup.py. | google/tf-quant-finance,google/tf-quant-finance | setup.py | setup.py | # Copyright 2019 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2019 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | apache-2.0 | Python |
d5c92dd3da328e3cd0f83e7b50517d7446dc556c | Fix division by zero the in ram view | supertuxkart/stk-stats,leyyin/stk-stats,leyyin/stk-stats,supertuxkart/stk-stats | userreport/views/ram.py | userreport/views/ram.py | from userreport.models import UserReport
from django.http import HttpResponse
from django.views.decorators.cache import cache_page
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
from matplotlib.figure import Figure
@cache_page(60 * 120)
def ReportRam(request):
reports = UserReport.o... | from userreport.models import UserReport
from django.http import HttpResponse
from django.views.decorators.cache import cache_page
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
from matplotlib.figure import Figure
@cache_page(60 * 120)
def ReportRam(request):
reports = UserReport.o... | mit | Python |
b676f838b0f9388cab464120c2a95c449de32733 | remove mvs keywords from setup | aacanakin/glim | setup.py | setup.py | from setuptools import setup
import glim
import os
from os.path import exists
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
try:
from setuptools import setup, find_packages
except ImportError:
from dis... | from setuptools import setup
import glim
import os
from os.path import exists
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
try:
from setuptools import setup, find_packages
except ImportError:
from dis... | mit | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.