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 |
|---|---|---|---|---|---|---|---|---|
66a37bf69797ca8135d05fcf6bd8d0957a6105af | Bump version | lambdalisue/django-permission | setup.py | setup.py | # vim: set fileencoding=utf-8 :
from setuptools import setup, find_packages
version = '0.3.1'
def read(filename):
import os.path
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name="django-permission",
version=version,
description = "A enhanced permission system whic... | # vim: set fileencoding=utf-8 :
from setuptools import setup, find_packages
version = '0.3.0'
def read(filename):
import os.path
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name="django-permission",
version=version,
description = "A enhanced permission system whic... | mit | Python |
e09f3cc51c54d4940f9f75b2256db3e862e23a6e | Add configparser dependency | project-ncl/pnc-cli,project-ncl/pnc-cli,project-ncl/pnc-cli | setup.py | setup.py | from setuptools import setup
from setuptools import find_packages
import os
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
setup(
name='pnc-cli',
packages=find_packages(exclude=['test*']),
version='1.3.0',
description='CLI for the Project Newcastle build system',
author =... | from setuptools import setup
from setuptools import find_packages
import os
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
setup(
name='pnc-cli',
packages=find_packages(exclude=['test*']),
version='1.3.0',
description='CLI for the Project Newcastle build system',
author =... | apache-2.0 | Python |
b555bba2f0b2c275d5d0cb3b55a16b34d2d69047 | Add dependencies for `dev` and `postgres` extras. | ic-labs/django-icekit,ic-labs/icekit-events,ic-labs/django-icekit,ic-labs/icekit-events,ic-labs/icekit-events,ic-labs/django-icekit,ic-labs/django-icekit | setup.py | setup.py | import setuptools
from eventkit import __version__
setuptools.setup(
name='eventkit',
version=__version__,
packages=setuptools.find_packages(),
install_requires=[
'coverage',
'croniter',
'django-dynamic-fixture',
'django-nose',
'django-polymorphic',
'dja... | import setuptools
from eventkit import __version__
setuptools.setup(
name='eventkit',
version=__version__,
packages=setuptools.find_packages(),
install_requires=[
'coverage',
'croniter',
'django-dynamic-fixture',
'django-nose',
'django-polymorphic',
'dja... | mit | Python |
68199a7afcbf66660aec09bab5b0a2b995937dd6 | Bump version. | EmilStenstrom/conllu | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
VERSION = '2.2'
setup(
name='conllu',
packages=["conllu"],
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary',
long_description=open(os.path.join(os.path.dirname(__file__), ... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
VERSION = '2.1.1'
setup(
name='conllu',
packages=["conllu"],
version=VERSION,
description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary',
long_description=open(os.path.join(os.path.dirname(__file__)... | mit | Python |
5a7368eff98c91c0ac5123e260733e43e2068e3f | Update setup.py | transmogrifier/pidigits | setup.py | setup.py | # -*- coding: utf-8 -*-
# Copyright 2015 Sameer Suhas Marathe
#
# 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... | # -*- coding: utf-8 -*-
# Copyright 2015 Sameer Suhas Marathe
#
# 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... | apache-2.0 | Python |
73edd76e19f9c19077ab7fd945967a795ba96ec5 | bump version to 2.2.6 | 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 |
b60040f47607bd0db4b01ca6ceb87309d49ccb8e | increment version number to 0.0.3 and updated package description string slightly | benlaken/sql2gee | setup.py | setup.py |
from setuptools import setup, find_packages
setup(name='sql2gee',
version='0.0.3',
description='Library to convert SQL-like queries into Google Earth Engine syntax, and return the responses',
author='Raul Requero',
author_email='raul.requero@vizzuality.com',
license='MIT',
packages... |
from setuptools import setup, find_packages
setup(name='sql2gee',
version='0.0.1',
description='Library to convert SQL queries into Google Earth Engine syntax',
author='Raul Requero',
author_email='raul.requero@vizzuality.com',
license='MIT',
packages=find_packages(exclude=('tests'... | mit | Python |
b6456131be65fb0e82c40c923a534fd53771a721 | remove Py3 from classifiers | randlet/django-listable,randlet/django-listable,randlet/django-listable | setup.py | setup.py | # -*- coding: utf-8 -*-
#!/usr/bin/env python
import os
import sys
import listable
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = listable.__version__
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
print("You probably want t... | # -*- coding: utf-8 -*-
#!/usr/bin/env python
import os
import sys
import listable
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = listable.__version__
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
print("You probably want t... | bsd-3-clause | Python |
5b5a227fdee4482b5f4fd2aac5a532c46e4c95f9 | add Travis CI and Codecov to project_urls | xflr6/fileconfig | setup.py | setup.py | # setup.py
import io
from setuptools import setup, find_packages
setup(
name='fileconfig',
version='0.5.11.dev0',
author='Sebastian Bank',
author_email='sebastian.bank@uni-leipzig.de',
description='Config file sections as objects',
keywords='configuration ini file inheritance aliasing',
li... | # setup.py
import io
from setuptools import setup, find_packages
setup(
name='fileconfig',
version='0.5.11.dev0',
author='Sebastian Bank',
author_email='sebastian.bank@uni-leipzig.de',
description='Config file sections as objects',
keywords='configuration ini file inheritance aliasing',
li... | mit | Python |
d40532fcdae083e7d2f258c2e8c1eb7b9a4ae765 | bump vers | LBenzahia/cltk,kylepjohnson/cltk,marpozzi/cltk,eamonnbell/cltk,mbevila/cltk,coderbhupendra/cltk,diyclassics/cltk,TylerKirby/cltk,LBenzahia/cltk,D-K-E/cltk,TylerKirby/cltk,cltk/cltk | setup.py | setup.py | """Config for PyPI
TODO: Confirm whether necessary: 'astroid', 'gnureadline', 'readline',
"""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Development Status :: 1 - Planning',
'Envi... | """Config for PyPI
TODO: Confirm whether necessary: 'astroid', 'gnureadline', 'readline',
"""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Development Status :: 1 - Planning',
'Envi... | mit | Python |
e1d22cd6fe9c6024c6d66a29b0385ca4577ff531 | Prepare openprocurement.auctions.dgf 1.0.14-sale | prozorro-sale/openprocurement.auctions.dgf | setup.py | setup.py | from setuptools import setup, find_packages
import os
version = '1.0.14-sale'
entry_points = {
'openprocurement.auctions.core.plugins': [
'auctions.dgf = openprocurement.auctions.dgf:includeme'
]
}
requires = [
'setuptools',
'openprocurement.api',
'openprocurement.auctions.core',
'ope... | from setuptools import setup, find_packages
import os
version = '1.0.13-sale'
entry_points = {
'openprocurement.auctions.core.plugins': [
'auctions.dgf = openprocurement.auctions.dgf:includeme'
]
}
requires = [
'setuptools',
'openprocurement.api',
'openprocurement.auctions.core',
'ope... | apache-2.0 | Python |
80a7bbc915fca65b0f4999f36c64a1c174bc0aca | bump version | ioO/billjobs | 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-billjobs',
version='0.8.2',... | 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-billjobs',
version='0.8.1',... | mit | Python |
e4bf7d3f5d093a71562799af5e15081b8a0c812c | Add explicit versions for dependencies | clearcare/twilio-python,Stackdriver/twilio-python,Mobii/twilio-python,supermanheng21/twilio-python,cinemapub/bright-response,cinemapub/bright-response,bcorwin/twilio-python,tysonholub/twilio-python,Stackdriver/twilio-python,twilio/twilio-python,Rosy-S/twilio-python,johannakate/twilio-python,YeelerG/twilio-python,RobSpe... | setup.py | setup.py | from twilio import __version__
from setuptools import setup, find_packages
setup(
name = "twilio",
version = __version__,
description = "Twilio API client and TwiML generator",
author = "Twilio",
author_email = "help@twilio.com",
url = "http://github.com/twilio/twilio-python/",
keywords = [... | from twilio import __version__
from setuptools import setup, find_packages
setup(
name = "twilio",
version = __version__,
description = "Twilio API client and TwiML generator",
author = "Twilio",
author_email = "help@twilio.com",
url = "http://github.com/twilio/twilio-python/",
keywords = [... | mit | Python |
b545951f355f7cddcba4672f419e5d7ddebd8ec9 | Return find_packages | SambaDemon/python_vantiv | setup.py | setup.py | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md')) as f:
README = f.read()
setup(name='vantiv',
version='0.1.0',
description='vantiv implementations with samples',
long_description=README + '\n\n... | import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md')) as f:
README = f.read()
setup(name='vantiv',
version='0.1.0',
description='vantiv implementations with samples',
long_description=README + '\n\n',
classi... | mit | Python |
d7aad7b6bc975d72e77756acd947ed6e01c1fd7a | fix README.md in setup.py | stxnext/intranet-open,pytlakp/intranetref,stxnext/intranet-open,stxnext/intranet-open,pytlakp/intranetref | setup.py | setup.py | from setuptools import setup, find_packages
import os
name = "intranet3"
version = "0.8.1"
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
dependency_links = [
'http://github.com/krotkiewicz/pyramid_autoroute/tarball/master#egg=pyramid_autoroute',
]
setup(
name=n... | from setuptools import setup, find_packages
import os
name = "intranet3"
version = "0.8.1"
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
dependency_links = [
'http://github.com/krotkiewicz/pyramid_autoroute/tarball/master#egg=pyramid_autoroute',
]
setup(
name=n... | mit | Python |
2658ed50b73590676d2d22ab11ef5857341f9ce8 | remove print | chromy/cython_wrapper_example,chromy/cython_wrapper_example | setup.py | setup.py | import os
import sys
import sysconfig
platform = sysconfig.get_platform()
from distutils.core import setup, Extension
# Adapted from http://stackoverflow.com/questions/11010151
class lazy_list(list):
def __init__(self, callback):
self._list = None
self.callback = callback
@property
def lis... | import os
import sys
import sysconfig
platform = sysconfig.get_platform()
from distutils.core import setup, Extension
# Adapted from http://stackoverflow.com/questions/11010151
class lazy_list(list):
def __init__(self, callback):
self._list = None
self.callback = callback
@property
def lis... | mit | Python |
4663aa9a5262348f748fcd1a55f60e4b69fdb052 | Add `asql-migrate.py` to scripts in setup.py. | SunDwarf/asyncqlio | setup.py | setup.py | import re
import sys
from distutils.core import setup
if sys.version_info[0:2] < (3, 5):
raise RuntimeError("This package requires Python 3.5+.")
with open("asyncqlio/__init__.py") as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
setup(
name='asyncqlio... | import re
import sys
from distutils.core import setup
if sys.version_info[0:2] < (3, 5):
raise RuntimeError("This package requires Python 3.5+.")
with open("asyncqlio/__init__.py") as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
setup(
name='asyncqlio... | mit | Python |
4e765b265f7e91bc9b48dffbadf07f63ac004af8 | fix reading description in setup.py | lbryio/lbry,lbryio/lbry,lbryio/lbry,zestyr/lbry,zestyr/lbry,zestyr/lbry | setup.py | setup.py | #!/usr/bin/env python
import os
from lbrynet import __version__
from setuptools import setup, find_packages
# TODO: find a way to keep this in sync with requirements.txt
#
# Note though that this list is intentionally less restrictive than
# requirements.txt. This is only the libraries that are direct
# dependencies ... | #!/usr/bin/env python
import os
from lbrynet import __version__
from setuptools import setup, find_packages
# TODO: find a way to keep this in sync with requirements.txt
#
# Note though that this list is intentionally less restrictive than
# requirements.txt. This is only the libraries that are direct
# dependencies ... | mit | Python |
981d95c99c7c990405d5aebf5c7ef4343281839d | Bump version to 0.16.0 | miLibris/flask-rest-jsonapi | setup.py | setup.py | from setuptools import setup, find_packages
__version__ = '0.16.0'
setup(
name="Flask-REST-JSONAPI",
version=__version__,
description='Flask extension to create REST web api according to JSONAPI 1.0 specification with Flask, Marshmallow \
and data provider of your choice (SQLAlchemy, Mo... | from setuptools import setup, find_packages
__version__ = '0.15.0'
setup(
name="Flask-REST-JSONAPI",
version=__version__,
description='Flask extension to create REST web api according to JSONAPI 1.0 specification with Flask, Marshmallow \
and data provider of your choice (SQLAlchemy, Mo... | mit | Python |
a2150cb84ac53593fbb063d26894d5967ab81c1d | bump the version number | michiya/django-pyodbc-azure | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
CLASSIFIERS=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Framework :: Django',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming L... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
CLASSIFIERS=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Framework :: Django',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming L... | bsd-3-clause | Python |
5bd52d85b413ef7dd8c13ffb6b0d06bdb6169b40 | Use setuptools.find_packages() in setup.py | AASHE/django-bulletin,AASHE/django-bulletin,AASHE/django-bulletin | setup.py | setup.py | #!/usr/bin/env python
from setuptools import find_packages, setup
import os
# Utility function to read README file
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-bulletin',
version='3.4.9',
description="A simple newsletter application.",
a... | #!/usr/bin/env python
from setuptools import setup
import os
# Utility function to read README file
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-bulletin',
version='3.4.8',
description="A simple newsletter application.",
author='Bob Erb... | mit | Python |
5c216b3901db59e4d34bc3341c3ca54ad7dbc2f0 | Fix email address | bbc2/shuffled | setup.py | setup.py | from setuptools import setup
setup(
name='shuffled',
packages=['shuffled'],
package_dir={'': 'src'},
version='0.2',
description='Iterate randomly over large integer ranges',
long_description=open('README.md', 'r').read(),
long_description_content_type='text/markdown',
author='Bertrand B... | from setuptools import setup
setup(
name='shuffled',
packages=['shuffled'],
package_dir={'': 'src'},
version='0.2',
description='Iterate randomly over large integer ranges',
long_description=open('README.md', 'r').read(),
long_description_content_type='text/markdown',
author='Bertrand B... | mit | Python |
af7cb2796ba2ed6b6c44e5d09870add9869f9802 | Bump version for deploy to PyPi (#25) | dataxu/github-pr | setup.py | setup.py | """
(c) Copyright 2015. DataXu, Inc. All Rights Reserved.
github-pr setup
"""
from setuptools import setup
setup(
name='github-pr',
author='DataXu',
author_email='mferrante@dataxu.com',
description='Pull Request utility script',
license='(c) Copyright 2015. DataXu, Inc. All Rights Reserved.',
... | """
(c) Copyright 2015. DataXu, Inc. All Rights Reserved.
github-pr setup
"""
from setuptools import setup
setup(
name='github-pr',
author='DataXu',
author_email='mferrante@dataxu.com',
description='Pull Request utility script',
license='(c) Copyright 2015. DataXu, Inc. All Rights Reserved.',
... | bsd-3-clause | Python |
fce9da73cacb135ae24799af5f3ba4738672baa4 | Update cffi minimum version | caseyc37/pygame_cffi,CTPUG/pygame_cffi,CTPUG/pygame_cffi,caseyc37/pygame_cffi,caseyc37/pygame_cffi,CTPUG/pygame_cffi | setup.py | setup.py | import sys
from setuptools import setup
cffi_modules = [
'cffi_builders/jpg_c_build.py:ffi',
'cffi_builders/png_c_build.py:ffi',
'cffi_builders/sdl_c_build.py:ffi',
'cffi_builders/sdl_keys_c_build.py:ffi',
]
if sys.platform.startswith("darwin"):
# If we're on Mac OS X, we need extra stuff.
... | import sys
from setuptools import setup
cffi_modules = [
'cffi_builders/jpg_c_build.py:ffi',
'cffi_builders/png_c_build.py:ffi',
'cffi_builders/sdl_c_build.py:ffi',
'cffi_builders/sdl_keys_c_build.py:ffi',
]
if sys.platform.startswith("darwin"):
# If we're on Mac OS X, we need extra stuff.
... | lgpl-2.1 | Python |
622dee6751961f6522e2133f3e05c18d2d43d0ed | Add CHANGELOG.txt to long description in setup.py | bgmerrell/desmod,SanDisk-Open-Source/desmod | setup.py | setup.py | # encoding: utf-8
from setuptools import setup
setup(
name='desmod',
author='Peter Grayson',
author_email='jpgrayson@gmail.com',
description='Discrete Event Simulation Modeling using SimPy',
long_description='\n\n'.join(
open(f, 'rb').read().decode('utf-8')
for f in ['README.rst', ... | # encoding: utf-8
from setuptools import setup
setup(
name='desmod',
author='Peter Grayson',
author_email='jpgrayson@gmail.com',
description='Discrete Event Simulation Modeling using SimPy',
long_description='\n\n'.join(
open(f, 'rb').read().decode('utf-8')
for f in ['README.rst', ... | mit | Python |
15f26af57ea22da0e1d6e28f080325a3bef86901 | update version | chfw/pyexcel-io,fuhrysteve/pyexcel-io,fuhrysteve/pyexcel-io,chfw/pyexcel-io | setup.py | setup.py | try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import sys
with open("README.rst", 'r') as readme:
README_txt = readme.read()
dependencies = []
if sys.version_info[0] == 2 and sys... | try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import sys
with open("README.rst", 'r') as readme:
README_txt = readme.read()
dependencies = []
if sys.version_info[0] == 2 and sys... | bsd-3-clause | Python |
65f5c00af6f44b1fab4bfa56bea37f7fcffe1f56 | Revert "Revert "Update setup.py"" | choderalab/perses,choderalab/perses | setup.py | setup.py | # -*- coding: utf-8 -*-
"""Perses: Tools for expanded-ensemble simulations with OpenMM
"""
from __future__ import print_function, absolute_import
DOCLINES = __doc__.split("\n")
import os
import sys
import glob
import traceback
import numpy as np
from os.path import join as pjoin
from os.path import relpath
from setu... | # -*- coding: utf-8 -*-
"""Perses: Tools for expanded-ensemble simulations with OpenMM
"""
from __future__ import print_function, absolute_import
DOCLINES = __doc__.split("\n")
import os
import sys
import glob
import traceback
import numpy as np
from os.path import join as pjoin
from os.path import relpath
from setu... | mit | Python |
878bd13d458cf04b101d1f5404ac3c0d6a4fe909 | change author and author email in setup.py | buchuki/pyjaco,buchuki/pyjaco,buchuki/pyjaco,chrivers/pyjaco,chrivers/pyjaco,chrivers/pyjaco | setup.py | setup.py | from distutils.core import setup
try:
from setuptools import setup
except:
pass
setup(
name = "pyjaco",
version = "1.0.0",
author = "Pyjaco development team",
author_email = "developer@pyjaco.org",
description = ("Python to JavaScript translator"),
url = "http://pyjaco.org",
keywords = "p... | from distutils.core import setup
try:
from setuptools import setup
except:
pass
setup(
name = "pyjaco",
version = "1.0.0",
author = "Mateusz Paprocki",
author_email = "mattpap@gmail.com",
description = ("Python to JavaScript translator"),
url = "http://pyjaco.org",
keywords = "python java... | mit | Python |
3cbc6bdd5bcc480d105ce53bffd5b350b7dc8179 | Use README.rst for long description | arafsheikh/clipboard-memo | setup.py | setup.py | from setuptools import setup
import os
#Function to read README
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='clipboard_memo',
version='0.1',
description='A command-line clipboard manager',
long_description=read('README.rst'),
url='http://gith... | from setuptools import setup
import os
#Function to read README
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='clipboard_memo',
version='0.1',
description='A command-line clipboard manager',
long_description=read('README.md'),
url='http://githu... | mit | Python |
53ba38b4c4431c44f3a518c4bfb6ca97f784c5cc | Make setup.py executable. | miracle2k/django-tables,PolicyStat/django-tables,isolationism/mongoengine-tables | setup.py | setup.py | #!/usr/bin/env python
import os
from distutils.core import setup
# Figure out the version; this could be done by importing the
# module, though that requires Django to be already installed,
# which may not be the case when processing a pip requirements
# file, for example.
import re
here = os.path.dirname(os.path.abs... | import os
from distutils.core import setup
# Figure out the version; this could be done by importing the
# module, though that requires Django to be already installed,
# which may not be the case when processing a pip requirements
# file, for example.
import re
here = os.path.dirname(os.path.abspath(__file__))
versio... | bsd-2-clause | Python |
d4b4bf5854f1f896949f99a33068d5ea29e86699 | add python 3.5 version classifier | rollbar/pyrollbar,Affirm/pyrollbar | setup.py | setup.py | import re
import os.path
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
README_PATH = os.path.join(HERE, 'README.md')
try:
with open(README_PATH) as fd:
README = fd.read()
except IOError:
README = ''
INIT_PATH = os.path.join(HERE, 'rollbar/__init__.py')
... | import re
import os.path
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
README_PATH = os.path.join(HERE, 'README.md')
try:
with open(README_PATH) as fd:
README = fd.read()
except IOError:
README = ''
INIT_PATH = os.path.join(HERE, 'rollbar/__init__.py')
... | mit | Python |
9a8ce31b27064859d245b4d72a79317300691885 | use http instead of git for vimper-lair | lukaszb/vimper | vimper/config.py | vimper/config.py | from __future__ import unicode_literals
from .utils import abspath
from .compat import ConfigParser
import io
import os
VIMPER_CONFIG = os.path.expanduser('~/.vimperconfig')
DEFAULT_CONFIG = '''
[lair]
url = https://github.com/lukaszb/vimper-lair.git
path = ~/.vimper
'''
class Config(object):
default_config = ... | from __future__ import unicode_literals
from .utils import abspath
from .compat import ConfigParser
import io
import os
VIMPER_CONFIG = os.path.expanduser('~/.vimperconfig')
DEFAULT_CONFIG = '''
[lair]
url = git@github.com:lukaszb/vimper-lair.git
path = ~/.vimper
'''
class Config(object):
default_config = DEFA... | mit | Python |
a7fbb4da7639687799df69a8667d7e48c0f255a8 | bump version number and update company info | rspeer/python-ftfy | setup.py | setup.py | from setuptools import setup
setup(
name="ftfy",
version='3.0.3',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='dev@lumino.so',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after t... | from setuptools import setup
setup(
name="ftfy",
version='3.0.2',
maintainer='Luminoso, LLC',
maintainer_email='dev@lumino.so',
license="MIT",
url='http://github.com/LuminosoInsight/python-ftfy',
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
... | mit | Python |
b2f355ce96e23f237575c78f84c9d2c7e3882428 | Reduce chunk size from 64KB to 8192 bytes | clchiou/garage,clchiou/garage,clchiou/garage,clchiou/garage | py/g1/webs/g1/webs/handlers/etags.py | py/g1/webs/g1/webs/handlers/etags.py | __all__ = [
'compute_etag',
'compute_etag_from_file',
'maybe_raise_304',
]
import hashlib
import logging
import re
from .. import consts
from .. import wsgi_apps
LOG = logging.getLogger(__name__)
_CHUNK_SIZE = 8192
def compute_etag(content):
hasher = hashlib.md5()
hasher.update(content)
re... | __all__ = [
'compute_etag',
'compute_etag_from_file',
'maybe_raise_304',
]
import hashlib
import logging
import re
from .. import consts
from .. import wsgi_apps
LOG = logging.getLogger(__name__)
_CHUNK_SIZE = 65536 # 64 KB
def compute_etag(content):
hasher = hashlib.md5()
hasher.update(conte... | mit | Python |
8686ac7d4d46dc402251e68fd940b3f11336f160 | add missing version bump v0.3.2 | treethought/flask-assistant | setup.py | setup.py | """
Flask-Assistant
-------------
Framework for Building Virtual Assistants with API.AI
"""
from setuptools import setup
with open("./README.rst", "r") as f:
long_description = f.read()
setup(
name="Flask-Assistant",
version="0.3.2",
url="https://github.com/treethought/flask-assistant",
license="... | """
Flask-Assistant
-------------
Framework for Building Virtual Assistants with API.AI
"""
from setuptools import setup
with open("./README.rst", "r") as f:
long_description = f.read()
setup(
name="Flask-Assistant",
version="0.3.1",
url="https://github.com/treethought/flask-assistant",
license="... | apache-2.0 | Python |
fb004bfe29cd79395985da22d6fe83ffe99a2ffa | make sanitize a function | nschloe/voropy | voropy/reader.py | voropy/reader.py | # -*- coding: utf-8 -*-
#
'''
Module for reading unstructured grids (and related data) from various file
formats.
.. moduleauthor:: Nico Schlömer <nico.schloemer@gmail.com>
'''
import meshio
import numpy
import voropy
__all__ = ['read']
def _sanitize(points, cells):
uvertices, uidx = numpy.unique(cells, return_... | # -*- coding: utf-8 -*-
#
'''
Module for reading unstructured grids (and related data) from various file
formats.
.. moduleauthor:: Nico Schlömer <nico.schloemer@gmail.com>
'''
import meshio
import numpy
import voropy
__all__ = ['read']
def read(filename, flat_cell_correction=None):
'''Reads an unstructured mes... | mit | Python |
8025926c7d20d431c2ea966531e2fce67303fdb5 | Update dependency in setup.py | lord63/tldr.py | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import tldr
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
with open('README.md') as f:
long_description = f.read()
setup(
name='tldr.py',
version=tldr.... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import tldr
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
with open('README.md') as f:
long_description = f.read()
setup(
name='tldr.py',
version=tldr.... | mit | Python |
b52a5c482a31028995dd2386f799c94777675c3c | Update mailer.py | thingless/torweather | mailer.py | mailer.py | import os
import requests
import logging
from tornado import template
import verifier
logger = logging.getLogger(__name__)
DOMAIN_NAME = 'torweather.org'
API_KEY = os.environ.get('MAILGUN_KEY')
EMAIL_DOWN_SUBJECT = '[Tor Weather] Node Down!'
EMAIL_DOWN_BODY = '''
It appears that the Tor node {{nickname}} (fingerprin... | import os
import requests
import logging
from tornado import template
import verifier
logger = logging.getLogger(__name__)
DOMAIN_NAME = 'torweather.org'
API_KEY = os.environ.get('MAILGUN_KEY')
EMAIL_DOWN_SUBJECT = '[Tor Weather] Node Down!'
EMAIL_DOWN_BODY = '''
It appears that the Tor node {{nickname}} (fingerprin... | mit | Python |
a629ebd148c6a7f80c006448734e2bdb9a9ca9cf | use itertools.itemgetter in place of toolz.get | cpcloud/blaze,aterrel/blaze,dwillmer/blaze,cpcloud/blaze,ContinuumIO/blaze,ChinaQuants/blaze,xlhtc007/blaze,alexmojaki/blaze,maxalbert/blaze,scls19fr/blaze,caseyclements/blaze,mrocklin/blaze,ContinuumIO/blaze,maxalbert/blaze,caseyclements/blaze,LiaoPan/blaze,dwillmer/blaze,jcrist/blaze,xlhtc007/blaze,cowlicks/blaze,Chi... | blaze/compute/python.py | blaze/compute/python.py |
from blaze.objects.table import *
from multipledispatch import dispatch
import itertools
from collections import Iterator
base = (int, float, str, bool)
seq = (tuple, list, Iterator)
@dispatch(Projection, seq)
def compute(t, l):
indices = [t.table.columns.index(col) for col in t.columns]
get = operator.item... |
from blaze.objects.table import *
from multipledispatch import dispatch
from toolz.curried import *
import itertools
from collections import Iterator
base = (int, float, str, bool)
seq = (tuple, list, Iterator)
@dispatch(Projection, seq)
def compute(t, l):
indices = [t.table.columns.index(col) for col in t.colu... | bsd-3-clause | Python |
4754c220e79aba7fc4c1ab67a1e834cc306d4493 | Remove Django REST Framework from dependencies | danxshap/django-rest-surveys | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wininst upload -r pypi')
sys.exit()
with open('README.rst') as f:
readme = f.read()
with open('LI... | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wininst upload -r pypi')
sys.exit()
with open('README.rst') as f:
readme = f.read()
with open('LI... | mit | Python |
eb46db1606b7316ee333a8cd3359cba9770a81fd | include json file in sdist upload | objectified/vdist,objectified/vdist | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='vdist',
version='0.1',
description='Create OS packages from Python projects using Docker containers',
long_description='Create OS packages from Python projects using Docker containers',
author='L. Brouwer',
author_email='objectified@gmail... | from setuptools import setup, find_packages
setup(
name='vdist',
version='0.1',
description='Create OS packages from Python projects using Docker containers',
long_description='Create OS packages from Python projects using Docker containers',
author='L. Brouwer',
author_email='objectified@gmail... | mit | Python |
a7257d0680a23fbeb479fd2a48fa888590217329 | Fix email | tk0miya/flake8-coding | setup.py | setup.py | # -*- coding: utf-8 -*-
import re
from setuptools import setup
def get_version(filename):
"""
Return package version as listed in `__version__` in `filename`.
"""
init_py = open(filename).read()
return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
version = get_version('flake... | # -*- coding: utf-8 -*-
import re
from setuptools import setup
def get_version(filename):
"""
Return package version as listed in `__version__` in `filename`.
"""
init_py = open(filename).read()
return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
version = get_version('flake... | apache-2.0 | Python |
e258f22a87074332def6afbe5eaf7dcf1fb1431a | Fix typos | CybOXProject/python-cybox | cybox/common/environment_variable.py | cybox/common/environment_variable.py | # Copyright (c) 2015, The MITRE Corporation. All rights reserved.
# See LICENSE.txt for complete terms.
from mixbox import entities
from mixbox import fields
import cybox.bindings.cybox_common as common_binding
from cybox.common import String
class EnvironmentVariable(entities.Entity):
_namespace = 'http://cybo... | # Copyright (c) 2015, The MITRE Corporation. All rights reserved.
# See LICENSE.txt for complete terms.
from mixbox import entities
from mixbox import fields
import cybox.bindings.cybox_common as common_binding
from cybox.common import String
class EnvironmentVariable(entities.Entity):
_namespace = 'http://cybo... | bsd-3-clause | Python |
1cdc3f17934d5d2b7b690fdde77c5fb680f14b73 | Add rdflib to install_requires | ecohealthalliance/EpiTator | setup.py | setup.py | import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open(os.path.join(os.path.dirname(__file__), 'annotator', 'version.py')) as f:
exec(f.read())
setup(
name='annie',
version=__version__,
packages=['annotator', ],
install_requires=['lazy', ... | import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open(os.path.join(os.path.dirname(__file__), 'annotator', 'version.py')) as f:
exec(f.read())
setup(
name='annie',
version=__version__,
packages=['annotator', ],
install_requires=['lazy', 'nltk', '... | apache-2.0 | Python |
893bd3e70bab4cf38ac9630a2f39c1900e9da566 | fix boobank | Konubinix/weboob,frankrousseau/weboob,franek/weboob,Konubinix/weboob,laurent-george/weboob,Boussadia/weboob,yannrouillard/weboob,eirmag/weboob,laurent-george/weboob,Boussadia/weboob,sputnick-dev/weboob,yannrouillard/weboob,franek/weboob,RouxRC/weboob,nojhan/weboob-devel,nojhan/weboob-devel,RouxRC/weboob,willprice/weboo... | weboob/capabilities/bank.py | weboob/capabilities/bank.py | # -*- coding: utf-8 -*-
# Copyright(C) 2010 Romain Bignon
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will b... | # -*- coding: utf-8 -*-
# Copyright(C) 2010 Romain Bignon
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will b... | agpl-3.0 | Python |
28e912ad57e3bc8bef8936315204dbb37cd94a58 | Update djangosaml2 to latest version | TERENA/met,biancini/met,biancini/met,TERENA/met,GEANT/met,GEANT/met,biancini/met,TERENA/met,biancini/met,GEANT/met,TERENA/met,GEANT/met | setup.py | setup.py | # Copyright 2012 Terena. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the foll... | # Copyright 2012 Terena. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the foll... | bsd-2-clause | Python |
be0a6fc9015e621837594ca52663e6f73ae29030 | add email settings | gatita/django-imager,gatita/django-imager,gatita/django-imager | imagersite/imagersite/production.py | imagersite/imagersite/production.py | from settings import *
DEBUG = False
TEMPLATE_DEBUG = False
ALLOWED_HOSTS = ['ec2-52-24-124-230.us-west-2.compute.amazonaws.com',
'localhost']
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# Email Settings
EMAIL_BACKEND = os.environ.get('IMAGER_EMAIL_BACKEND')
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp... | from settings import *
DEBUG = False
TEMPLATE_DEBUG = False
ALLOWED_HOSTS = ['ec2-52-24-124-230.us-west-2.compute.amazonaws.com',
'localhost']
STATIC_ROOT = os.path.join(BASE_DIR, 'static') | mit | Python |
df3c0b3d729a5b4b904c3259ffc763b80259dc17 | Reformat imports | paulupendo/CP-2-Bucketlist-Application | manage.py | manage.py | #!/usr/bin/env python3
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from app.v1 import models
from app import app, databases
migrate = Migrate(app, databases)
manager = Manager(app)
manager.add_command('databases', ... | #!/usr/bin/env python3
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from app import models
from app import app, databases
migrate = Migrate(app, databases)
manager = Manager(app)
manager.add_command('databases', Mig... | mit | Python |
d1d383f8136b0015d5031d6268c0ccbbd57d2e4f | Bump version to 0.9.2 | JohannesEbke/aws_list_all | setup.py | setup.py | from codecs import open
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='aws_list_all',
version='0.9.2',
... | from codecs import open
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='aws_list_all',
version='0.9.1',
... | mit | Python |
7738c686d31d72e89fb6555fa6874885c5dcd458 | Add missing requirement | SCUEvals/scuevals-api,SCUEvals/scuevals-api | setup.py | setup.py | from setuptools import setup
setup(
name='scuevals-api',
packages=['scuevals_api'],
include_package_data=True,
test_suite='tests',
entry_points={
'console_scripts': [
'app=scuevals_api.cmd:cli'
]
},
install_requires=[
'beautifulsoup4==4.6.0',
'bli... | from setuptools import setup
setup(
name='scuevals-api',
packages=['scuevals_api'],
include_package_data=True,
test_suite='tests',
entry_points={
'console_scripts': [
'app=scuevals_api.cmd:cli'
]
},
install_requires=[
'beautifulsoup4==4.6.0',
'bli... | agpl-3.0 | Python |
d3a96a83bd3c7f11f3470340f2b73a2f1e1cb575 | add an invocation script | wrycu/DiscordGameManager | manage.py | manage.py | from config import Config
manager_config = Config()
| mit | Python | |
5246343b6ad3883c3394ccd613db190de77ac5df | Add some meta information to setup.py | stephan-hof/pyrocksdb,squidsrc/python-rocksdb,stephan-hof/pyrocksdb,squidsrc/python-rocksdb | setup.py | setup.py | from setuptools import setup, find_packages
from distutils.extension import Extension
from Cython.Build import cythonize
extension_defaults = {
'extra_compile_args': [
'-std=gnu++11',
'-O3',
'-Wall',
'-Wextra',
'-Wconversion',
'-fno-strict-aliasing'
],
'langu... | from setuptools import setup, find_packages
from distutils.extension import Extension
from Cython.Build import cythonize
extension_defaults = {
'extra_compile_args': [
'-std=gnu++11',
'-O3',
'-Wall',
'-Wextra',
'-Wconversion',
'-fno-strict-aliasing'
],
'langu... | bsd-3-clause | Python |
41c73ca6bb7613f363a4e14e685e6534ebb26302 | Remove mysql setting | nnsnodnb/django-mbaas,nnsnodnb/django-mbaas,nnsnodnb/django-mbaas | manage.py | manage.py | # coding: utf-8
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mbaas.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| # coding: utf-8
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mbaas.settings")
import pymysql
pymysql.install_as_MySQLdb()
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| apache-2.0 | Python |
eb6dccf968ab396cca9281d74ec65dbcf395d7e0 | Remove import | nerevu/prometheus-api,nerevu/prometheus-api,nerevu/prometheus-api | manage.py | manage.py | from os.path import abspath
from flask import current_app as app
from app import create_app, db
# from app.model import init_db, populate_db
from flask.ext.script import Manager
manager = Manager(create_app)
manager.add_option('-m', '--cfgmode', dest='config_mode',
default='Development')
manager.add_option('-f', '--c... | from os.path import abspath
from flask import current_app as app
import tests
from app import create_app, db
# from app.model import init_db, populate_db
from flask.ext.script import Manager
manager = Manager(create_app)
manager.add_option('-m', '--cfgmode', dest='config_mode',
default='Development')
manager.add_opti... | mit | Python |
361b4dd2e6ce438dff237915b64cbed9c2b2707f | remove errant . | tylerdave/FOSSCON-2015-Example | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import versioneer
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 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import versioneer
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace(... | mit | Python |
3b970a25e31429a2941c55855628155eb7e9729e | Replace `ugettext_lazy` with `gettext_lazy` | treyhunner/django-email-log,treyhunner/django-email-log | email_log/models.py | email_log/models.py | from django.db import models
from django.utils.translation import gettext_lazy as _
class Email(models.Model):
"""Model to store outgoing email information"""
from_email = models.TextField(_("from email"))
recipients = models.TextField(_("recipients"))
subject = models.TextField(_("subject"))
bo... | from django.db import models
from django.utils.translation import ugettext_lazy as _
class Email(models.Model):
"""Model to store outgoing email information"""
from_email = models.TextField(_("from email"))
recipients = models.TextField(_("recipients"))
subject = models.TextField(_("subject"))
b... | mit | Python |
e92f662928458c7fd54931161a0d7b892b1c908a | bump to beta status | erikr/django-random-filestorage,erikr/django-random-filestorage | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import randomfilestorage
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = randomfilestorage.__version__
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
print("Y... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import randomfilestorage
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = randomfilestorage.__version__
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
print("Y... | bsd-3-clause | Python |
b93c0ce94d5380c1b8dbde5780721447b38eb9a2 | Fix bug | growdaisy/hasItChanged | setup.py | setup.py | """HasItChanged
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='has... | """HasItChanged
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='has... | mit | Python |
f987e4992aa39725e8d089c3d693ef79869914b7 | Exclude test settings reload from coverage. | pombredanne/django-rest-swagger,marcgibbons/django-rest-swagger,pombredanne/django-rest-swagger,pombredanne/django-rest-swagger,marcgibbons/django-rest-swagger,marcgibbons/django-rest-swagger,pombredanne/django-rest-swagger,marcgibbons/django-rest-swagger | rest_framework_swagger/settings.py | rest_framework_swagger/settings.py | from django.conf import settings
from django.test.signals import setting_changed
from rest_framework.settings import APISettings
DEFAULTS = {
'USE_SESSION_AUTH': True,
'SECURITY_DEFINITIONS': {
'basic': {
'type': 'basic'
}
},
'LOGIN_URL': getattr(settings, 'LOGIN_URL', None... | from django.conf import settings
from django.test.signals import setting_changed
from rest_framework.settings import APISettings
DEFAULTS = {
'USE_SESSION_AUTH': True,
'SECURITY_DEFINITIONS': {
'basic': {
'type': 'basic'
}
},
'LOGIN_URL': getattr(settings, 'LOGIN_URL', None... | bsd-2-clause | Python |
9272e0fb2f3c3190f53ea440a9d15610667d6072 | Add commands to make and drop db tables from a terminal. | jaapverloop/massa | manage.py | manage.py | # -*- coding: utf-8 -*-
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
from massa.domain import make_tables, drop_tables
manager = Manager(create_app)
manager.add_option('-c', '--configfile', dest='configfile', required=False)
manager.add_command('runserver', Server(
use_... | # -*- coding: utf-8 -*-
from flask.ext.script import Manager, Server
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--configfile', dest='configfile', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',... | mit | Python |
9a616467e8e1e412cdfc2d0430fe300c602897a6 | Bump version | genialis/django-rest-framework-reactive,genialis/django-rest-framework-reactive | rest_framework_reactive/__about__.py | rest_framework_reactive/__about__.py | """Central place for package metadata."""
# NOTE: We use __title__ instead of simply __name__ since the latter would
# interfere with a global variable __name__ denoting object's name.
__title__ = 'djangorestframework-reactive'
__summary__ = 'Making Django REST Framework reactive'
__url__ = 'https://github.com/g... | """Central place for package metadata."""
# NOTE: We use __title__ instead of simply __name__ since the latter would
# interfere with a global variable __name__ denoting object's name.
__title__ = 'djangorestframework-reactive'
__summary__ = 'Making Django REST Framework reactive'
__url__ = 'https://github.com/g... | apache-2.0 | Python |
7c88518c9447b4504efc510c70320abaac50680f | Update dependency jsonschema to v2.6.0 | yosida95/python-jsmapper | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
import sys
from setuptools import (
find_packages,
setup,
)
here = os.path.dirname(__file__)
requires = [
'jsonschema==2.6.0',
]
if sys.version_info <= (3, 5):
requires.append('zipp == 1.2.0')
tests_require = [
'pytest',
'pytest-cov',
'pytest-flake8',
]
... | # -*- coding: utf-8 -*-
import os
import sys
from setuptools import (
find_packages,
setup,
)
here = os.path.dirname(__file__)
requires = [
'jsonschema==2.4.0',
]
if sys.version_info <= (3, 5):
requires.append('zipp == 1.2.0')
tests_require = [
'pytest',
'pytest-cov',
'pytest-flake8',
]
... | mit | Python |
685ee11bf3143f2d98e1f097c325e20bb82ff602 | Fix the description of reprounzip-vistrails | ViDA-NYU/reprozip,ViDA-NYU/reprozip,ViDA-NYU/reprozip,ViDA-NYU/reprozip,ViDA-NYU/reprozip | reprounzip-vistrails/setup.py | reprounzip-vistrails/setup.py | import io
import os
from setuptools import setup
import sys
# pip workaround
os.chdir(os.path.abspath(os.path.dirname(__file__)))
# Need to specify encoding for PY3, which has the worst unicode handling ever
with io.open('README.rst', encoding='utf-8') as fp:
description = fp.read()
req = [
'reprounzip>=1.0... | import io
import os
from setuptools import setup
import sys
# pip workaround
os.chdir(os.path.abspath(os.path.dirname(__file__)))
# Need to specify encoding for PY3, which has the worst unicode handling ever
with io.open('README.rst', encoding='utf-8') as fp:
description = fp.read()
req = [
'reprounzip>=1.0... | bsd-3-clause | Python |
66e649c6505439d976225dea226a32e6fe93b153 | hide importing mpl inside the function | rootpy/rootpy,rootpy/rootpy,kreczko/rootpy,ndawe/rootpy,ndawe/rootpy,kreczko/rootpy,rootpy/rootpy,ndawe/rootpy,kreczko/rootpy | rootpy/plotting/style/__init__.py | rootpy/plotting/style/__init__.py | # Copyright 2012 the rootpy developers
# distributed under the terms of the GNU General Public License
from ... import log; log = log[__name__]
from ... import asrootpy
import ROOT
from ... import QROOT
def get_style_mpl(name):
try:
module = __import__('%s.style_mpl' % name.lower(),
... | # Copyright 2012 the rootpy developers
# distributed under the terms of the GNU General Public License
from ... import log; log = log[__name__]
from ... import asrootpy
import ROOT
from ... import QROOT
import matplotlib as mpl
def get_style_mpl(name):
try:
module = __import__('%s.style_mpl' % name.lower... | bsd-3-clause | Python |
21da1e4c439c41504e3abb3ea47bc56cfd79ed7e | Add version in setup.py | emlid/ntripbrowser | setup.py | setup.py | from setuptools import setup
setup(
name='ntripbrowser',
version='1.0.4',
author='Andrew Yushkevich',
author_email='andrew.yushkevich@emlid.com',
packages=['ntripbrowser'],
install_requires=['chardet', 'geopy','texttable'],
license = 'GPLv3',
url='https://github.com/emlid/ntripbrowser.g... | from setuptools import setup
setup(
name='ntripbrowser',
version='1.0.2',
author='Andrew Yushkevich',
author_email='andrew.yushkevich@emlid.com',
packages=['ntripbrowser'],
install_requires=['chardet', 'geopy','texttable'],
license = 'GPLv3',
url='https://github.com/emlid/ntripbrowser.g... | bsd-3-clause | Python |
6ed0308d7cdd967b4780b9433a580b746c43fa21 | Use __file__ to find VERSION instead of cwd (#194) | angr/claripy | setup.py | setup.py | import os
try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
... | try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')... | bsd-2-clause | Python |
b603af32a598105d8d42c209a422436949a18e48 | Add gazetter data to package (closes #26) | natasha/natasha | setup.py | setup.py | # coding: utf-8
from __future__ import unicode_literals
from setuptools import (
setup,
find_packages,
)
setup(
name='natasha',
version='0.8.0',
description='Named-entity recognition for russian language',
url='https://github.com/natasha/natasha',
author='Natasha contributors',
author_... |
from setuptools import (
setup,
find_packages,
)
setup(
name='natasha',
version='0.8.0',
description='Named-entity recognition for russian language',
url='https://github.com/bureaucratic-labs/natasha',
author='Dmitry Veselov',
author_email='d.a.veselov@yandex.ru',
license='MIT',
... | mit | Python |
aaeadbea2c201787781664eb888f50bb6ff24590 | Define package install requirements | catcosmo/froide,catcosmo/froide,catcosmo/froide,okfse/froide,stefanw/froide,fin/froide,CodeforHawaii/froide,stefanw/froide,CodeforHawaii/froide,ryankanno/froide,CodeforHawaii/froide,LilithWittmann/froide,ryankanno/froide,LilithWittmann/froide,fin/froide,fin/froide,okfse/froide,catcosmo/froide,okfse/froide,ryankanno/fro... | setup.py | setup.py | #!/usr/bin/env python
import codecs
import re
import os
from setuptools import setup, find_packages
def read(*parts):
filename = os.path.join(os.path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
def find_version(*file_paths):
version_file = re... | #!/usr/bin/env python
import codecs
import re
import os
from setuptools import setup, find_packages
def read(*parts):
filename = os.path.join(os.path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
def find_version(*file_paths):
version_file = re... | mit | Python |
c5783f385d406f8ccfa5e0cef6dfdf248d7ea02b | Fix bug in get_offsets with span == 1 | supermitch/Island-Gen | matrix.py | matrix.py | from __future__ import division
import itertools
def get_offsets(span):
"""
Get matrix offsets for a square of distance `span`.
"""
if span < 0:
raise ValueError('Cannot return neighbours for negative distance')
all_offsets = set(itertools.product([x for x in range(-span, span + 1)], rep... | from __future__ import division
import itertools
def get_offsets(span):
"""
Get matrix offsets for a square of distance `span`.
"""
if span < 0:
raise ValueError('Cannot return neighbours for negative distance')
all_offsets = set(itertools.product([x for x in range(-span, span + 1)], rep... | mit | Python |
057cda60c05ff845b7aff46cc345fd0ebf5961d9 | Add dependency for PyYAML | LathamZ/ECCorrect | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "eccorrect",
version = "0.1",
author = "Latham Zhao",
author_email = "lathamzhao@gmail.com",
description = ("A... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "eccorrect",
version = "0.1",
author = "Latham Zhao",
author_email = "lathamzhao@gmail.com",
description = ("A... | mit | Python |
e17be20e7e3ca28851f7dac55f7ec44ddf23ad62 | Fix annotation migration dependency | Princeton-CDH/winthrop-django,Princeton-CDH/winthrop-django,Princeton-CDH/winthrop-django | winthrop/annotation/migrations/0001_initial.py | winthrop/annotation/migrations/0001_initial.py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-14 21:47
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import jsonfield.fields
import uuid
class Migration(migrations.Migration):
initial = True
... | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-14 21:47
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import jsonfield.fields
import uuid
class Migration(migrations.Migration):
initial = True
... | apache-2.0 | Python |
717a3aa5770d31b2216d0f474a5d1b93e484f58c | Fix classifiers | chelnak/vRAAPIClient,tomkuba/vRAAPIClient | setup.py | setup.py | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='vRAAPIClient',
version='1.0',
description='vRealize Automation API Client',
author='chelnak',
author_email='',
install_requires=['requests', 'pret... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='vRAAPIClient',
version='1.0',
description='vRealize Automation API Client',
author='chelnak',
author_email='',
install_requires=['requests', 'pret... | mit | Python |
5493c25f65851aa0eba4acd12f1f776ed4322c24 | add a test for the fix, but realize that it's broken... | radio-astro-tools/pvextractor,keflavich/pvextractor | pvextractor/tests/test_wcspath.py | pvextractor/tests/test_wcspath.py | import os
import pytest
import numpy as np
from astropy import wcs
from astropy.io import fits
from .. import pvregions
def data_path(filename):
data_dir = os.path.join(os.path.dirname(__file__), 'data')
return os.path.join(data_dir, filename)
@pytest.mark.xfail
@pytest.mark.parametrize('regfile', ('tests... | import os
import pytest
import numpy as np
from astropy import wcs
from astropy.io import fits
from .. import pvregions
def data_path(filename):
data_dir = os.path.join(os.path.dirname(__file__), 'data')
return os.path.join(data_dir, filename)
@pytest.mark.xfail
def test_wcspath():
p1,p2 = pvregions.p... | bsd-3-clause | Python |
9a68425e039039c57ea3578f6001664f96983bec | Bump to 3.0.0 | vimalloc/flask-jwt-extended | setup.py | setup.py | """
Flask-JWT-Extended
-------------------
Flask-Login provides jwt endpoint protection for Flask.
"""
from setuptools import setup
setup(name='Flask-JWT-Extended',
version='3.0.0',
url='https://github.com/vimalloc/flask-jwt-extended',
license='MIT',
author='Landon Gilbert-Bland',
author_... | """
Flask-JWT-Extended
-------------------
Flask-Login provides jwt endpoint protection for Flask.
"""
from setuptools import setup
setup(name='Flask-JWT-Extended',
version='2.4.1',
url='https://github.com/vimalloc/flask-jwt-extended',
license='MIT',
author='Landon Gilbert-Bland',
author_... | mit | Python |
2265ee1662b0aff6dba3d584db33dbd067b42da3 | Use setuptools instead of distutils. | basvandenberg/puzzlepy | setup.py | setup.py | from setuptools import setup
config = {
'name': 'puzzlepy',
'version': '0.1.0',
'author': 'B.A. van den Berg',
'author_email': 'b.a.vandenberg@gmail.com',
'url': 'https://github.com/basvandenberg/puzzlepy',
'description': 'Python package for generating, solving, and testing grid-based puzzle g... | from distutils.core import setup
config = {
'name': 'puzzlepy',
'version': '0.1.0',
'author': 'B.A. van den Berg',
'author_email': 'b.a.vandenberg@gmail.com',
'url': 'https://github.com/basvandenberg/puzzlepy',
'description': 'Python package for generating, solving, and testing grid-based puzz... | mit | Python |
3cfd9f58e43076bec51346ed34585cfc77e527e4 | Include order number with tickets created as a bundle | homeworkprod/byceps,homeworkprod/byceps,m-ober/byceps,homeworkprod/byceps,m-ober/byceps,m-ober/byceps | byceps/services/ticketing/ticket_bundle_service.py | byceps/services/ticketing/ticket_bundle_service.py | """
byceps.services.ticketing.ticket_bundle_service
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Copyright: 2006-2017 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE for details.
"""
from typing import Optional, Sequence
from ...database import db
from ...typing import UserID
from ..shop.order.models.o... | """
byceps.services.ticketing.ticket_bundle_service
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Copyright: 2006-2017 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE for details.
"""
from typing import Optional, Sequence
from ...database import db
from ...typing import UserID
from .models.category impo... | bsd-3-clause | Python |
05678509c4cbd74cdde381e8f93adb53d67057b6 | Change requirements to django 1.11 | Frojd/django-react-templatetags,Frojd/django-react-templatetags,Frojd/django-react-templatetags | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import os
import sys
import re
import pip
from setuptools import setup, find_packages
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
with open('README.md') as f:
readme = f.read()
# Convert markdown to rst
try:... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import os
import sys
import re
import pip
from setuptools import setup, find_packages
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
with open('README.md') as f:
readme = f.read()
# Convert markdown to rst
try:... | mit | Python |
6d660eac2270f5a58e17dd2c603160bfd4367e4a | include numpy headers in setup.py for Mac | BerkeleyAutomation/rlpy,imanolarrieta/RL,BerkeleyAutomation/rlpy,MDPvis/rlpy,silgon/rlpy,BerkeleyAutomation/rlpy,rlpy/rlpy,silgon/rlpy,MDPvis/rlpy,silgon/rlpy,imanolarrieta/RL,rlpy/rlpy,imanolarrieta/RL,rlpy/rlpy,MDPvis/rlpy | setup.py | setup.py | """
This script can be used to compile further extensions that may
speed up computations.
Please run:
python setup.py build_ext --inplace
"""
from distutils.core import setup, Extension
from Cython.Distutils import build_ext
import numpy
setup(name="_transformations",
cmdclass = {"build_ext": build_ext},
e... | """
This script can be used to compile further extensions that may
speed up computations.
Please run:
python setup.py build_ext --inplace
"""
from distutils.core import setup, Extension
from Cython.Distutils import build_ext
import numpy
setup(name="_transformations",
cmdclass = {"build_ext": build_ext},
e... | bsd-3-clause | Python |
c6a8be02fa108ee1488171d2d5072eb26ac110d3 | Fix pep8 Errors | Gentux/imap-cli,Gentux/imap-cli | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Command line interface for imap account
Set of high level mail management functions. All managed in CLI"""
import setuptools
setuptools.setup(
author="Romain Soufflet",
author_email="romain@soufflet.io",
classifiers=[
"Development Status :: 3 -... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Command line interface for imap account
Set of high level mail management functions. All managed in CLI"""
import setuptools
setuptools.setup(
author="Romain Soufflet",
author_email="romain@soufflet.io",
classifiers=[
"Development Status :: 3 -... | mit | Python |
9d5f434eadbb4edd2af42f0c84bba8929fd426c5 | Fix install requires for Python 2 | thombashi/typepy | setup.py | setup.py | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import unicode_literals
import io
import os.path
import sys
import setuptools
REQUIREMENT_DIR = "requirements"
ENCODING = "utf8"
with io.open("README.rst", encoding=ENCODING) as f:
long_description = f.read()
w... | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import unicode_literals
import io
import os.path
import sys
import setuptools
REQUIREMENT_DIR = "requirements"
ENCODING = "utf8"
with io.open("README.rst", encoding=ENCODING) as f:
long_description = f.read()
w... | mit | Python |
81ddfa9c167c62bebeef4d255167f267c690eed1 | Bump version | guineawheek/spock,SpockBotMC/SpockBot,txomon/SpockBot,nickelpro/SpockBot,OvercastNetwork/spock,luken/SpockBot,gamingrobot/SpockBot,Gjum/SpockBot,MrSwiss/SpockBot | setup.py | setup.py | from distutils.core import setup
setup (
name='spock',
version='0.90-exp',
packages=['spock', 'spock.mcp', 'spock.net',],
) | from distutils.core import setup
setup (
name='spock',
version='0.20',
packages=['spock', 'spock.mcp', 'spock.net',],
) | mit | Python |
2741a8e299da60ec35648bd6d0c31cafcfc7d8e3 | Bump version | crashlytics/riemann-sumd | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
version = "0.4.5"
setup(name="riemann-sumd",
version=version,
description="Python agent for scheduling event generating processes and sending the results to Riemann",
author="Brian Hatfield",
author_email="bmhatfield@gmail.com",
url=... | #!/usr/bin/env python
from distutils.core import setup
version = "0.4.4"
setup(name="riemann-sumd",
version=version,
description="Python agent for scheduling event generating processes and sending the results to Riemann",
author="Brian Hatfield",
author_email="bmhatfield@gmail.com",
url=... | mit | Python |
b3b7f99ecb837b3b64a34f15270d6b8c6887f94c | Fix setup.py long_description | mixxorz/django-service-objects | setup.py | setup.py | from os import chdir
from os.path import abspath, dirname, join, normpath
from setuptools import find_packages, setup
import service_objects
pypi_readme = """
django-service-objects
======================
Service objects for Django
`Go to GitHub for more info <https://github.com/mixxorz/django-service-objects>`_
""... | from os import chdir
from os.path import abspath, dirname, join, normpath
from setuptools import find_packages, setup
import service_objects
pypi_readme = """
django-service-objects
======================
Service objects for Django
`Go to GitHub for more info <https://github.com/mixxorz/django-service-objects/`_
""... | mit | Python |
030a9c42a894f1eaebc69c975bf12f1ec3bbf932 | Add labels for width and height | alejandroautalan/pygubu,alejandroautalan/pygubu | pygubudesigner/widgets/whentry.py | pygubudesigner/widgets/whentry.py | # encoding: UTF-8
#
# Copyright 2012-2013 Alejandro Autalán
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3, as published
# by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
#... | # encoding: UTF-8
#
# Copyright 2012-2013 Alejandro Autalán
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3, as published
# by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
#... | mit | Python |
700c92a425bd608e3e52f07b856cd7829a1b928f | fix dependency syntax | adorton-adobe/user-sync.py,adorton-adobe/user-sync.py,adobe-apiplatform/user-sync.py,adobe-apiplatform/user-sync.py | setup.py | setup.py | # Copyright (c) 2016-2017 Adobe Systems Incorporated. All rights reserved.
#
# 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 the rights
# to... | # Copyright (c) 2016-2017 Adobe Systems Incorporated. All rights reserved.
#
# 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 the rights
# to... | mit | Python |
f5e795ac66f5ecb8113f49e82baba1ffde66156f | add support for python 3.10 (#96) | googleapis/python-org-policy,googleapis/python-org-policy | setup.py | setup.py | # -*- coding: utf-8 -*-
# Copyright 2020 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 o... | # -*- coding: utf-8 -*-
# Copyright 2020 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 o... | apache-2.0 | Python |
8d3f2ded898b1bfcac1f3ce407787cf5075dc383 | Update deps to pull in YAML support | wholebiome/aegea,kislyuk/aegea,kislyuk/aegea,wholebiome/aegea,kislyuk/aegea,wholebiome/aegea | setup.py | setup.py | #!/usr/bin/env python
import os, sys, glob
from setuptools import setup, find_packages
setup(
name='aegea',
version='0.2.0',
url='https://github.com/kislyuk/aegea',
license='Proprietary',
author='Andrey Kislyuk',
author_email='kislyuk@gmail.com',
description='Amazon Web Services Operator I... | #!/usr/bin/env python
import os, sys, glob
from setuptools import setup, find_packages
setup(
name='aegea',
version='0.1.0',
url='https://github.com/kislyuk/aegea',
license='Proprietary',
author='Andrey Kislyuk',
author_email='kislyuk@gmail.com',
description='Amazon Web Services Operator I... | apache-2.0 | Python |
337b8b215c2c02ceb18b6513d0825abff6ca6826 | Add astropy_helpers language to setup.py | StanczakDominik/PlasmaPy | setup.py | setup.py | import ah_bootstrap
from setuptools import setup, find_packages
import builtins
builtins._ASTROPY_SETUP_ = True
#import astropy_helpers
from astropy_helpers.setup_helpers import (
register_commands, get_package_info, get_debug_option)
# Package metadata
metadata = {}
with open('plasmapy/_metadata.py', 'r') as me... | import ah_bootstrap
from setuptools import setup, find_packages
# Package metadata
metadata = {}
with open('plasmapy/_metadata.py', 'r') as metadata_file:
exec(metadata_file.read(), metadata)
# Requirements
with open('requirements/base.txt', 'r') as req_file:
requirements = req_file.read().splitlines()
setu... | bsd-3-clause | Python |
3a01c61212bcd9239b4738333b9a7feaccbbcdb4 | Update keywords | maxzheng/workspace-tools | setup.py | setup.py | #!/usr/bin/env python3
import os
import setuptools
def find_files(path):
return [os.path.join(path, f) for f in os.listdir(path)]
setuptools.setup(
name='workspace-tools',
version='3.0.12',
author='Max Zheng',
author_email='maxzheng.os@gmail.com',
description='Convenience wrapper for git/tox to sim... | #!/usr/bin/env python3
import os
import setuptools
def find_files(path):
return [os.path.join(path, f) for f in os.listdir(path)]
setuptools.setup(
name='workspace-tools',
version='3.0.12',
author='Max Zheng',
author_email='maxzheng.os@gmail.com',
description='Convenience wrapper for git/tox to sim... | mit | Python |
037fe53434f759b28d6f6b247653163f9e5110ff | fix trove classifier | marky1991/simpleeval | setup.py | setup.py | from setuptools import setup
__version__ = '0.8.5'
setup(
name = 'simpleeval',
py_modules = ['simpleeval'],
version = __version__,
description = 'A simple, safe single expression evaluator library.',
long_description=open('README.rst','r').read(),
author = 'Daniel Fairhead',
author_email = ... | from setuptools import setup
__version__ = '0.8.3'
setup(
name = 'simpleeval',
py_modules = ['simpleeval'],
version = __version__,
description = 'A simple, safe single expression evaluator library.',
long_description=open('README.rst','r').read(),
author = 'Daniel Fairhead',
author_email = ... | mit | Python |
25474ea04e0ddd392e144618426e414026194af3 | prepare release | PRIArobotics/HedgehogClient | setup.py | setup.py | """A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.absp... | """A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.absp... | agpl-3.0 | Python |
34da73b1063e9bef6e4214610f8755b21d474933 | Update classifiers | micheles/decorator,micheles/decorator | setup.py | setup.py | from setuptools import setup
dic = {}
exec(open('src/decorator.py').read(), dic)
VERSION = dic['__version__']
if __name__ == '__main__':
setup(name='decorator',
version=VERSION,
description='Better living through Python with decorators',
long_description=open('docs/README.rst').read... | from setuptools import setup
dic = {}
exec(open('src/decorator.py').read(), dic)
VERSION = dic['__version__']
if __name__ == '__main__':
setup(name='decorator',
version=VERSION,
description='Better living through Python with decorators',
long_description=open('docs/README.rst').read... | bsd-2-clause | Python |
37d0002c0190e9bac365fa666cdf6f910975ee1e | add geojson requirement to setup.py | ocefpaf/ulmo,nathanhilbert/ulmo,cameronbracken/ulmo,cameronbracken/ulmo,nathanhilbert/ulmo,ocefpaf/ulmo | setup.py | setup.py | import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#... | import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#... | bsd-3-clause | Python |
5dba9a496835313fec7076407daddcbc702dfa09 | Change setup.py | veeresht/CommPy | setup.py | setup.py | # Authors: CommPy contributors
# License: BSD 3-Clause
from setuptools import setup
# Taken from scikit-learn setup.py
DISTNAME = 'scikit-commpy'
DESCRIPTION = 'Digital Communication Algorithms with Python'
LONG_DESCRIPTION = open('README.md').read()
MAINTAINER = 'Veeresh Taranalli & Bastien Trotobas'
MAINTAINER_EMAI... | # Authors: CommPy contributors
# License: BSD 3-Clause
from distutils.core import setup
# Taken from scikit-learn setup.py
DISTNAME = 'scikit-commpy'
DESCRIPTION = 'Digital Communication Algorithms with Python'
LONG_DESCRIPTION = open('README.md').read()
MAINTAINER = 'Veeresh Taranalli & Bastien Trotobas'
MAINTAINER_... | bsd-3-clause | Python |
ffc7408729af02f9c922ff710fe887b311c31a2c | Add explicit docutils and sphinx dependencies. | bronto/javasphinx | setup.py | setup.py | #
# Copyright 2012-2015 Bronto Software, Inc. and contributors
#
# 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 applic... | #
# Copyright 2012-2015 Bronto Software, Inc. and contributors
#
# 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 applic... | apache-2.0 | Python |
2c4566a198443ab3fc3809b01aa1f63c064f27cc | Update docker_compose version | lstephen/construi | setup.py | setup.py | from setuptools import setup
import codecs
import os
import re
def read(*parts):
path = os.path.join(os.path.dirname(__file__), *parts)
with codecs.open(path, encoding='utf-8') as fobj:
return fobj.read()
def find_version():
version_match = re.search(
r"^__version__ = ['\"]([^'\"]*)['\"... | from setuptools import setup
import codecs
import os
import re
def read(*parts):
path = os.path.join(os.path.dirname(__file__), *parts)
with codecs.open(path, encoding='utf-8') as fobj:
return fobj.read()
def find_version():
version_match = re.search(
r"^__version__ = ['\"]([^'\"]*)['\"... | apache-2.0 | Python |
936563204426f9cf376879b7d783c06eb4885980 | disable pika requirement for base install | sk2/autonetkit | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
#from setuptools import setup, find_packages
setup (
name = "autonetkit-v3-dev",
version = "0.1.14",
description = 'Automated configuration generator',
long_description = 'Automated configuration generator',
# simple to run
entry_point... | #!/usr/bin/env python
from setuptools import setup
#from setuptools import setup, find_packages
setup (
name = "autonetkit-v3-dev",
version = "0.1.14",
description = 'Automated configuration generator',
long_description = 'Automated configuration generator',
# simple to run
entry_point... | bsd-3-clause | Python |
87e1646c508dd48f54d3ec289a4a930a822fb28f | Add classifiers to setup.py | redis/hiredis-py,badboy/hiredis-py-win,badboy/hiredis-py-win,badboy/hiredis-py-win,charsyam/hiredis-py,charsyam/hiredis-py,redis/hiredis-py | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup, Extension
from distutils.command import install_lib as _install_lib
import sys, imp, os, glob
def version():
module = imp.load_source("hiredis.version", "hiredis/version.py")
return module.__version__
# Patch "install_lib" command to run build_clib before b... | #!/usr/bin/env python
from distutils.core import setup, Extension
from distutils.command import install_lib as _install_lib
import sys, imp, os, glob
def version():
module = imp.load_source("hiredis.version", "hiredis/version.py")
return module.__version__
# Patch "install_lib" command to run build_clib before bu... | bsd-3-clause | Python |
98b3f6f2b215b8d1a07699db38195a17e9213f38 | use pkg name (pychroot) instead of module name (chroot) | radhermit/pychroot | setup.py | setup.py | import os
import sys
import subprocess
from setuptools import setup, Command, Extension
import chroot
class RunCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
class PyTest(RunCommand):
user_options = [('match=', 'k', 'Run on... | import os
import sys
import subprocess
from setuptools import setup, Command, Extension
import chroot
class RunCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
class PyTest(RunCommand):
user_options = [('match=', 'k', 'Run on... | bsd-3-clause | Python |
d9bd2c71fb168a911af81085e95458e4a3f16bb6 | Bump to version 0.3.0 | jstutters/Plumbium | setup.py | setup.py | from setuptools import setup
setup(
name='plumbium',
version='0.3.0',
packages=['plumbium'],
zip_safe=True,
author='Jon Stutters',
author_email='j.stutters@ucl.ac.uk',
description='Record the inputs and outputs of scripts',
url='https://github.com/jstutters/plumbium',
license='MIT',... | from setuptools import setup
setup(
name='plumbium',
version='0.2.0',
packages=['plumbium'],
zip_safe=True,
author='Jon Stutters',
author_email='j.stutters@ucl.ac.uk',
description='Record the inputs and outputs of scripts',
url='https://github.com/jstutters/plumbium',
license='MIT',... | mit | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.