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 |
|---|---|---|---|---|---|---|---|---|
ea83fd981e5eb27009943e46967e2531ff963932 | change author email to the user group address | jameslittle/mongo-python-driver,gormanb/mongo-python-driver,felixonmars/mongo-python-driver,mongodb/mongo-python-driver,ramnes/mongo-python-driver,inspectlabs/mongo-python-driver,bq-xiao/mongo-python-driver,brianwrf/mongo-python-driver,rychipman/mongo-python-driver,ameily/mongo-python-driver,ShaneHarvey/mongo-python-dr... | setup.py | setup.py | #!/usr/bin/env python
import sys
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
from distutils.command.build_ext import build_ext
from distutils.errors import CCompilerError
from distutils.core import Extension
r... | #!/usr/bin/env python
import sys
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
from distutils.command.build_ext import build_ext
from distutils.errors import CCompilerError
from distutils.core import Extension
r... | apache-2.0 | Python |
48d2ef08d3f6d5eea4f2378b352e05e0846d2f6f | update version | llazzaro/packyou | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
README = readme_file.read()
with open('HISTORY.rst') as history_file:
HISTORY = history_file.read()
REQUIREMENTS = [
'gitpython',
]
TEST_REQUIREMENTS = [
'pytest',
]
se... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
README = readme_file.read()
with open('HISTORY.rst') as history_file:
HISTORY = history_file.read()
REQUIREMENTS = [
'gitpython',
]
TEST_REQUIREMENTS = [
'pytest',
]
se... | mit | Python |
efd91e88ac89b7312e26757bf09dac78c98a7b07 | 修改:默认参数没设置导致demo有问题 | Emptyset110/dHydra,Emptyset110/dHydra | dHydra/app.py | dHydra/app.py | # -*- coding: utf8 -*-
"""
主控制程序入口
"""
import traceback
import sys
import os
# print("加载:app.py")
from dHydra.core.Globals import *
from dHydra.core.Functions import *
def start_action(actionList, actionArgs = {}):
for action in actionList:
if action in actionArgs.keys():
print(actionArgs[action])
actionIns... | # -*- coding: utf8 -*-
"""
主控制程序入口
"""
import traceback
import sys
import os
# print("加载:app.py")
from dHydra.core.Globals import *
from dHydra.core.Functions import *
def start_action(actionList, actionArgs):
for action in actionList:
if action in actionArgs.keys():
print(actionArgs[action])
actionInstance... | apache-2.0 | Python |
9cfaa0f6aadf25ce10e3eb371c6306a011ca37c5 | update metadata | aalto-ics-kepaco/fingerid,icdishb/fingerid | setup.py | setup.py |
from setuptools import setup, find_packages
config = {
'description':'fingerid-package',
'author':'Huibin Shen',
'url':'project https://github.com/icdishb/fingerid',
'author_email':'huibin.shen@aalto.fi',
'version':'1.4',
'install_requires':['nose'],
'packages':find_packages(),
'name'... |
from setuptools import setup, find_packages
config = {
'description':'fingerid-package',
'author':'Huibin Shen',
'url':'project https://sourceforge.net/projects/fingerid/',
'author_email':'huibin.shen@aalto.fi',
'version':'2.0',
'install_requires':['nose'],
'packages':find_packages(),
... | apache-2.0 | Python |
ba9e8ed32edd578f386fd6fa001836dda9010605 | Add mac_alias to requirements. | al45tair/ds_store | setup.py | setup.py | # -*- coding: utf-8 -*-
import sys
from setuptools import setup
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):
impo... | # -*- coding: utf-8 -*-
import sys
from setuptools import setup
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):
impo... | mit | Python |
85751eaa49275ed2dfa47f401b438eba3ded6765 | Bump version to 1.4. | olivierverdier/nose-progressive,veo-labs/nose-progressive,erikrose/nose-progressive,pmclanahan/pytest-progressive | setup.py | setup.py | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='nose-progressive',
version='1.4',
description='Nose plugin to show progress bar and tracebacks during tests',
long_description=open('README.rst').read(... | import sys
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='nose-progressive',
version='1.3',
description='Nose plugin to show progress bar and tracebacks during tests',
long_description=open('README.rst').read(... | mit | Python |
469bb2e8c48c12f6d3e3d0fe673db89565884a0c | Update README requirements | michaelhelmick/lassie,jpadilla/lassie,michaelhelmick/lassie,jpadilla/lassie | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup
__version__ = '0.1.0'
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'lassie'
]
setup(
name='lassie',
version=__version__,
install_requires=[
'requests==1.2.3',
... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
__version__ = '0.1.0'
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'lassie'
]
setup(
name='lassie',
version=__version__,
install_requires=['requests==1.2.3', 'beautifu... | mit | Python |
69a0e80292fd42a07f70d35c99db402151389034 | Add python version restriction (#387) | encode/starlette,encode/starlette | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
from setuptools import setup
def get_version(package):
"""
Return package version as listed in `__version__` in `init.py`.
"""
with open(os.path.join(package, '__init__.py')) as f:
return re.search("__version__ = ['\"]([^'\"]+... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
from setuptools import setup
def get_version(package):
"""
Return package version as listed in `__version__` in `init.py`.
"""
with open(os.path.join(package, '__init__.py')) as f:
return re.search("__version__ = ['\"]([^'\"]+... | bsd-3-clause | Python |
3c65d73b17874ab92817914dfc875b88976f7b47 | remove werkzeug, it is unused | fanout/django-eventstream,fanout/django-eventstream | setup.py | setup.py | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
readme = f.read()
install_requires = []
install_requires.extend(['PyJWT>=1.5,<3', 'gripcontrol>=4.0,<5', 'django_grip>=3.0,<4', 'six>=1.10,<2'])
setup(
name='django-eventstream',
version='4.3.0',
descriptio... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
readme = f.read()
install_requires = []
install_requires.extend(['PyJWT>=1.5,<3', 'gripcontrol>=4.0,<5', 'django_grip>=3.0,<4', 'Werkzeug>=0.12,<1', 'six>=1.10,<2'])
setup(
name='django-eventstream',
versio... | mit | Python |
4b509a93bf2683ecde011ffaa07d2c77d1407be8 | Fix cryptography dependency (#46) | Nexmo/nexmo-python | setup.py | setup.py | import re
from setuptools import setup
with open('nexmo/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
setup(name='nexmo',
version=version,
description='Nexmo Client Library for Python',
long_description='This is the Py... | import re
from setuptools import setup
with open('nexmo/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
setup(name='nexmo',
version=version,
description='Nexmo Client Library for Python',
long_description='This is the Py... | mit | Python |
258a95a738ecc0a9058d0b457cb104b6180abc6c | add copyright header | zerovm/sphinx-theme | setup.py | setup.py | # Copyright 2014 Rackspace, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | from distutils.core import setup
setup(name='zerovm-sphinx-theme',
version='1.0',
description='ZeroVM theme for Sphinx',
author='Martin Geisler',
author_email='martin@geisler.net',
url='https://github.com/zerovm/sphinx-theme',
packages=['zerovm_sphinx_theme'],
package_data={'z... | apache-2.0 | Python |
41297d4faf3f20a9863d07e6859488e5a96e971b | Remove myself as a maintainer | platformdirs/platformdirs | setup.py | setup.py | #!/usr/bin/env python
import os
# appdirs is a dependency of setuptools, so allow installing without it.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import ast
def read(fname):
inf = open(os.path.join(os.path.dirname(__file__), fname))
out = "\n" + inf.read()... | #!/usr/bin/env python
import os
# appdirs is a dependency of setuptools, so allow installing without it.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import ast
def read(fname):
inf = open(os.path.join(os.path.dirname(__file__), fname))
out = "\n" + inf.read()... | mit | Python |
d4189a3fca18371f8804842b71bfafd1da1ec332 | Add amazon linux to setup.py | basepi/hubble,madchills/hubble,madchills/hubble,basepi/hubble | setup.py | setup.py | from setuptools import setup, find_packages
import platform
distro, version, _ = platform.dist()
if not distro:
distro, version, _ = platform.linux_distribution(supported_dists=['system'])
# Default to cent7
data_files = [('/usr/lib/systemd/system', ['pkg/hubble.service']),
('/etc/hubble', ['conf/hu... | from setuptools import setup, find_packages
import platform
distro, version, _ = platform.dist()
# Default to cent7
data_files = [('/usr/lib/systemd/system', ['pkg/hubble.service']),
('/etc/hubble', ['conf/hubble']),]
if distro == 'redhat' or distro == 'centos':
if version.startswith('6'):
... | apache-2.0 | Python |
93a438546e5e3fb73fc435bea07f6816311f9c67 | rewrite views in REST style | crucl0/gps_tracker,crucl0/gps_tracker,crucl0/gps_tracker | gps_tracker/views.py | gps_tracker/views.py | from pyramid.view import view_config
points_list = [
{"_id": 'ObjectId("52e3eb56a7cade5d0898e012")', "latitude": "45.215",
"longitude": "14.131", "gas_station": "Lukoil", "odometer": "24100",
"description": "Bad coffee"},
{"_id": 'ObjectId("52e3eb79a7cade5d0898e013")', "latitude": "47.412",
"lon... | from pyramid.view import view_config
from pyramid.httpexceptions import HTTPFound
from bson.objectid import ObjectId
@view_config(route_name='main', renderer='templates/main.pt')
def main_view(request):
if request.method == 'POST':
if request.POST.get('gas_station'):
request.db.points.insert(
... | mit | Python |
2d5635338a35c04c4b81689399548ab300c39587 | fix unittest print error at last (fix #57) | jubatus/jubatus-python-client,jubatus/jubatus-python-client | setup.py | setup.py | try:
import concurrent
except ImportError:
pass
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
import os
import sys
import unittest
import os.path
import platform
sys.path.append('jubatus')
sys.path.append('test')
def read(name):
return open... | try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
import os
import sys
import unittest
import os.path
import platform
sys.path.append('jubatus')
sys.path.append('test')
def read(name):
return open(os.path.join(os.path.dirname(__file__), name)).read()
s... | mit | Python |
c08d3a0d57435720d0c2deff6d3b07f4a7708817 | Bump version for new setup.py option | kevinconway/rpmvenv | setup.py | setup.py | """Setuptools configuration for rpmvenv."""
from setuptools import setup
from setuptools import find_packages
with open('README.rst', 'r') as readmefile:
README = readmefile.read()
setup(
name='rpmvenv',
version='0.19.0',
url='https://github.com/kevinconway/rpmvenv',
description='RPM packager f... | """Setuptools configuration for rpmvenv."""
from setuptools import setup
from setuptools import find_packages
with open('README.rst', 'r') as readmefile:
README = readmefile.read()
setup(
name='rpmvenv',
version='0.18.0',
url='https://github.com/kevinconway/rpmvenv',
description='RPM packager f... | mit | Python |
950b74010288c9dad4cd58fe67c90b429cf119a4 | add package aiortc.contrib (#47) | aiortc/aiortc | setup.py | setup.py | import os.path
import sys
import setuptools
root_dir = os.path.abspath(os.path.dirname(__file__))
readme_file = os.path.join(root_dir, 'README.rst')
with open(readme_file, encoding='utf-8') as f:
long_description = f.read()
if os.environ.get('READTHEDOCS') == 'True':
cffi_modules=[]
else:
cffi_modules=[
... | import os.path
import sys
import setuptools
root_dir = os.path.abspath(os.path.dirname(__file__))
readme_file = os.path.join(root_dir, 'README.rst')
with open(readme_file, encoding='utf-8') as f:
long_description = f.read()
if os.environ.get('READTHEDOCS') == 'True':
cffi_modules=[]
else:
cffi_modules=[
... | bsd-3-clause | Python |
96f4ff4304ba46ab81ae0bde5f653865ed324629 | debug travis | scienceopen/histutils,scienceopen/histutils | setup.py | setup.py | #!/usr/bin/env python
req= ['python-dateutil', 'pytz','nose','numpy','scipy','h5py', 'astropy', 'matplotlib','seaborn']
pipreq = ['pathvalidate','pymap3d','sciencedates',]
import pip
try:
import conda.cli
conda.cli.main('install',*req)
except ImportError:
pip.main(['install'] + req)
pip.main(['install'] ... | #!/usr/bin/env python
req= ['python-dateutil', 'pytz','nose','numpy','scipy', 'pandas', 'h5py', 'astropy', 'matplotlib','seaborn']
pipreq = ['pathvalidate','pymap3d','sciencedates',]
import pip
try:
import conda.cli
conda.cli.main('install',*req)
except Exception:
pip.main(['install'] + req)
pip.main(['i... | mit | Python |
f7b83c0c0f83176ca72474a45df16e3dea288da6 | Bump version post-release | praekelt/go-api-toolkit,praekelt/go-api-toolkit | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="go_api",
version="0.1.8a",
url='http://github.com/praekelt/go-api-toolkit',
license='BSD',
description="A toolkit for building Vumi Go APIs",
long_description=open('README.rst', 'r').read(),
author='Praekelt Foundation',
author_em... | from setuptools import setup, find_packages
setup(
name="go_api",
version="0.1.7a",
url='http://github.com/praekelt/go-api-toolkit',
license='BSD',
description="A toolkit for building Vumi Go APIs",
long_description=open('README.rst', 'r').read(),
author='Praekelt Foundation',
author_em... | bsd-3-clause | Python |
2b47f180ed79bbfe553e3c477ad12c5fa69e2823 | Upgrade djsonb to fix syntax error | flibbertigibbet/ashlar,flibbertigibbet/ashlar,azavea/ashlar,azavea/ashlar | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='info@azavea.com',
keywords='gis jsonschema',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = []
setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
author='Azavea, Inc.',
author_email='info@azavea.com',
keywords='gis jsonschema',
... | mit | Python |
f78dc495dd23317da780b56f3c2d2c674e3c8bd9 | Remove setup.py cruft. | ojii/readthedocs.org,sid-kap/readthedocs.org,takluyver/readthedocs.org,attakei/readthedocs-oauth,kdkeyser/readthedocs.org,Tazer/readthedocs.org,sunnyzwh/readthedocs.org,michaelmcandrew/readthedocs.org,soulshake/readthedocs.org,stevepiercy/readthedocs.org,sid-kap/readthedocs.org,soulshake/readthedocs.org,CedarLogic/read... | setup.py | setup.py | import os
from setuptools import setup, find_packages
setup(
name='readthedocs',
version="1.0",
description='A documentation hosting website',
#long_description=readme,
author='Eric Holscher, Charles Leifer, Bobby Grace',
author_email='eric@ericholscher.com',
url='http://readthedocs.org',
... | import os
from setuptools import setup, find_packages
#libraries = [l.strip() for l in open('pip_requirements.txt').readlines()]
setup(
name='readthedocs',
version="1.0",
description='A documentation hosting website',
#long_description=readme,
author='Eric Holscher, Charles Leifer, Bobby Grace',
... | mit | Python |
73ec7da13e668ae6555f20daa673c29659f390a4 | allow installation via direct execution of setup.py from outside the package directory | Ede123/scour,oberstet/scour,scour-project/scour,codedread/scour | setup.py | setup.py | ###############################################################################
##
## Copyright (C) 2013-2014 Tavendo GmbH
##
## 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
##
## h... | ###############################################################################
##
## Copyright (C) 2013-2014 Tavendo GmbH
##
## 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
##
## h... | apache-2.0 | Python |
2bb430b91ddf2375751c250f2789587440e7977c | make setup.py python 2/3 compatible | emattiza/maya,Factr/maya,moin18/maya,timofurrer/maya,kennethreitz/maya | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
try:
# Python 3
from os import dirname
except ImportError:
# Python 2
from os.path import dirname
here = os.path.abspath(dirname(__file__))
def read(*parts):
return codecs.open(os.path.... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
here = os.path.abspath(os.dirname(__file__))
def read(*parts):
return codecs.open(os.path.join(here, *parts), 'r').read()
if sys.argv[-1] == "publish":
os.system("python setup.py sdist bdist_wheel... | mit | Python |
8a602f03bd4c1aaec5d9f6c04fc181c8ef1d5928 | Drop support for Django<1.8 | gizmag/django-generic-follow,gizmag/django-generic-follow | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-generic-follow',
version='0.5.0',
description='Generic follow system for Django',
author='Gizmag',
author_email='tech@gizmag.com',
url='https://github.com/gizmag/django-generic-follow',
packages=find_pack... | #!/usr/bin/env python
from setuptools import setup, find_packages
REQUIRES = ['django']
try:
import django
if django.VERSION[:2] < (1, 7):
REQUIRES.append("South")
except ImportError:
pass
setup(
name='django-generic-follow',
version='0.4.2',
description='Generic follow system for Dja... | mit | Python |
2df668d756b6025a9a2e7b33eab45f4067b6fc2c | add url | rdeits/meshcat-python | setup.py | setup.py | from setuptools import setup
setup(name="meshcat",
version="0.0.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.0.1.tar.gz",
author="Robin Deits",
author_emai... | from setuptools import setup
setup(name="meshcat",
version="0.0.1",
description="WebGL-based visualizer for 3D geometries and scenes",
url="https://github.com/rdeits/meshcat-python",
author="Robin Deits",
author_email="mail@robindeits.com",
license="MIT",
packages=["meshcat"],
install_r... | mit | Python |
f4f82c4fec248262b7a630e0ea5e002fdd2abfd0 | Bump version number. | mattions/pyfaidx | setup.py | setup.py | from setuptools import setup
setup(
name='pyfaidx',
provides='pyfaidx',
version="0.1.4",
author='Matthew Shirley',
author_email='mdshw5@gmail.com',
url='http://mattshirley.com',
description='"samtools faidx" compatible FASTA indexing in pure python',
license='MIT',
packages=['pyfaid... | from setuptools import setup, Extension
import distutils.core
import sys
import os
setup(
name = 'pyfaidx',
provides = 'pyfaidx',
version = "0.1.3",
author = 'Matthew Shirley',
author_email = 'mdshw5@gmail.com',
url = 'http://mattshirley.com',
description = '"sam... | bsd-3-clause | Python |
4a52d74ddffe96e3a97cc91f74d49bf63654633d | update the setup.py file | markshao/pagrant | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='pagrant',
version='1.4',
url='https://github.com/markshao/pagrant',
license='MIT',
author='markshao,yilan',
author_email='mark.shao@emc.com',
description='a distributed test framework',
scripts=['bin/pagrant'],
classifiers=[
... | from setuptools import setup, find_packages
setup(
name='pagrant',
version='1.1',
url='https://github.com/markshao/pagrant',
license='MIT',
author='markshao,yilan',
author_email='mark.shao@emc.com',
description='a distributed test framework',
scripts=['bin/pagrant'],
classifiers=[
... | mit | Python |
4a2057ec89ad3248c4ed68a2bcc544da8f52618e | Fix package name for mysql interface | ClinGen/clincoded,hms-dbmi/fourfront,kidaa/encoded,hms-dbmi/fourfront,T2DREAM/t2dream-portal,hms-dbmi/fourfront,ENCODE-DCC/snovault,hms-dbmi/fourfront,ENCODE-DCC/encoded,philiptzou/clincoded,kidaa/encoded,philiptzou/clincoded,kidaa/encoded,4dn-dcic/fourfront,ClinGen/clincoded,ENCODE-DCC/snovault,ENCODE-DCC/snovault,kid... | setup.py | setup.py | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'Pillow',
'SQLAlchemy',
'WSGIProxy2',
'WebTest',
'jsonschema',
'l... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'Pillow',
'SQLAlchemy',
'WSGIProxy2',
'WebTest',
'jsonschema',
'l... | mit | Python |
bee75c5c377bae96c8fa730de4d22ea394a62cd1 | Bump version to 0.3.2 | mwilliamson/spur.py | setup.py | setup.py | #!/usr/bin/env python
import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='spur',
version='0.3.2',
description='Run commands and manipulate files locally or over SSH using the same interface',
long_description=... | #!/usr/bin/env python
import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='spur',
version='0.3.1',
description='Run commands and manipulate files locally or over SSH using the same interface',
long_description=... | bsd-2-clause | Python |
1faa0dc39c4c9c3fce5f476829a6f75723067304 | Increase version. | PyBossa/rasberrypi-trapcamera | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
long_description = "A command line tool for Raspberry Pi that captures pictures \
using the PiCamera, uploads them to Flickr and creates a PyBossa task to \
analyze the captured picture with the crowd."
setup(
name="pybossa-raspbe... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
long_description = "A command line tool for Raspberry Pi that captures pictures \
using the PiCamera, uploads them to Flickr and creates a PyBossa task to \
analyze the captured picture with the crowd."
setup(
name="pybossa-raspbe... | agpl-3.0 | Python |
d1b91c054b9455b61f3f97bb4b272a6ea5000ba3 | remove distutils temporary | JinnLynn/gude,JinnLynn/gude,JinnLynn/gude | setup.py | setup.py | import sys, os
from gude.setting import __version__
try:
from setuptools import setup, find_packages
setup_params = {
'entry_points': {
'console_scripts': [
'gude=gude:run'
],
},
'zip_safe': False,
}
except ImportError, e:
print('ERROR: {}... | import sys, os
from gude.setting import __version__
try:
from setuptools import setup, find_packages, findall
setup_params = {
'entry_points': {
'console_scripts': [
'gude=gude:run'
],
},
'zip_safe': False,
}
except ImportError:
from distu... | mit | Python |
0252cb22292830886bb093068f453176ac63d549 | bump version | RealGeeks/django-cache-purge-hooks,RealGeeks/django-cache-purge-hooks | setup.py | setup.py | from setuptools import setup, find_packages
install_requires = ['requests']
try:
import importlib
except ImportError:
install_requires.append('importlib')
setup(
name = 'django-cache-purge-hooks',
version = '0.4.0',
packages = find_packages(),
author = 'Shu Zong Chen',
author_email = 'sh... | from setuptools import setup, find_packages
install_requires = ['requests']
try:
import importlib
except ImportError:
install_requires.append('importlib')
setup(
name = 'django-cache-purge-hooks',
version = '0.3.1',
packages = find_packages(),
author = 'Shu Zong Chen',
author_email = 'sh... | mit | Python |
0c07dd5a5326074f0cf56b72c97f4b55ea7b8dc1 | update setup.py | creimers/cmsplugin_instagram,creimers/cmsplugin_instagram | setup.py | setup.py | from distutils.core import setup
import cmsplugin_instagram
version = cmsplugin_instagram.__version__
setup(
name = 'cmsplugin_instagram',
packages = ['cmsplugin_instagram'],
version = version,
description = 'A djangocms plugin displaying images of an instagram account',
author = 'Christoph Reime... | from distutils.core import setup
import cmsplugin_instagram
version = cmsplugin_instagram.__version__
setup(
name = 'cmsplugin_instagram',
packages = ['cmsplugin_instagram'],
version = version,
description = 'A djangocms plugin displaying images of an instagram account',
author = 'Christoph Reime... | bsd-2-clause | Python |
2bc3a0fa614d8162234000d840f32123151897d0 | Reset version number | Empiria/matador | setup.py | setup.py | from setuptools import setup, find_packages
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(func)
setup(
... | from setuptools import setup, find_packages
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(func)
setup(
... | mit | Python |
44a447fc37a513934a38e6f7c3d80bf7b768f6d3 | Add Typing python package classifier | albertyw/csv-to-ical | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from codecs import open
from os import path
from setuptools import setup, find_packages
from typing import Dict
# Get the long description from the README file
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from codecs import open
from os import path
from setuptools import setup, find_packages
from typing import Dict
# Get the long description from the README file
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
... | mit | Python |
790cd162e9e610211c5c8feac153f2909516a6d5 | Remove excess from setup | nvander1/skrt | setup.py | setup.py | """Setup module for skrt.
See:
https://github.com/nvander1/skrt
"""
from setuptools import setup
with open('README.rst') as f:
readme = f.read()
setup(
name='skrt',
version='1.0.0',
description='Nifty tools and containers',
long_description=readme,
url='https://github.com/nvander1/skrt',
... | """Setup module for skrt.
See:
https://github.com/nvander1/skrt
"""
from codecs import open
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='skrt',
versi... | mit | Python |
4d286618205a3a504553a7e0aa16609dac7a6eec | bump version to 0.3.0 | bwhmather/python-linemode | setup.py | setup.py | from setuptools import setup, find_packages
extras_require = {
'XMLRenderer': [
'lxml >= 2.3, < 4',
],
'Serial': [
'pyserial',
],
}
setup(
name='linemode',
url='github.com/bwhmather/python-linemode',
version='0.3.0',
author='Ben Mather',
author_email='bwhmather@bwhm... | from setuptools import setup, find_packages
extras_require = {
'XMLRenderer': [
'lxml >= 2.3, < 4',
],
'Serial': [
'pyserial',
],
}
setup(
name='linemode',
url='github.com/bwhmather/python-linemode',
version='0.2.1',
author='Ben Mather',
author_email='bwhmather@bwhm... | bsd-3-clause | Python |
003dee3e028a83b587a12d4154d4e98f431feab8 | add future as a dependency | cloud-compose/cloud-compose-mongo | setup.py | setup.py | import os
from setuptools import setup, find_packages
import warnings
setup(
name='cloud-compose-mongo',
version='0.1.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'click>=6.6',
'boto3>=1.3.1',
'botocore>=1.4.14',
'docutils>=0.12',
... | import os
from setuptools import setup, find_packages
import warnings
setup(
name='cloud-compose-mongo',
version='0.1.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'click>=6.6',
'boto3>=1.3.1',
'botocore>=1.4.14',
'docutils>=0.12',
... | mit | Python |
618e24094349b7e462971379e0c405f03fbd8ee2 | Disable setup.py | mikehulluk/morphforge,mikehulluk/morphforge,mikehulluk/morphforge | setup.py | setup.py |
from distutils.core import setup
import os
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd:
print
print """This setup.py is not complete, it is only here"""
print """so that the docs can be built on read-the-docs."""
print """Please see the morphforge documentation for more"""
... |
from distutils.core import setup
pkgs = [
'mhlibs',
'mhlibs.quantities_plot',
'mhlibs.scripttools',
'morphforge',
"morphforge/componentlibraries",
"morphforge/core",
"morphforge/core/mgrs",
"morphforge/core/quantities",
"morphforge/morphology",
"morphforge/morphology/builders",
"morphforge/morphology/core",
"morphfo... | bsd-2-clause | Python |
ee1fcaf4538a5761afa1cfc0a2619ff44be20c15 | Fix long_description in setup.py | TangledWeb/tangled | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='tangled',
version='0.1.dev0',
description='Tangled namespace and utilities',
long_description=open('README.rst').read(),
packages=find_packages(),
extras_require={
'dev': (
'coverage>=3.7.1',
'pep8>=1.4.6'... | from setuptools import setup, find_packages
setup(
name='tangled',
version='0.1.dev0',
description='Tangled namespace and utilities',
long_description=open('README').read(),
packages=find_packages(),
extras_require={
'dev': (
'coverage>=3.7.1',
'pep8>=1.4.6',
... | mit | Python |
6f2dc21abb644769b8f8dd1f252e77b69737593a | Make qtpy a requirement | pbvarga1/pystamps | 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:', ... | bsd-3-clause | Python |
b8b87d416e5e76b5aab322bd38f0b1cfb9218d01 | install simplejson if python < 2.6 | msabramo/requests,Bluehorn/requests,dvska/requesocks,abueesp/requesocks,revolunet/requests,hph86/requesocks,garnaat/requests,garnaat/requests,revolunet/requests,psf/requests | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import requests
from distutils.core import setup
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
if sys.argv[-1] == "test":
os.system("python test_requests.py")
sys.exit()
required = []
if sys.v... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import requests
from distutils.core import setup
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
if sys.argv[-1] == "test":
os.system("python test_requests.py")
sys.exit()
required = []
... | isc | Python |
3d20c13d95c46348ecd939cc0999c9a814dc0a41 | Use with statement when reading VERSION | jsubpy/jsub,jsubpy/jsub | setup.py | setup.py | import sys
import os
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to pytest")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pyt... | import sys
import os
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to pytest")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pyt... | mit | Python |
d8ee9df678271efc85d89da07f5596d3a99b94a1 | Bump version with fix | jcrobak/parquet-python | setup.py | setup.py | """setup.py - build script for parquet-python."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as f:
readme = f.read()
setup(
name='parquet',
version='1.3.1',
description='Python support for Parquet file format',
long_descr... | """setup.py - build script for parquet-python."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as f:
readme = f.read()
setup(
name='parquet',
version='1.3',
description='Python support for Parquet file format',
long_descrip... | apache-2.0 | Python |
ade80d20c98efc464c666d3f7dae41439bcd1fbd | Update setup.py (#22) | OpenTMI/opentmi-client-python | setup.py | setup.py | import os
from distutils.core import setup
from setuptools import find_packages
DESCRIPTION = "opentmi-client"
OWNER_NAMES = 'Jussi Vatjus-Anttila'
OWNER_EMAILS = 'jussiva@gmail.com'
# Utility function to cat in a file (used for the README)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fnam... | import os
from distutils.core import setup
from setuptools import find_packages
DESCRIPTION = "opentmi-client"
OWNER_NAMES = 'Jussi Vatjus-Anttila'
OWNER_EMAILS = 'jussiva@gmail.com'
def read_requirements(fname):
with open(fname) as fhandle:
return fhandle.read().splitlines()
# Utility function to cat i... | mit | Python |
81cedfbb5d09afa6739a70a410e8dc6860330141 | Fix shebang | j0057/github-release,j0057/github-release | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
with open('README.md', 'r') as fp:
readme = fp.read()
with open('requirements.txt', 'r') as fp:
requirements = list(filter(bool, (line.strip() for line in fp)))
with open('requirements-dev.txt', 'r') as fp:
dev_requirements = list(filter(bool, (line.str... | #!/usr/bin/env python2.7
from setuptools import setup
with open('README.md', 'r') as fp:
readme = fp.read()
with open('requirements.txt', 'r') as fp:
requirements = list(filter(bool, (line.strip() for line in fp)))
with open('requirements-dev.txt', 'r') as fp:
dev_requirements = list(filter(bool, (line.... | apache-2.0 | Python |
6d31e7915f285bd88d51782d40b14987f6a7c2f2 | Bump Trax version to 1.2.3 | google/trax,google/trax | setup.py | setup.py | # coding=utf-8
# Copyright 2020 The Trax Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | # coding=utf-8
# Copyright 2020 The Trax Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | apache-2.0 | Python |
e022b639781f6fae7145fcb7496730ad6e9fcf20 | Add PyPi keywords. | TyVik/YaDiskClient | setup.py | setup.py | #-*- coding: utf-8 -*-
from setuptools import setup, find_packages
import YaDiskClient
setup(
name='YaDiskClient',
version=YaDiskClient.__version__,
include_package_data=True,
py_modules=['YaDiskClient'],
url='https://github.com/TyVik/YaDiskClient',
license='MIT',
author='TyVik',
author... | #-*- coding: utf-8 -*-
from setuptools import setup, find_packages
import YaDiskClient
setup(
name='YaDiskClient',
version=YaDiskClient.__version__,
include_package_data=True,
py_modules=['YaDiskClient'],
url='https://github.com/TyVik/YaDiskClient',
license='MIT',
author='TyVik',
author... | mit | Python |
4bba0a5a240d4ffb9eb32feebca8834e4a22d564 | Bump version | SUNET/eduid-common | setup.py | setup.py | from setuptools import setup, find_packages
version = '0.2.1b17'
requires = [
'setuptools >= 2.2',
'eduid-userdb >= 0.0.5',
]
# Flavours
webapp_requires = [
'Flask>=0.10.1,<0.12',
'pysaml2 >= 4.0.3rc1', # version sync with dashboard to avoid pip catastrophes
'redis >= 2.10.5',
'pwgen == 0.4... | from setuptools import setup, find_packages
version = '0.2.1b16'
requires = [
'setuptools >= 2.2',
'eduid-userdb >= 0.0.5',
]
# Flavours
webapp_requires = [
'Flask>=0.10.1,<0.12',
'pysaml2 >= 4.0.3rc1', # version sync with dashboard to avoid pip catastrophes
'redis >= 2.10.5',
'pwgen == 0.4... | bsd-3-clause | Python |
e2ae234189b44f5b83f48b31b553da2505c9d348 | Bump version to 1.14. | HXLStandard/libhxl-python,HXLStandard/libhxl-python | setup.py | setup.py | #!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(name='libhxl',
version='1.14',
description='Python support for the Humanitarian Exchange Language (HXL).',
author='David Megginson',
author_email='co... | #!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(name='libhxl',
version='1.13',
description='Python support for the Humanitarian Exchange Language (HXL).',
author='David Megginson',
author_email='co... | unlicense | Python |
2411a3f1ed0cd0ed3990439d0b31cfb9850a4240 | Remove PasteScript dependency | sgmap/openfisca-web-api,openfisca/openfisca-web-api,sgmap/openfisca-web-api,openfisca/openfisca-web-api | 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 OpenFisca Team
# https://github.com/openfisca
#
# This file is part of OpenFisca.
#
# OpenFisca is free software; you can redistribute... | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# OpenFisca -- A versatile microsimulation software
# By: OpenFisca Team <contact@openfisca.fr>
#
# Copyright (C) 2011, 2012, 2013, 2014 OpenFisca Team
# https://github.com/openfisca
#
# This file is part of OpenFisca.
#
# OpenFisca is free software; you can redistribute... | agpl-3.0 | Python |
fc8c15ac5c0e006f7a2766d431a39bb347387853 | update py version classifiers to match travis | thobbs/pure-sasl | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import puresasl
setup(name='pure-sasl',
version=puresasl.__version__,
author='Tyler Hobbs',
author_email='tylerlhobbs@gmail.com',
description='Pure Python client SASL implementation',
long_description=
"""This pa... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import puresasl
setup(name='pure-sasl',
version=puresasl.__version__,
author='Tyler Hobbs',
author_email='tylerlhobbs@gmail.com',
description='Pure Python client SASL implementation',
long_description=
"""This pa... | mit | Python |
15a94088737ffc56806a9bcd2dbc2e6a315ddb32 | update version of stream-python | QLGu/stream-django,GetStream/stream-django,GetStream/stream-django | setup.py | setup.py | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
requirements = [
'django>=1.5',
'stream-python>=2.1.3',
'pytz'
]
test_requirements = [
'httpretty',
'coverage'
]
setup(
name='stream-django',
vers... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
requirements = [
'django>=1.5',
'stream-python>=2.1.2',
'pytz'
]
test_requirements = [
'httpretty',
'coverage'
]
setup(
name='stream-django',
vers... | bsd-3-clause | Python |
bac7bc1bb9663adebe0c1768d67c4ed1d1f452fc | Remove support for Python 2 | SethMMorton/natsort | setup.py | setup.py | #! /usr/bin/env python
from setuptools import find_packages, setup
setup(
name='natsort',
version='6.0.0',
packages=find_packages(),
entry_points={'console_scripts': ['natsort = natsort.__main__:main']},
python_requires=">=3.4",
extras_require={
'fast': ["fastnumbers >= 2.0.0"],
... | #! /usr/bin/env python
from setuptools import find_packages, setup
setup(
name='natsort',
version='6.0.0',
packages=find_packages(),
entry_points={'console_scripts': ['natsort = natsort.__main__:main']},
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
extras_require={
'fast... | mit | Python |
4f64514e21b2a4a558a69841889dceb9331c9d42 | Correct logic for requiring unittest2 on python 2.6 | emory-libraries/eulxml | setup.py | setup.py | #!/usr/bin/env python
from distutils.command.build_py import build_py
import os
import sys
from setuptools import setup, find_packages
import eulxml
class build_py_with_ply(build_py):
'''Use ply to generate parsetab and lextab modules.'''
def run(self, *args, **kwargs):
# importing this forces ply t... | #!/usr/bin/env python
from distutils.command.build_py import build_py
import os
import sys
from setuptools import setup, find_packages
import eulxml
class build_py_with_ply(build_py):
'''Use ply to generate parsetab and lextab modules.'''
def run(self, *args, **kwargs):
# importing this forces ply t... | apache-2.0 | Python |
20f9ebe8ab1719e706a78efefff1c6f206cd431a | set correct project URL in setup.py | vparitskiy/django-staging,code-on/django-staging,vparitskiy/django-staging,code-on/django-staging,vparitskiy/django-staging,code-on/django-staging | setup.py | setup.py | from distutils.core import setup
setup(
name='django-staging',
version='0.1',
packages=['staging', 'staging.management', 'staging.management.commands'],
url='https://github.com/code-on/django-staging',
license='BSD licence, see LICENCE',
description='Project staging helpers',
long_descripti... | from distutils.core import setup
setup(
name='django-staging',
version='0.1',
packages=['staging', 'staging.management', 'staging.management.commands'],
url='https://github.com/pydevua/django-staging',
license='BSD licence, see LICENCE',
description='Project staging helpers',
long_descripti... | bsd-3-clause | Python |
0fbab8e7e076d853996218d2bbe8dc17630749d9 | Fix package name error in setup.py | winkidney/huaban-exporter | setup.py | setup.py | from setuptools import setup
install_requires = (
"cmdtree",
"requests",
"tqdm",
)
setup(
name='huaban-exporter',
version='0.0.1',
py_modules=["huaban_exporter"],
install_requires=install_requires,
url='https://github.com/winkidney/huaban-exporter',
license='MIT',
author='wink... | from setuptools import setup
install_requires = (
"cmdtree",
"requests",
"tqdm",
)
setup(
name='huaban-exporter',
version='0.0.1',
py_modules="huaban_exporter.py",
install_requires=install_requires,
url='https://github.com/winkidney/huaban-exporter',
license='MIT',
author='win... | mit | Python |
63a8543866c74de73c9345299c45c4b2926b1f30 | Bump version | delvelabs/easyinject | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='EasyInject',
version='0.2',
description='A pythonic, reflection driven, dependency injection container',
author='Delve Labs inc.',
author_email='info@delvelabs.ca',
url='https://github.com/delvelabs/easyinject',
package... | #!/usr/bin/env python
from setuptools import setup
setup(name='EasyInject',
version='0.1',
description='A pythonic, reflection driven, dependency injection container',
author='Delve Labs inc.',
author_email='info@delvelabs.ca',
url='https://github.com/delvelabs/easyinject',
package... | mit | Python |
572ecd6fb620183bb85dfb1a1f911511fd9af70b | Remove bower flag | uboot/stromx-web,uboot/stromx-web,uboot/stromx-web | setup.py | setup.py | # -*- coding: utf-8 -*-
from distutils.core import setup
import os
import shutil
import subprocess
# build the client
os.chdir('frontend')
if os.path.exists('dist'):
shutil.rmtree('dist')
env = os.environ.copy()
subprocess.call(['npm', 'install'])
subprocess.call(['./node_modules/.bin/bower', 'install'], shell=Tr... | # -*- coding: utf-8 -*-
from distutils.core import setup
import os
import shutil
import subprocess
# build the client
os.chdir('frontend')
if os.path.exists('dist'):
shutil.rmtree('dist')
env = os.environ.copy()
subprocess.call(['npm', 'install'])
subprocess.call(['./node_modules/.bin/bower', '--allow-root', 'ins... | apache-2.0 | Python |
a3c9aa870faabf78ed4c07d9e5fe7486ba2d11ea | Update setup.py | tody411/NPR-SFS | setup.py | setup.py |
# -*- coding: utf-8 -*-
## @package setup
#
# setup utility package.
# @author tody
# @date 2015/07/29
from setuptools import setup, find_packages
from npr_sfs import __author__, __version__, __license__
setup(
name = 'npr_sfs',
version = __version__,
description = 'Sample impl... |
# -*- coding: utf-8 -*-
## @package setup
#
# setup utility package.
# @author tody
# @date 2015/07/29
from setuptools import setup, find_packages
from npr_sfs import __author__, __version__, __license__
setup(
name = 'npr_sfs',
version = __version__,
description = 'Sample impl... | mit | Python |
27bd915dac882ce1fafba89c9ec00506269bbdbf | Add items to install_requires | ecohealthalliance/EpiTator | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name='annie',
version='0.2.1',
packages=['annotator', ],
install_requires=['lazy', 'nltk', 'pattern', ]
)
| try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name='annie',
version='0.2.1',
packages=['annotator', ],
install_requires=['lazy', ]
) | apache-2.0 | Python |
1479095088b55f6a0f124314f25365606b6958ae | fix py2-ism in check_examples.py | cournape/Bento,cournape/Bento,cournape/Bento,cournape/Bento | check_examples.py | check_examples.py | import os
import subprocess
import shutil
from bento.core import PackageDescription
tests = []
for root, d, files in os.walk("examples"):
if os.path.exists(os.path.join(root, "bento.info")):
if not os.path.exists(os.path.join(root, os.pardir, "bento.info")):
tests.append(root)
def use_waf(d):... | import os
import subprocess
import shutil
from bento.core import PackageDescription
tests = []
for root, d, files in os.walk("examples"):
if os.path.exists(os.path.join(root, "bento.info")):
if not os.path.exists(os.path.join(root, os.pardir, "bento.info")):
tests.append(root)
def use_waf(d):... | bsd-3-clause | Python |
1160bb9eef2c3e488114ed034eaa2bfaeb99635e | Bump version to 1.4.16 | mwilliamson/python-mammoth | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mammoth',
version='1.4.16',
description='Convert Word documents from docx to simple and clean HTML and Markdown',
long_descript... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mammoth',
version='1.4.15',
description='Convert Word documents from docx to simple and clean HTML and Markdown',
long_descript... | bsd-2-clause | Python |
7969a5d05f509579d4dedffc736e09a7bc1ac67d | Add url in setup.py | tsiang/certchecker | setup.py | setup.py | from setuptools import setup, find_packages
import os
requirements = [
'boto>=2.37.0',
'click>=4.0'
]
setup(
name='certchecker',
description="A tool to check SSL Certificates in AWS",
version='0.2.0',
long_description=__doc__,
packages=find_packages(),
include_package_data=True,
a... | from setuptools import setup, find_packages
import os
requirements = [
'boto>=2.37.0',
'click>=4.0'
]
setup(
name='certchecker',
description="A tool to check SSL Certificates in AWS",
version='0.2.0',
long_description=__doc__,
packages=find_packages(),
include_package_data=True,
a... | apache-2.0 | Python |
2acd0254bdfd835779433b945043a1be6cf54892 | bump version to 0.2.1 | maxhutch/chest,blaze/chest,pombredanne/chest,llllllllll/chest,ContinuumIO/chest,quantopian/chest | chest/__init__.py | chest/__init__.py | from .core import Chest
__version__ = '0.2.1'
| from .core import Chest
__version__ = '0.2.0'
| bsd-3-clause | Python |
fda42259e8ba26581a384f7b18855a9ddd9b3cca | modifica setup | hugobarzano/IV_hugobarzano,hugobarzano/IV_hugobarzano,hugobarzano/IV_hugobarzano,hugobarzano/osl-computer-management,hugobarzano/osl-computer-management,hugobarzano/osl-computer-management,hugobarzano/IV_hugobarzano,hugobarzano/osl-computer-management,hugobarzano/IV_hugobarzano,hugobarzano/osl-computer-management | setup.py | setup.py | from setuptools import setup
setup(name='ComputerManagement',
version='0.0.1',
description='Plataforma para automatizar el proceso de recogida y catalogacion de equipos informaticos',
url='https://github.com/hugobarzano/osl-computer-management',
author='Hugo Barzano Cruz',
author_email='hugobarzano@gmail.com',
l... | from setuptools import setup
setup(name='ComputerManagement',
version='0.0.1',
description='Plataforma para automatizar el proceso de recogida y catalogacion de equipos informaticos',
url='https://github.com/hugobarzano/osl-computer-management',
author='Hugo Barzano Cruz',
author_email='hugobarzano@gmail.com',
l... | artistic-2.0 | Python |
7e2c4df98f40569e05f7f45793b7ae362160185a | Update author email. | kti/python-netfilterqueue | setup.py | setup.py | from distutils.core import setup, Extension
VERSION = "0.6" # Remember to change README.rst when version changes.
try:
# Use Cython
from Cython.Distutils import build_ext
cmd = {"build_ext": build_ext}
ext = Extension(
"netfilterqueue",
sources=["netfilterqueue.pyx",],
... | from distutils.core import setup, Extension
VERSION = "0.6" # Remember to change README.rst when version changes.
try:
# Use Cython
from Cython.Distutils import build_ext
cmd = {"build_ext": build_ext}
ext = Extension(
"netfilterqueue",
sources=["netfilterqueue.pyx",],
... | mit | Python |
3d4a32f6e9de32a06a44cb734c6159ec3da7b2c2 | Add missing import. | todddeluca/reciprocal_smallest_distance | setup.py | setup.py |
# try using distribute or setuptools or distutils.
try:
import distribute_setup
distribute_setup.use_setuptools()
except:
pass
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import sys
import re
# parse version from package/module without importing or eva... |
# try using distribute or setuptools or distutils.
try:
import distribute_setup
distribute_setup.use_setuptools()
except:
pass
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os
import sys
# parse version from package/module without importing or eva... | mit | Python |
9564692c1044779467e926f830b8f28e1661cb73 | Remove per patch version classifiers | eerimoq/argparse_addons | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
import argparse_addons
setup(name='argparse_addons',
version=argparse_addons.__version__,
description=('Additional argparse types and actions.'),
long_description=open('README.rst', 'r').read(),
author='Erik Moqvist',
author_email='erik.... | #!/usr/bin/env python
from setuptools import setup
import argparse_addons
setup(name='argparse_addons',
version=argparse_addons.__version__,
description=('Additional argparse types and actions.'),
long_description=open('README.rst', 'r').read(),
author='Erik Moqvist',
author_email='erik.... | mit | Python |
b5c264774d14516e0c215056ce9c13d31dd23722 | add to setup.py, including tests_require | FOSSRIT/charsheet,FOSSRIT/charsheet,FOSSRIT/charsheet | setup.py | setup.py | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'coderwall',
'elementtree',
'kitchen',
'hashlib',
'pyramid',
'py... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'coderwall',
'elementtree',
'kitchen',
'hashlib',
'pyramid',
'py... | agpl-3.0 | Python |
e5b4c172dc1c3deb866c8e442605b3b82864288b | update version | gngdb/holo-nets | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
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 pytest... | #!/usr/bin/env python
from distutils.core import setup
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 pytest... | mit | Python |
0881a34fe78d8967bfbe85f7c16839ce2a802aa2 | Change PyPI wheel name to 'magical-il' | qxcv/magical,qxcv/magical | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import find_packages, setup
setup(
name='magical-il',
version='0.0.1alpha0',
packages=find_packages(),
install_requires=[
'pymunk~=5.6.0',
'pyglet==1.5.*',
'gym==0.17.*',
'Click>=7.0',
'numpy>=1.17.4',
'cloudpickle>=... | #!/usr/bin/env python3
from setuptools import find_packages, setup
setup(
name='magical',
version='0.0.1',
packages=find_packages(),
install_requires=[
'pymunk~=5.6.0',
'pyglet==1.5.*',
'gym==0.17.*',
'Click>=7.0',
'numpy>=1.17.4',
'cloudpickle>=1.2.2',
... | isc | Python |
6b3bfa0a7dccc6e02eb7257e9262a972b4cf513a | Make setup.py executable | alex-sherman/deco | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(
name = "deco",
version = "0.3",
description = "A decorator for concurrency",
packages = ["deco"],
author='Alex Sherman',
author_email='asherman1024@gmail.com',
url='https://github.com/alex-sherman/deco')
| from distutils.core import setup
setup(
name = "deco",
version = "0.3",
description = "A decorator for concurrency",
packages = ["deco"],
author='Alex Sherman',
author_email='asherman1024@gmail.com',
url='https://github.com/alex-sherman/deco')
| mit | Python |
14f1225ef6780dc30b4329ea5d9c4b5549c38b0c | build libnatpmp.a | miniupnp/libnatpmp,miniupnp/libnatpmp,miniupnp/libnatpmp | setup.py | setup.py | #! /usr/bin/python
# $Id: setup.py,v 1.3 2012/03/05 04:54:01 nanard Exp $
#
# python script to build the libnatpmp module under unix
from setuptools import setup, Extension
from setuptools.command import build_ext
import subprocess
EXT = ['libnatpmp.a']
class make_then_build_ext(build_ext.build_ext):
def run(s... | #! /usr/bin/python
# $Id: setup.py,v 1.3 2012/03/05 04:54:01 nanard Exp $
#
# python script to build the libnatpmp module under unix
#
# replace libnatpmp.a by libnatpmp.so for shared library usage
from distutils.core import setup, Extension
from distutils import sysconfig
sysconfig.get_config_vars()["OPT"] = ''
syscon... | bsd-3-clause | Python |
bf4bb91e6cdb6a5e9db24288fb3b510e92ab437f | Add Python 3.9 to the supported list | icgood/pysasl | setup.py | setup.py | # Copyright (c) 2020 Ian C. Good
#
# 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 use, copy, modify, merge, publish, distrib... | # Copyright (c) 2020 Ian C. Good
#
# 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 use, copy, modify, merge, publish, distrib... | mit | Python |
d4ec75c2d1ee150bc3855442809749d5d148b9b3 | Fix reStructuredText code blocks. | renstrom/python-jump-consistent-hash,renstrom/python-jump-consistent-hash,renstrom/python-jump-consistent-hash | setup.py | setup.py | # -*- coding: utf-8 -*-
"""
Jump Consistent Hash
--------------------
Python (3) implementation of the jump consistent hash algorithm by John Lamping
and Eric Veach[1].
Usage
`````
.. code:: python
>>> import jump
>>> jump.hash(256, 1024)
520
Or if you want to use the C++ extension:
.. code:: python
... | # -*- coding: utf-8 -*-
"""
Jump Consistent Hash
--------------------
Python (3) implementation of the jump consistent hash algorithm by John Lamping
and Eric Veach[1].
Usage
`````
.. code:: python
>>> import jump
>>> jump.hash(256, 1024)
520
Or if you want to use the C++ extension:
.. code:: python
... | mit | Python |
bda22ade2b263ed8706e277664d95137d690c728 | Bump version | getsentry/responses,getsentry/responses | setup.py | setup.py | #!/usr/bin/env python
"""
responses
=========
A utility library for mocking out the `requests` Python library.
:copyright: (c) 2015 David Cramer
:license: Apache 2.0
"""
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
setup_requires = []
if "test" in sys.argv:
s... | #!/usr/bin/env python
"""
responses
=========
A utility library for mocking out the `requests` Python library.
:copyright: (c) 2015 David Cramer
:license: Apache 2.0
"""
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
setup_requires = []
if "test" in sys.argv:
s... | apache-2.0 | Python |
49dc1c3ee5646545ed0e749d961a7c6503463445 | Remove commented out code | platoai/platoai-python,platoai/platoai | setup.py | setup.py | #!/usr/bin/env python
from __future__ import print_function
import os
import shutil
import glob
import setuptools
package_dir = 'platoai'
class CustomCleanCommand(setuptools.Command):
description = 'remove build files'
def initialize_options(self):
"""Set default values for options."""
pass
... | #!/usr/bin/env python
from __future__ import print_function
import os
import shutil
import glob
import setuptools
package_dir = 'platoai'
class CustomCleanCommand(setuptools.Command):
description = 'remove build files'
user_options = [
# ('verbose', 'v', 'increase verbosity level'),
]
def in... | apache-2.0 | Python |
399de90c44d84ab3adc0818c40657f8f37a8b023 | use latest ftp-cloufds | reidrac/sftpcloudfs,Memset/sftpcloudfs,reidrac/sftpcloudfs,Memset/sftpcloudfs | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from sftpcloudfs.constants import version, project_url
def readme():
try:
return open('README.md').read()
except:
return ""
setup(name='sftp-cloudfs',
version=version,
description='SFTP interface to Rackspace Cloud F... | #!/usr/bin/env python
from setuptools import setup, find_packages
from sftpcloudfs.constants import version, project_url
def readme():
try:
return open('README.md').read()
except:
return ""
setup(name='sftp-cloudfs',
version=version,
description='SFTP interface to Rackspace Cloud F... | mit | Python |
19f00606c820f4b7d83da97109584f8687f2665e | bump version | mir-dataset-loaders/mirdata | setup.py | setup.py | """ Setup script for mir_datasets. """
from setuptools import setup, find_packages
if __name__ == '__main__':
setup(
name='mirdata',
version='0.1.1',
description='Common loaders for MIR datasets.',
url='https://github.com/mir-dataset-loaders/mirdata',
packages=find_packages(... | """ Setup script for mir_datasets. """
from setuptools import setup, find_packages
if __name__ == '__main__':
setup(
name='mirdata',
version='0.1.0',
description='Common loaders for MIR datasets.',
url='https://github.com/mir-dataset-loaders/mirdata',
packages=find_packages(... | bsd-3-clause | Python |
48ced1ba6e4283e71155e2debc855f1f9ca7b71e | fix setup | Mickaelh51/wazo-admin-ui-jitsi-meet,Mickaelh51/wazo-admin-ui-jitsi-meet,Mickaelh51/wazo-admin-ui-jitsi-meet | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2017 The Wazo Authors (see the AUTHORS file)
# SPDX-License-Identifier: GPL-3.0+
from setuptools import find_packages
from setuptools import setup
setup(
name='wazo_admin_ui_jit_meet_mickael',
version='0.1',
description='Wazo Admin UI Jit Meet',
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2017 The Wazo Authors (see the AUTHORS file)
# SPDX-License-Identifier: GPL-3.0+
from setuptools import find_packages
from setuptools import setup
setup(
name='wazo_admin_ui_jit_meet_mickael',
version='0.1',
description='Wazo Admin UI Jit Meet',
... | mit | Python |
6f8dff186b0779a67a6f0cded2356c7460948572 | Add trove classifiers | saymedia/batchhttp | setup.py | setup.py | #!/usr/bin/env python
# Copyright (c) 2009 Six Apart Ltd.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this lis... | #!/usr/bin/env python
# Copyright (c) 2009 Six Apart Ltd.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this lis... | bsd-3-clause | Python |
d44b2df9238e007cfe7bf1becf11b30e1e97d284 | Bump version to 1.4.3 | mwilliamson/python-mammoth | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
_install_requires = [
"cobble>=0.1.3,<0.2",
]
if sys.version_info[:2] <= (2, 6):
_install_requires.append("argparse>=1.1,<2.0")
setup(
name='m... | #!/usr/bin/env python
import os
import sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
_install_requires = [
"cobble>=0.1.3,<0.2",
]
if sys.version_info[:2] <= (2, 6):
_install_requires.append("argparse>=1.1,<2.0")
setup(
name='m... | bsd-2-clause | Python |
4ff193d0f3c1859c40a70c06397387d6714fd12a | remove outdated header | openstack/oslo.cache,openstack/oslo.cache | setup.py | setup.py | # Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | # Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | apache-2.0 | Python |
d4fa2c2fd3db741da6690cc68a461dab54abfb11 | Add _XOPEN_SOURCE define for python module. Fixes #89. | nsf/termbox,termbox/termbox,termbox/termbox,nsf/termbox,termbox/termbox,nsf/termbox | setup.py | setup.py | from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import glob
import platform
sourcefiles = ['src/python/termboxmodule.pyx'] + glob.glob('src/*.c')
with open('src/python/termboxconfig.pyx', 'w') as f:
f.write("DEF PY_MAJOR_VERSION = %s\n" % platform... | from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import glob
import platform
sourcefiles = ['src/python/termboxmodule.pyx'] + glob.glob('src/*.c')
with open('src/python/termboxconfig.pyx', 'w') as f:
f.write("DEF PY_MAJOR_VERSION = %s\n" % platform... | mit | Python |
e9c6531de8c12c5edfcc9ad2d3e3d9bca28f869d | Improve description | prabhuramachandran/pymetabiosis,rguillebert/pymetabiosis | setup.py | setup.py | from setuptools import setup, find_packages
from pymetabiosis.bindings import ffi
setup(
name="pymetabiosis",
version="0.0.1",
author="Romain Guillebert",
author_email="romain.py@gmail.com",
packages=find_packages(),
license="MIT",
description="A way of using CPython 2's C extension modul... | from setuptools import setup, find_packages
from pymetabiosis.bindings import ffi
setup(
name="pymetabiosis",
version="0.0.1",
author="Romain Guillebert",
author_email="romain.py@gmail.com",
packages=find_packages(),
license="MIT",
description="A way of using CPython 2's modules on other ... | mit | Python |
77999250c0b504409a078dd27eb08fb559b8bab1 | update setup.py | salexkidd/restframework-definable-serializer,salexkidd/restframework-definable-serializer | setup.py | setup.py | from setuptools import setup, find_packages
try:
with open("README.md") as f:
long_description = f.read()
except Exception as e:
long_description = ""
setup(
name='restframework-definable-serializer',
author = "salexkidd",
author_email = "salexkidd@gmail.com",
url = "https://github.co... | from setuptools import setup, find_packages
try:
with open("README.md") as f:
long_description = f.read()
except Exception as e:
long_description = ""
setup(
name='restframework-definable-serializer',
author = "salexkidd",
author_email = "salexkidd@gmail.com",
url = "https://github.co... | mit | Python |
345496fbd96d4c780acdb2ee940e530e7d48ab6c | exclude docs and tests from package (#38) | googleapis/python-artifact-registry,googleapis/python-artifact-registry | 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 |
b850868fc3a8942b431a9cb1cdf41c34075002a3 | Add razorpay to dependecies | sunu/django-oscar-razorpay,sunu/django-oscar-razorpay | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from rzpay import VERSION
setup(
name='django-oscar-razorpay',
version=VERSION,
url='https://github.com/sunu/django-oscar-razorpay',
description=(
"Integration with Razorpay payment gateway for django-oscar"),
long_descript... | #!/usr/bin/env python
from setuptools import setup, find_packages
from rzpay import VERSION
setup(
name='django-oscar-razorpay',
version=VERSION,
url='https://github.com/sunu/django-oscar-razorpay',
description=(
"Integration with Razorpay payment gateway for django-oscar"),
long_descript... | bsd-3-clause | Python |
f7adfda7752c2ed9822aa6cd324d23d9961e7a05 | Add additional classifiers to setup. | dgilland/pydash,bharadwajyarlagadda/pydash,jacobbridges/pydash | setup.py | setup.py | """
pydash
======
Python port of Lodash.
Project: https://github.com/dgilland/pydash
"""
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
meta = {}
with open('pydash/__meta__.py') as fp:
exec(fp.read(), meta)
class Tox(TestCommand):
user_options = [
... | """
pydash
======
Python port of Lodash.
Project: https://github.com/dgilland/pydash
"""
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
meta = {}
with open('pydash/__meta__.py') as fp:
exec(fp.read(), meta)
class Tox(TestCommand):
user_options = [
(... | mit | Python |
95984d94929b8a9b162ef6929943a06b5c2c8f0d | add flask-testing as a testing requirement | yoncan/flask-hmacauth,Phillipmartin/flask-hmacauth | setup.py | setup.py | try:
from setuptools import setup
except:
from distutils.core import setup
import sys
from setuptools.command.test import test as TestCommand
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Mar... | try:
from setuptools import setup
except:
from distutils.core import setup
import sys
from setuptools.command.test import test as TestCommand
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Mar... | mit | Python |
f81b93f29883ed2a79424ba5e497ed46af08e4bc | fix spelling error | scheunemann/KASPAR,scheunemann/KASPAR,scheunemann/KASPAR | setup.py | setup.py | from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
from subprocess import call
import platform
install_requires=[
'python-dateutil',
'gevent',
'flask',
'werkzeug',
'flask-restless',
'flask-sqlalchemy',
'f... | from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
from subprocess import call
import platform
install_requires=[
'python-dateutil',
'gevent',
'flask',
'werkzeug',
'flask-restless',
'flask-sqlalchemy',
'f... | mit | Python |
1532edf947ad5c91fa1b8bea461e0556b89e927b | Update for current pip, bump version | SmartTeleMax/iktomi,SmartTeleMax/iktomi,SmartTeleMax/iktomi | setup.py | setup.py | # -*- coding: utf-8 -*-
import sys
from distutils.core import setup
install_requires = ['six']
extras_requires = {
'web': ['webob'],
'fcgi': ['flup6'],
'sqla': ['sqlalchemy', 'packaging'],
'memcached': ['python-memcached'],
'cleanhtml': ['lxml'],
'renderhtml': ['jinja2'],
'images': ['pillo... | # -*- coding: utf-8 -*-
import sys
from distutils.core import setup
install_requires = ['six']
extras_requires = {
'web': ['webob'],
'fcgi': ['flup6'],
'sqla': ['sqlalchemy'],
'memcached': ['python-memcached'],
'cleanhtml': ['lxml'],
'renderhtml': ['jinja2'],
'images': ['pillow'],
}
tests... | mit | Python |
b42a093441a294772b0de7373a6321b796c9819e | Install required packages for SNI support in Python 2 | rgooler/cloudpassage-python,rgooler/cloudpassage-python | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
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()
install_requires = ['requ... | #!/usr/bin/env python
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
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()
setup(
name='cloudpassage',
... | mit | Python |
1d01b7ad2bee23a3ea639d688bf213625cc4d21b | Prepare for next release | totem/yoda-py | setup.py | setup.py | from setuptools import setup
with open('./requirements.txt') as reqs_txt:
requirements = [line for line in reqs_txt]
setup(
name="yoda-py",
version="0.1.3",
description="Python client for Yoda.",
author='Sukrit Khera',
packages=['yoda'],
install_requires=requirements,
zip_safe=True,
... | from setuptools import setup
with open('./requirements.txt') as reqs_txt:
requirements = [line for line in reqs_txt]
setup(
name="yoda-py",
version="0.1.2",
description="Python client for Yoda.",
author='Sukrit Khera',
packages=['yoda'],
install_requires=requirements,
zip_safe=True,
... | mit | Python |
46dffa3aa51b6645d67fc4216866bd55a95eabc0 | Fix setup.py | jpcofr/svgpathtools,mathandy/svgpathtools | setup.py | setup.py | from distutils.core import setup
VERSION = '1.0.1'
AUTHOR_NAME = 'Andy Port'
AUTHOR_EMAIL = 'AndyAPort@gmail.com'
setup(name='svgpathtools',
packages=['svgpathtools'],
version=VERSION,
description=('A collection of tools for manipulating and analyzing SVG '
'Path objects and Bezie... | from distutils.core import setup
VERSION = '1.0'
AUTHOR_NAME = 'Andy Port'
AUTHOR_EMAIL = 'AndyAPort@gmail.com'
setup(name='svgpathtools',
packages=['svgpathtools'],
version=VERSION,
description=('A collection of tools for manipulating and analyzing SVG '
'Path objects and Bezier ... | mit | Python |
7e73984f9f135e0b7eb3f7979e89e90fd0d2d702 | Add merge_abr_files to setup.py | bburan/cochlear | setup.py | setup.py | from distutils.core import setup
setup(
name='Cochlear',
version='0.1',
author='Brad Buran (bburan@alum.mit.edu)',
packages=['cochlear'],
url='http://github.com/bburan/cochlear',
license='LICENSE.txt',
description='Module for various auditory experiments',
requires=['numpy'],
... | from distutils.core import setup
setup(
name='Cochlear',
version='0.1',
author='Brad Buran (bburan@alum.mit.edu)',
packages=['cochlear'],
url='http://github.com/bburan/cochlear',
license='LICENSE.txt',
description='Module for various auditory experiments',
requires=['numpy'],
... | bsd-3-clause | Python |
5c804257add5d5cd6046238ad2cf258fa023be2a | Update asgiref dependency to >=3.3.1 (#1614) | andrewgodwin/django-channels,django/channels | setup.py | setup.py | from setuptools import find_packages, setup
from channels import __version__
setup(
name='channels',
version=__version__,
url='http://github.com/django/channels',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description="Brings async, event-driven capabiliti... | from setuptools import find_packages, setup
from channels import __version__
setup(
name='channels',
version=__version__,
url='http://github.com/django/channels',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description="Brings async, event-driven capabiliti... | bsd-3-clause | Python |
9f558923e9fa9504cff2173e272f580ee308227d | bump version | fprimex/zdgen,blade2005/zdesk,fprimex/zdesk | setup.py | setup.py | from setuptools import setup
import sys
setup(
# Basic package information.
name = 'zdesk',
author = 'Brent Woodruff',
version = '2.4.0',
author_email = 'brent@fprimex.com',
packages = ['zdesk'],
include_package_data = True,
install_requires = ['requests'],
license='LICENSE.txt',
... | from setuptools import setup
import sys
setup(
# Basic package information.
name = 'zdesk',
author = 'Brent Woodruff',
version = '2.3.0',
author_email = 'brent@fprimex.com',
packages = ['zdesk'],
include_package_data = True,
install_requires = ['requests'],
license='LICENSE.txt',
... | mit | Python |
bd6975862dba5f180121da22d506bdee30b1309e | bump requirements | ghickman/couchdbkit,benoitc/couchdbkit,ghickman/couchdbkit,benoitc/couchdbkit,benoitc/couchdbkit,ghickman/couchdbkit | setup.py | setup.py | # -*- coding: utf-8 -
#
# This file is part of couchdbkit released under the MIT license.
# See the NOTICE for more information.
from imp import load_source
import os
import sys
if not hasattr(sys, 'version_info') or sys.version_info < (2, 6, 0, 'final'):
raise SystemExit("couchdbkit requires Python 2.6 or later.... | # -*- coding: utf-8 -
#
# This file is part of couchdbkit released under the MIT license.
# See the NOTICE for more information.
from imp import load_source
import os
import sys
if not hasattr(sys, 'version_info') or sys.version_info < (2, 5, 0, 'final'):
raise SystemExit("couchdbkit requires Python 2.5 or later.... | mit | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.