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 |
|---|---|---|---|---|---|---|---|---|
42738d99ff812f4e372546685637486a693b6e84 | fix requirements parsing | rremizov/django-random-queryset | setup.py | setup.py | from setuptools import setup
import os
def _parse_requirements(filename):
result = set()
path = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'requirements',
filename)
for line in open(path):
line = line.strip()
if not line:
continue
... | from setuptools import setup
import os
def _parse_requirements(filename):
result = set()
for line in open(os.path.join('requirements', filename)):
line = line.strip()
if not line:
continue
if line.startswith('-r'):
result = result.union(_parse_requirements(li... | mit | Python |
7446b01ce36a497c70cebcfdaa4d3621619b0e68 | Update svn trunk urls in package descriptions | Schevo/schevogtk | setup.py | setup.py | try:
import pygtk
except ImportError:
raise Exception('You must have PyGTK installed to use SchevoGtk')
# If true, then the svn revision won't be used to calculate the
# revision (set to True for real releases)
RELEASE = False
__version__ = '1.0a1'
from setuptools import setup, find_packages
import sys, os
... | try:
import pygtk
except ImportError:
raise Exception('You must have PyGTK installed to use SchevoGtk')
# If true, then the svn revision won't be used to calculate the
# revision (set to True for real releases)
RELEASE = False
__version__ = '1.0a1'
from setuptools import setup, find_packages
import sys, os
... | mit | Python |
7dc51bc36a6b0382fea1183df776fdfe6acb0759 | bump version | ljwolf/spvcm,ljwolf/spvcm | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='spvcm',
version='0.0.8',
description='Fit spatial multilevel models and diagnose convergence',
url='https://github.com/ljwolf/spvcm',
author='Levi John Wolf',
author_email='levi.john.wolf@gmail.com',
license='3-Clause BSD',
... | from setuptools import setup, find_packages
setup(name='spvcm',
version='0.0.7',
description='Fit spatial multilevel models and diagnose convergence',
url='https://github.com/ljwolf/spvcm',
author='Levi John Wolf',
author_email='levi.john.wolf@gmail.com',
license='3-Clause BSD',
... | mit | Python |
0e58db602294e38097c904548950a85091dcd5e8 | bump version | persandstrom/python-verisure | setup.py | setup.py | """ Setup for python-verisure """
from setuptools import setup
setup(
name='vsure',
version='0.11.1',
description='Read and change status of verisure devices through mypages.',
long_description='A module for reading and changing status of ' +
'verisure devices through mypages. Compatible ' +
'... | """ Setup for python-verisure """
from setuptools import setup
setup(
name='vsure',
version='0.11.0',
description='Read and change status of verisure devices through mypages.',
long_description='A module for reading and changing status of ' +
'verisure devices through mypages. Compatible ' +
'... | mit | Python |
6c4a6fa22a7cf579b05a520cb3e52ebb2dccaaa2 | Define supported python versions | Artanicus/python-cozify,Artanicus/python-cozify | setup.py | setup.py | from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
python_requires='>=3.4',
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus... | from setuptools import setup
import sys
import cozify
with open('README.rst') as file:
long_description = file.read()
setup(
name='cozify',
version=cozify.__version__,
author='artanicus',
author_email='python-cozify@nocturnal.fi',
url='https://github.com/Artanicus/python-cozify',
descript... | mit | Python |
2080b41f34e9c5fa19d4a8e9d566e13b8445b3cd | Add Python 3 trove classifiers. | bocman/django-secure,bocman/django-secure,carljm/django-secure,carljm/django-secure | setup.py | setup.py | from os.path import join, dirname
from setuptools import setup, find_packages
here = dirname(__file__)
long_description = (open(join(here, "README.rst")).read() + "\n\n" +
open(join(here, "CHANGES.rst")).read() + "\n\n" +
open(join(here, "TODO.rst")).read())
def get_version()... | from os.path import join, dirname
from setuptools import setup, find_packages
here = dirname(__file__)
long_description = (open(join(here, "README.rst")).read() + "\n\n" +
open(join(here, "CHANGES.rst")).read() + "\n\n" +
open(join(here, "TODO.rst")).read())
def get_version()... | bsd-3-clause | Python |
2df0c8891b29dede3a64449633bd7b2b2c0dab6f | Bump version | ysimonson/optfn | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name='optfunc-ysimonson',
version='0.2.0',
description='Generate commandline flags from function arguments.',
author='Simon Willison',
author_email='simon@lanyrd.com',
url='https://github.com/ysimonson/optfunc',
license='... | #!/usr/bin/env python
from distutils.core import setup
setup(name='optfunc-ysimonson',
version='0.1.2',
description='Generate commandline flags from function arguments.',
author='Simon Willison',
author_email='simon@lanyrd.com',
url='https://github.com/ysimonson/optfunc',
license='... | bsd-2-clause | Python |
d28b7692e23d98dd022328ffe72760abcdcc0585 | Update setup.py | bazzite/django-knowledgebase,bazzite/django-knowledgebase,bazzite/django-knowledgebase | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import knowledgebase
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = knowledgebase.__version__
if sys.argv[-1] == 'publish':
try:
import wheel
except ImportError:
prin... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import knowledgebase
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = knowledgebase.__version__
if sys.argv[-1] == 'publish':
try:
import wheel
except ImportError:
prin... | apache-2.0 | Python |
1c6351571ac15a4b79641e0f1b509eee7acf2b03 | Add setup.py | TCCinTaiwan/twstock,mlouielu/twstock | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
tests_require = ['pytest', 'Sphinx']
long_description = """
twstock is a minimum re-implement of grs
"""
setup(name="twstock",
description="twstock - Taiwan Stock Data",
long_description=long_description,
... | mit | Python | |
fe760a7b62719f61fccf30e4b806ffae39b163ae | Include additional classifiers | dbdd4us/compose,johnstep/docker.github.io,alexisbellido/docker.github.io,thaJeztah/docker.github.io,BSWANG/denverdino.github.io,dbdd4us/compose,sanscontext/docker.github.io,shin-/docker.github.io,docker/docker.github.io,londoncalling/docker.github.io,londoncalling/docker.github.io,jzwlqx/denverdino.github.io,menglingwe... | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
import codecs
import os
import re
import sys
from setuptools import find_packages
from setuptools import setup
def read(*parts):
path = os.path.join(os.path.dirname(__file__), *parts)
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
import codecs
import os
import re
import sys
from setuptools import find_packages
from setuptools import setup
def read(*parts):
path = os.path.join(os.path.dirname(__file__), *parts)
... | apache-2.0 | Python |
46a091f10bfa05b77bff65e3fa5db6ae2aa52f24 | Bump up the version after applying pull requests. | narrowcast/facebook-ads-api,GallopLabs/facebook-ads-api,taenyon/facebook-ads-api | setup.py | setup.py | import subprocess
import sys
from distutils.core import setup, Command
class TestCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, 'test_facebook.py'])
raise... | import subprocess
import sys
from distutils.core import setup, Command
class TestCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, 'test_facebook.py'])
raise... | mit | Python |
dca7b39f1680e61cdf56860e0afb2d4bcf03b0e8 | Bump Version to 2.0.12-dev | ooici/coi-services,ooici/coi-services,ooici/coi-services,ooici/coi-services,ooici/coi-services | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
import os
import sys
# Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml)
if sys.platform == 'darwin':
os.environ['C_INCLU... | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
import os
import sys
# Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml)
if sys.platform == 'darwin':
os.environ['C_INCLU... | bsd-2-clause | Python |
d3a0db583bcdabed02e57eab71d9d8619b81277a | Bump package version to 0.1.11 | nylas/mypy-tools,nylas/mypy-tools | setup.py | setup.py | from setuptools import setup
setup(name='mypytools',
version='0.1.11',
description='A bundle of tools to make using mypy easier',
url='https://github.com/nylas/mypy-tools',
license='MIT',
install_requires=[
'click',
'findimports',
'typing',
'watchdo... | from setuptools import setup
setup(name='mypytools',
version='0.1.10',
description='A bundle of tools to make using mypy easier',
url='https://github.com/nylas/mypy-tools',
license='MIT',
install_requires=[
'click',
'findimports',
'typing',
'watchdo... | mit | Python |
34f3269160851bceca6c23c076243defb3b3ecb1 | update version | xahgmah/edx-proctoring,xahgmah/edx-proctoring,xahgmah/edx-proctoring,edx/edx-proctoring,edx/edx-proctoring,edx/edx-proctoring | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
def is_requirement(line):
"""
Return True if the requirement line is a package requirement;
that is, it is not blank, a comment, or editable.
"""
# Remove whitespace at the start/end of the line
line = line.strip()
# Skip b... | #!/usr/bin/env python
from setuptools import setup, find_packages
def is_requirement(line):
"""
Return True if the requirement line is a package requirement;
that is, it is not blank, a comment, or editable.
"""
# Remove whitespace at the start/end of the line
line = line.strip()
# Skip b... | agpl-3.0 | Python |
b80cbd4cd85ac4684ff7028b63eac37108791084 | remove chest import from setup.py | blaze/chest,llllllllll/chest,maxhutch/chest,pombredanne/chest,ContinuumIO/chest,quantopian/chest | setup.py | setup.py | #!/usr/bin/env python
from os.path import exists
from setuptools import setup
setup(name='chest',
version='0.2.1',
description='Simple on-disk dictionary',
url='http://github.com/mrocklin/chest/',
author='https://raw.github.com/mrocklin/chest/master/AUTHORS.md',
maintainer='Matthew Rockl... | #!/usr/bin/env python
from os.path import exists
from setuptools import setup
import chest
setup(name='chest',
version=chest.__version__,
description='Simple on-disk dictionary',
url='http://github.com/mrocklin/chest/',
author='https://raw.github.com/mrocklin/chest/master/AUTHORS.md',
ma... | bsd-3-clause | Python |
0a279d2fe1a982d76129173d46a50a882a70ce3b | use extras_require | thelazier/electrumx,thelazier/electrumx | setup.py | setup.py | import setuptools
version = '1.11.0'
setuptools.setup(
name='electrumX',
version=version,
scripts=['electrumx_server', 'electrumx_rpc', 'electrumx_compact_history'],
python_requires='>=3.6',
# via environment variables, in which case I've tested with 15.0.4
install_requires=['aiorpcX>=0.15.0,<0... | import setuptools
version = '1.11.0'
setuptools.setup(
name='electrumX',
version=version,
scripts=['electrumx_server', 'electrumx_rpc', 'electrumx_compact_history'],
python_requires='>=3.6',
# via environment variables, in which case I've tested with 15.0.4
# "x11_hash" package (1.4) is require... | mit | Python |
6039cdf3a2730c19125f91bc5cc97056cd005044 | fix typo | pschork/koremutake | setup.py | setup.py | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '1.0.5'
short_desc = "Convert to and from Koremutake Memorable Random Strings"
long_desc = """Koremutake is a 128bit MeRS encoding algorithm that can convert any large,
unsigned number into a memorable sequence... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '1.0.5'
short_desc = "Convert to and from Koremutake Memorable Random Strings",
long_desc = """Koremutake is a 128bit MeRS encoding algorithm that can convert any large,
unsigned number into a memorable sequenc... | bsd-3-clause | Python |
cf372d5ce59080251e3c07c4f85ad31000f702c9 | Include package data | doctormo/django-cms-rosetta,doctormo/django-cms-rosetta | setup.py | setup.py | #!/usr/bin/env python
#
# Copyright (C) 2014 Martin Owens
#
# 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; either version 3 of the License, or
# (at your option) any later version.
#
# This pro... | #!/usr/bin/env python
#
# Copyright (C) 2014 Martin Owens
#
# 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; either version 3 of the License, or
# (at your option) any later version.
#
# This pro... | agpl-3.0 | Python |
a6c2716af4de23e81eeae7e2d0ea84438da98f46 | Change in requests module version for security reasons | deep-compute/funcserver,deep-compute/funcserver,deep-compute/funcserver | setup.py | setup.py | from setuptools import setup, find_packages
import os
HERE = os.path.abspath(os.path.dirname(__file__))
def get_long_description():
dirs = [ HERE ]
if os.getenv("TRAVIS"):
dirs.append(os.getenv("TRAVIS_BUILD_DIR"))
long_description = ""
for d in dirs:
rst_readme = os.path.join(d, "REA... | from setuptools import setup, find_packages
import os
HERE = os.path.abspath(os.path.dirname(__file__))
def get_long_description():
dirs = [ HERE ]
if os.getenv("TRAVIS"):
dirs.append(os.getenv("TRAVIS_BUILD_DIR"))
long_description = ""
for d in dirs:
rst_readme = os.path.join(d, "REA... | mit | Python |
eb18da649e1bbe7f5f6198c92958e40233de3635 | Bump version | netbek/chrys,netbek/chrys,netbek/chrys | setup.py | setup.py | import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="chrys",
version="2.0.18",
author="Hein Bekker",
author_email="hein@netbek.co.za",
description="A collection of color palettes for mapping and visualisation",
long_description=long_desc... | import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="chrys",
version="2.0.17",
author="Hein Bekker",
author_email="hein@netbek.co.za",
description="A collection of color palettes for mapping and visualisation",
long_description=long_desc... | bsd-3-clause | Python |
19c3d02153bfe5647fcdcb54e46ef90669deb37e | Add requirements to setup.py (issue #70) | HERA-Team/pyuvdata,HERA-Team/pyuvdata,HERA-Team/pyuvdata,HERA-Team/pyuvdata | setup.py | setup.py | from distutils.core import setup
import glob
import os.path as op
__version__ = '0.0.1'
setup_args = {
'name': 'uvdata',
'author': 'HERA Team',
'license': 'BSD',
'package_dir': {'uvdata': 'uvdata'},
'packages': ['uvdata'],
'scripts': glob.glob('scripts/*'),
'version': __version__,
'pac... | from distutils.core import setup
import glob
import os.path as op
__version__ = '0.0.1'
setup_args = {
'name': 'uvdata',
'author': 'HERA Team',
'license': 'BSD',
'package_dir': {'uvdata': 'uvdata'},
'packages': ['uvdata'],
'scripts': glob.glob('scripts/*'),
'version': __version__,
'pac... | bsd-2-clause | Python |
7e7da4ccc3678b662aa0189cc7bc2cfbd424b948 | Bump version to 0.19 | andreroggeri/pynubank | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='pynubank',
version='0.19',
url='https://github.com/andreroggeri/pynubank',
author='André Roggeri Campos',
author_email='a.roggeri.c@gmail.com',
license='BSD',
packages=['pynubank'],
package_data={'pynubank': ['queries/*.g... | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='pynubank',
version='0.18',
url='https://github.com/andreroggeri/pynubank',
author='André Roggeri Campos',
author_email='a.roggeri.c@gmail.com',
license='BSD',
packages=['pynubank'],
package_data={'pynubank': ['queries/*.g... | mit | Python |
b14347b3ebba8052185efebeb444c8fb54effd43 | add deps | reinvantveer/Topology-Learning,reinvantveer/Topology-Learning,reinvantveer/Topology-Learning | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name='Topology learning',
version='1.0',
description='Machine learning experiments for geospatial vector geometries',
author='Rein van \'t Veer',
author_email='rein.van.t.veer@geodan.nl',
url='https://github.com/reinvantveer/To... | #!/usr/bin/env python
from distutils.core import setup
setup(name='Topology learning',
version='1.0',
description='Machine learning experiments for geospatial vector geometries',
author='Rein van \'t Veer',
author_email='rein.van.t.veer@geodan.nl',
url='https://github.com/reinvantveer/To... | mit | Python |
df7ff51a9869d83109b46341a8016322f47b5920 | Bump version to 0.0.2 | polyaxon/polyaxon,polyaxon/polyaxon,polyaxon/polyaxon | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import find_packages, 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(sel... | #!/usr/bin/env python
import sys
from setuptools import find_packages, 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(sel... | apache-2.0 | Python |
ae80dcffc544a31096e9f076e9538985c1b3a44f | fix package name (#2) | googleapis/python-notebooks,googleapis/python-notebooks | 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 |
92e7538bb0fe2edde0c8d96215b119e0a2285f4f | Bump version number | gears/gears-stylus,gears/gears-stylus | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-stylus',
version='0.1.7',
url='https://github.com/gears/gears-stylus',
license='ISC',
author='Mike Yumatov',
author_email='mi... | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-stylus',
version='0.1.6',
url='https://github.com/gears/gears-stylus',
license='ISC',
author='Mike Yumatov',
author_email='mi... | isc | Python |
e9bdf99df74c33fe366802ccace613dd2bca1bc0 | Update setup.py | kolanos/vaporize | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
VERSION = '0.1.9'
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='vaporize',
description='A clean and consistent library for the Rackspace Cloud / OpenStack',
long_de... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = '0.1.9'
try:
readme = open('README.rst').read()
except IOError:
readme = ''
setup(
name='vaporize',
description='A clean and consistent library for t... | mit | Python |
2a8b2a7324682df81de91c2f9ee27bbb67a7d894 | Update googlemaps to 2.5.0 version | 20tab/django-political-map,20tab/django-political-map,20tab/django-political-map | setup.py | setup.py | from setuptools import setup, find_packages
import politicalplaces
setup(
name='django-political-map',
version=politicalplaces.__version__,
description='Django application to store geolocalized places and organize them according to political hierarchy.',
author='20tab S.r.l.',
author_email='info@20... | from setuptools import setup, find_packages
import politicalplaces
setup(
name='django-political-map',
version=politicalplaces.__version__,
description='Django application to store geolocalized places and organize them according to political hierarchy.',
author='20tab S.r.l.',
author_email='info@20... | mit | Python |
e57f6640145a20c92360b5168c60ba02dcd680ed | Bump version to 0.3.0 | noumar/iso639,noumar/iso639 | setup.py | setup.py | """
Python library for ISO 639 standard
Copyright (c) 2014 Mikael Karlsson (CSC - IT Center for Science Ltd.).
Licensed under AGPLv3.
"""
from setuptools import setup, find_packages
setup(
name='iso639',
version='0.3.0',
description="Python library for ISO 639 standard",
long_description=
"""
... | """
Python library for ISO 639 standard
Copyright (c) 2014 Mikael Karlsson (CSC - IT Center for Science Ltd.).
Licensed under AGPLv3.
"""
from setuptools import setup, find_packages
setup(
name='iso639',
version='0.2.2',
description="Python library for ISO 639 standard",
long_description=
"""
... | agpl-3.0 | Python |
02e51cc5a7c908f079c79bb171102a31cc5245c1 | Bump version number | singer-io/tap-mysql | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='tap-mysql',
version='1.3.0',
description='Singer.io tap for extracting data from MySQL',
author='Stitch',
url='https://singer.io',
classifiers=['Programming Language :: Python :: 3 :: Only'],
py_modules=['tap_mysql'],
... | #!/usr/bin/env python
from setuptools import setup
setup(name='tap-mysql',
version='1.2.6',
description='Singer.io tap for extracting data from MySQL',
author='Stitch',
url='https://singer.io',
classifiers=['Programming Language :: Python :: 3 :: Only'],
py_modules=['tap_mysql'],
... | agpl-3.0 | Python |
5c64e3159f30e66fc09d292a0453953f631e93e3 | Remove confusing study term. | ohsu-qin/qipipe | setup.py | setup.py | import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN images. See the README file for more information.'
requires = ['pydicom', 'envoy']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
author_em... | import glob
from setuptools import setup, find_packages
__version__ = open('version.txt').read()
__doc__ = 'qipipe processes the OHSU QIN study images. See the README file for more information.'
requires = ['pydicom', 'envoy']
setup(
name = 'qipipe',
version = __version__,
author = 'Fred Loney',
aut... | bsd-2-clause | Python |
e82dc3999f0788a3ef6c9e351a6ee4584b469642 | Update URL & description | European-XFEL/h5tools-py | setup.py | setup.py | #!/usr/bin/env python
import os.path as osp
import re
from setuptools import setup, find_packages
import sys
def get_script_path():
return osp.dirname(osp.realpath(sys.argv[0]))
def read(*parts):
return open(osp.join(get_script_path(), *parts)).read()
def find_version(*parts):
vers_file = read(*parts)... | #!/usr/bin/env python
import os.path as osp
import re
from setuptools import setup, find_packages
import sys
def get_script_path():
return osp.dirname(osp.realpath(sys.argv[0]))
def read(*parts):
return open(osp.join(get_script_path(), *parts)).read()
def find_version(*parts):
vers_file = read(*parts)... | bsd-3-clause | Python |
cc7a09996c2eadb0a0e1de793e56813fe225a7f2 | allow distribute 0.6.10 to make ci work | spendb/spendb,nathanhilbert/FPA_Core,johnjohndoe/spendb,CivicVision/datahub,spendb/spendb,USStateDept/FPA_Core,openspending/spendb,spendb/spendb,pudo/spendb,johnjohndoe/spendb,pudo/spendb,johnjohndoe/spendb,USStateDept/FPA_Core,USStateDept/FPA_Core,openspending/spendb,nathanhilbert/FPA_Core,openspending/spendb,CivicVis... | setup.py | setup.py | from setuptools import setup, find_packages
from openspending.ui import __version__
setup(
name='openspending',
version=__version__,
description='OpenSpending',
author='Open Knowledge Foundation',
author_email='okfn-help at lists okfn org',
url='http://github.com/okfn/openspending',
instal... | from setuptools import setup, find_packages
from openspending.ui import __version__
setup(
name='openspending',
version=__version__,
description='OpenSpending',
author='Open Knowledge Foundation',
author_email='okfn-help at lists okfn org',
url='http://github.com/okfn/openspending',
instal... | agpl-3.0 | Python |
43c324558ec77fc356692431a542998328fa806a | bump version | awentzonline/keras-rtst,awentzonline/keras-rtst | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
from setuptools import find_packages
setup(
name='keras-rtst',
version='0.0.7',
description='An implementation of real-time style transfer in Keras',
author='Adam Wentz',
author_email='adam@adamwentz.com',
url='https://github.com/awentzonli... | #!/usr/bin/env python
from distutils.core import setup
from setuptools import find_packages
setup(
name='keras-rtst',
version='0.0.6',
description='An implementation of real-time style transfer in Keras',
author='Adam Wentz',
author_email='adam@adamwentz.com',
url='https://github.com/awentzonli... | mit | Python |
7fa4d045deb9e5fb599b2cf703765b69d6e52c13 | fix striatum.utils import error | ntucllab/striatum | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import setup
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# read the docs could not compile numpy and c extensions
if on_rtd:
setup_requires = []
install_requires = []
else:
setup_requires = [
'nose',
'coverage',
]
install_r... | #!/usr/bin/env python
import os
from setuptools import setup
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# read the docs could not compile numpy and c extensions
if on_rtd:
setup_requires = []
install_requires = []
else:
setup_requires = [
'nose',
'coverage',
]
install_r... | bsd-2-clause | Python |
9dc6729c861858b82f23fe275d4cac553dcec165 | fix license classifier | max-arnold/markdown-tweetable | setup.py | setup.py | # -*- coding: utf-8 -*-
from distutils.core import setup
setup(
name='tweetable',
version='1.0',
maintainer="Max Arnold",
maintainer_email="arnold.maxim@gmail.com",
url="https://github.com/max-arnold/markdown-tweetable",
packages=['tweetable'],
install_requires=['Markdown >= 2.0'],
lice... | # -*- coding: utf-8 -*-
from distutils.core import setup
setup(
name='tweetable',
version='1.0',
maintainer="Max Arnold",
maintainer_email="arnold.maxim@gmail.com",
url="https://github.com/max-arnold/markdown-tweetable",
packages=['tweetable'],
install_requires=['Markdown >= 2.0'],
lice... | mit | Python |
c86376df2014ee2ecb410537c87c214283fa7c30 | Update setup.py | 7pairs/pyny,7pairs/pyny | setup.py | setup.py | # -*- coding: utf-8 -*-
#
# Copyright 2015-2019 Jun-ya HASEBA
#
# 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... | # -*- coding: utf-8 -*-
#
# Copyright 2015-2017 Jun-ya HASEBA
#
# 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 |
4126d5f81c52d7b3b4955b8b7495d6451f77c682 | Bump release version number in download_url (#60) | quiltdata/quilt-compiler,quiltdata/quilt-compiler,quiltdata/quilt,quiltdata/quilt,quiltdata/quilt,quiltdata/quilt-compiler,quiltdata/quilt,quiltdata/quilt,quiltdata/quilt-compiler | setup.py | setup.py | from setuptools import setup, find_packages
def readme():
readme_short = """
[Quilt] is a data package manager.
`quilt` is a command-line tool that builds, retrieves, and stores
data packages. A data package is a namespace of binary data frames
(and files).
`quilt` works in conjunction with a ... | from setuptools import setup, find_packages
def readme():
readme_short = """
[Quilt] is a data package manager.
`quilt` is a command-line tool that builds, retrieves, and stores
data packages. A data package is a namespace of binary data frames
(and files).
`quilt` works in conjunction with a ... | apache-2.0 | Python |
da9628271be108b1236b9dbbcaf6cda9494b7b63 | Change PyPI development status from pre-alpha to beta. | nghung270192/colorama,nghung270192/colorama | setup.py | setup.py | #!/usr/bin/env python
from os.path import dirname, join
from distutils.core import setup
from colorama import VERSION
NAME = 'colorama'
def get_long_description(filename):
readme = join(dirname(__file__), filename)
return open(readme).read()
setup(
name=NAME,
version=VERSION,
description='Cr... | #!/usr/bin/env python
from os.path import dirname, join
from distutils.core import setup
from colorama import VERSION
NAME = 'colorama'
def get_long_description(filename):
readme = join(dirname(__file__), filename)
return open(readme).read()
setup(
name=NAME,
version=VERSION,
description='Cr... | bsd-3-clause | Python |
9d29c506c791526eb279ea6977b8d40f6cefd8f4 | update have setup look to README.md | geoscixyz/em_examples | setup.py | setup.py | #!/usr/bin/env python
from __future__ import print_function
"""EM Examples
EM examples is a set up utility codes and jupyter notebooks
that accompany the web-resource http://em.geosci.xyz
"""
from distutils.core import setup
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
... | #!/usr/bin/env python
from __future__ import print_function
"""EM Examples
EM examples is a set up utility codes and jupyter notebooks
that accompany the web-resource http://em.geosci.xyz
"""
from distutils.core import setup
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
... | mit | Python |
196c682b5ca80d60c3a7992b7f4bf2c61911b999 | Bump to 1.13 | chrismattmann/tika-python,Pehat/tika-python | setup.py | setup.py | #!/usr/bin/env python
# encoding: utf-8
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Versi... | #!/usr/bin/env python
# encoding: utf-8
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Versi... | apache-2.0 | Python |
389241399677cce849498bff22b39cc87b97a49e | Bump version to 0.3.6 | pyvec/pyvodb | setup.py | setup.py |
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
super().finalize_options()
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
... |
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
super().finalize_options()
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
... | mit | Python |
83d70fa875ed701d170e7f572107d3ca7cba4bef | update minimum required python version | INM-6/swan | setup.py | setup.py | from setuptools import setup
from sys import version_info
from pathlib import Path
def readme():
with open("README.md") as f:
return f.read()
if version_info < (3, 6):
raise RuntimeError("Required: Python version > 3.6")
with open("swan/version.py") as fp:
d = {}
exec(fp.read(), d)
swan... | from setuptools import setup
from sys import version_info
from pathlib import Path
def readme():
with open("README.md") as f:
return f.read()
if version_info < (3, 3):
raise RuntimeError("Required: Python version > 3.3")
with open("swan/version.py") as fp:
d = {}
exec(fp.read(), d)
swan... | bsd-3-clause | Python |
375c41c8db6d335d078f47e19f8a76c0cff1a81c | Add author info to setup.py | hastexo/django-oscar-vat_moss,hastexo/django-oscar-vat_moss | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from oscar_vat_moss import get_version
setup(
name='django-oscar-vat_moss',
author='hastexo',
author_email='code@hastexo.com',
version=get_version(),
url='https://github.com/hastexo/django-oscar-vat_moss',
description=(
... | #!/usr/bin/env python
from setuptools import setup, find_packages
from oscar_vat_moss import get_version
setup(
name='django-oscar-vat_moss',
version=get_version(),
url='https://github.com/hastexo/django-oscar-vat_moss',
description=(
"EU VATMOSS support for django-oscar"),
long_descriptio... | bsd-3-clause | Python |
d1e14da32345c2777b530a914fcb8637d84f58e3 | Fix setup.py to use openquake_cli.py | gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine | setup.py | setup.py | from setuptools import setup, find_packages
version = "1.0.0"
url = "http://openquake.org/"
README = """
OpenQuake is an open source application that allows users to
compute seismic hazard and seismic risk of earthquakes on a global scale.
Please note: the /usr/bin/openquake script requires a celeryconfig.py
file in... | from setuptools import setup, find_packages
version = "1.0.0"
url = "http://openquake.org/"
README = """
OpenQuake is an open source application that allows users to
compute seismic hazard and seismic risk of earthquakes on a global scale.
Please note: the /usr/bin/openquake script requires a celeryconfig.py
file in... | agpl-3.0 | Python |
d524fd51a2a5fe7f759de312cfd2273b5152f646 | add pytest | drgmk/sdf,drgmk/sdf | setup.py | setup.py | from setuptools import setup
setup(
name='sdf',
version='0.1',
description='all your seds are belong to us',
url='http://github.com/drgmk/sdf',
author='Grant M. Kennedy',
author_email='g.kennedy@warwick.ac.uk',
license='MIT',
packages=['sdf'],
classifiers=['Programming Language :: P... | from setuptools import setup
setup(
name='sdf',
version='0.1',
description='all your seds are belong to us',
url='http://github.com/drgmk/sdf',
author='Grant M. Kennedy',
author_email='g.kennedy@warwick.ac.uk',
license='MIT',
packages=['sdf'],
classifiers=['Programming Language :: P... | mit | Python |
33478aa5221564121707cd702c519e844b3b957a | Update setup.py | thombashi/SimpleSQLite,thombashi/SimpleSQLite | setup.py | setup.py | from __future__ import with_statement
import os.path
import setuptools
MISC_DIR = "misc"
REQUIREMENT_DIR = "requirements"
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join(MISC_DIR, "summary.txt")) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requiremen... | from __future__ import with_statement
import os.path
import setuptools
MISC_DIR = "misc"
REQUIREMENT_DIR = "requirements"
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join(MISC_DIR, "summary.txt")) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requiremen... | mit | Python |
bcd682ed37af214a8b96ddf8c2dbfafb88a09441 | bump zmqpy version to 0.3.1 | felipecruz/zmqpy,felipecruz/zmqpy | setup.py | setup.py | from setuptools import setup
setup(name='zmqpy',
version='0.3.1',
description='Python cffi-based ZeroMQ bindings',
author='Felipe Cruz',
author_email='felipecruz@loogica.net',
url='http://loogica.net/opensource/',
install_requires=['cffi>=0.3', 'ctypes_configure'],
packages=['... | from setuptools import setup
setup(name='zmqpy',
version='0.3',
description='Python cffi-based ZeroMQ bindings',
author='Felipe Cruz',
author_email='felipecruz@loogica.net',
url='http://loogica.net/opensource/',
install_requires=['cffi>=0.3', 'ctypes_configure'],
packages=['zm... | bsd-2-clause | Python |
8ff0aadb12fd0a4dfee90abc3aa7ffc497e83f0d | add coverage to setup.py test command | konradstrack/reminisc | setup.py | setup.py | from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import os
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = ["--cov", "reminisc"]
self.test_suite = True
def run_tes... | from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import os
import sys
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 |
1d196e4f65a02bdd7437ade213fbf86c711a78d0 | Remove a ref to now-gone sample_project. | caktus/django-crumbs | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='django-crumbs',
version=__import__('crumbs').__version__,
author='Caktus Consulting Group',
author_email='solutions@caktusgroup.com',
include_package_data=True,
packages=find_packages(),
exclude_package_data={'': ['*.sql', '*.pyc']},
... | from setuptools import setup, find_packages
setup(
name='django-crumbs',
version=__import__('crumbs').__version__,
author='Caktus Consulting Group',
author_email='solutions@caktusgroup.com',
include_package_data=True,
packages=find_packages(exclude=['sample_project']),
exclude_package_data=... | bsd-3-clause | Python |
b948b95f762555f0536d42d59d6b28b2e4a62f41 | Add some trove classifiers | mirobot/mirobot-py | setup.py | setup.py | from distutils.core import setup
setup(
name = 'mirobot',
packages = ['mirobot'],
version = '1.0.1',
description = 'A Python library to control Mirobot (http://mirobot.io)',
author = 'Ben Pirt',
author_email = 'ben@pirt.co.uk',
url = 'https://github.com/mirobot/mirobot-py',
download_url = 'https://githu... | from distutils.core import setup
setup(
name = 'mirobot',
packages = ['mirobot'],
version = '1.0.1',
description = 'A Python library to control Mirobot (http://mirobot.io)',
author = 'Ben Pirt',
author_email = 'ben@pirt.co.uk',
url = 'https://github.com/mirobot/mirobot-py',
download_url = 'https://githu... | mit | Python |
a6acbdbbbb9abf9522d998706b4d610c2b4cb51c | Update dependency on irc lib | yougov/pmxbot,yougov/pmxbot,yougov/pmxbot | setup.py | setup.py | # -*- coding: utf-8 -*-
# vim:ts=4:sw=4:noexpandtab
# c-basic-indent: 4; tab-width: 4; indent-tabs-mode: true;
import sys
import setuptools
py26reqs = ['importlib'] if sys.version_info < (2, 7) else []
setup_params = dict(
name="pmxbot",
use_hg_version=True,
packages=setuptools.find_packages(),
include_package_d... | # -*- coding: utf-8 -*-
# vim:ts=4:sw=4:noexpandtab
# c-basic-indent: 4; tab-width: 4; indent-tabs-mode: true;
import sys
import setuptools
py26reqs = ['importlib'] if sys.version_info < (2, 7) else []
setup_params = dict(
name="pmxbot",
use_hg_version=True,
packages=setuptools.find_packages(),
include_package_d... | mit | Python |
c6db7d7fba833678094567db8c8473f3b67f5b06 | Add test suite runner to setup.py | xesscorp/KiField,xesscorp/KiField | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
import kifield
import unittest
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:
histor... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
import kifield
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... | mit | Python |
4eba8e9c7e359c7ec49e1cbf6647c1cf50c09c77 | Fix setup.py | ymyzk/python-gyazo | setup.py | setup.py | #!/usr/bin/env python
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
__author__ = 'Yusuke Miyazaki <miyazaki.dev@gmail.com>'
__version__ = '0.9.0'
install_requires = [
'Jinja2>=2.8',
'progress>=1.2',
'python-dateutil>=2.4.2',
'requests>=2.7.... | #!/usr/bin/env python
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from gyazo import __version__
__author__ = 'Yusuke Miyazaki <miyazaki.dev@gmail.com>'
install_requires = [
'Jinja2>=2.8',
'progress>=1.2',
'python-dateutil>=2.4.2',
'reque... | mit | Python |
c7c72ec8f66465eaeaa6eb269c92efe01f11c5c9 | Include middleware in bdist | ferringb/raygun4py,MindscapeHQ/raygun4py,Osmose/raygun4py | setup.py | setup.py | import sys
from setuptools import setup
if sys.version_info[0] == 2:
base_dir = 'python2'
elif sys.version_info[0] == 3:
base_dir = 'python3'
setup(
name='raygun4py',
version='3.0.0',
packages=['raygun4py', 'raygun4py.middleware'],
package_dir= {
"raygun4py": base_dir + "/raygun4py"
... | import sys
from setuptools import setup
if sys.version_info[0] == 2:
base_dir = 'python2'
elif sys.version_info[0] == 3:
base_dir = 'python3'
setup(
name='raygun4py',
version='3.0.0',
packages=['raygun4py'],
package_dir= {
"raygun4py": base_dir + "/raygun4py"
},
license='LICENS... | mit | Python |
59486fb52ac3b24d3f96597fbdd7633fd36d9835 | Deal with MPL and easy_install | haribharadwaj/PySurfer,Eric89GXL/PySurfer,diego0020/PySurfer,nipy/PySurfer,bpinsard/PySurfer,mwaskom/PySurfer,effigies/PySurfer | setup.py | setup.py | #! /usr/bin/env python
#
# Copyright (C) 2011 Alexandre Gramfort <gramfort@nmr.mgh.harvard.edu>
# Michael Waskom <mwaskom@mit.edu>
# Scott Burns <sburns@nmr.mgh.harvard.edu>
descr = """PySurfer: Python / FreeSurfer / Mayavi2 for brain imaging"""
import os
import surfer
DISTNAME ... | #! /usr/bin/env python
#
# Copyright (C) 2011 Alexandre Gramfort <gramfort@nmr.mgh.harvard.edu>
# Michael Waskom <mwaskom@mit.edu>
# Scott Burns <sburns@nmr.mgh.harvard.edu>
descr = """PySurfer: Python / FreeSurfer / Mayavi2 for brain imaging"""
import os
import surfer
DISTNAME ... | bsd-3-clause | Python |
1b7c6a1088c8abbc19f006eadf1de467aed1490d | Upgrade requirements | djds23/pygotham-1,djds23/pygotham-1,PyGotham/pygotham,PyGotham/pygotham,djds23/pygotham-1,pathunstrom/pygotham,pathunstrom/pygotham,djds23/pygotham-1,djds23/pygotham-1,PyGotham/pygotham,pathunstrom/pygotham,PyGotham/pygotham,PyGotham/pygotham,pathunstrom/pygotham,pathunstrom/pygotham | setup.py | setup.py | from setuptools import setup
def read_file(filename):
try:
with open(filename) as f:
return f.read()
except IOError:
return ''
setup(
name='PyGotham',
version='2014.1',
description='Site for PyGotham 2014',
long_description=read_file('README.rst'),
author='And... | from setuptools import setup
def read_file(filename):
try:
with open(filename) as f:
return f.read()
except IOError:
return ''
setup(
name='PyGotham',
version='2014.1',
description='Site for PyGotham 2014',
long_description=read_file('README.rst'),
author='And... | bsd-3-clause | Python |
0174e9ca580dd24a995dc8ad9edea6342259d32b | bump version | Hipo/django-sloop,Hipo/django-sloop | 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()
# 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-sloop',
version='1.0.1',
... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-sloop',
version='1.0.0',
... | apache-2.0 | Python |
fa52aa1a79a1f3117018dda5277b9d7996c320fc | fix install path of templates | theonewolf/TermRecord,IYism/TermRecord | setup.py | setup.py | """
TermRecord
----------
TermRecord is a program that wraps the ``script`` command. It automagically
detects your terminal size, records your session, and stores the output as
either JSON, embeddable JavaScript, or a static HTML file. The HTML is
completely self-contained, embedding all necessary dependencies in on... | """
TermRecord
----------
TermRecord is a program that wraps the ``script`` command. It automagically
detects your terminal size, records your session, and stores the output as
either JSON, embeddable JavaScript, or a static HTML file. The HTML is
completely self-contained, embedding all necessary dependencies in on... | mit | Python |
1e6c06e418357881e2ca7c87398e7e83a6f474c4 | Bump version to 0.6.3 | artfinder/awslib | setup.py | setup.py | # Use setuptools if we can
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
PACKAGE = 'awslib'
VERSION = '0.6.3'
setup(
name=PACKAGE, version=VERSION,
description="Small library providing Amazon Web Services utility functions on top of boto",
packages=[ '... | # Use setuptools if we can
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
PACKAGE = 'awslib'
VERSION = '0.6.2'
setup(
name=PACKAGE, version=VERSION,
description="Small library providing Amazon Web Services utility functions on top of boto",
packages=[ '... | mit | Python |
0e0b5df41471672acf0ca61cd7a1fea1c19b4621 | Bump version to 0.8.0 | thombashi/sqliteschema | setup.py | setup.py | #!/usr/bin/env python
# encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import unicode_literals
import os.path
import sys
import setuptools
REQUIREMENT_DIR = "requirements"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytes... | #!/usr/bin/env python
# encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import unicode_literals
import os.path
import sys
import setuptools
REQUIREMENT_DIR = "requirements"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytes... | mit | Python |
c1712331ef7ea65aedc61870917ac6439774a0ff | Increment minor version number. | creativecommons/cc.license,creativecommons/cc.license | setup.py | setup.py | from setuptools import setup, find_packages
import sys, os
setup(name='cc.license',
version='0.03',
description="License selection based on ccREL-based metadata.",
classifiers=[],
keywords='',
author='Creative Commons',
author_email='software@creativecommons.org',
url='http://... | from setuptools import setup, find_packages
import sys, os
setup(name='cc.license',
version='0.02',
description="License selection based on ccREL-based metadata.",
classifiers=[],
keywords='',
author='Creative Commons',
author_email='software@creativecommons.org',
url='http://... | mit | Python |
db57713680ab97df17e64ed0e0bd614b0d8d9554 | set version to 0.2.1 in setup.py | kohr-h/odl,odlgroup/odl,aringh/odl,kohr-h/odl,aringh/odl,odlgroup/odl | setup.py | setup.py | # Copyright 2014-2016 The ODL development group
#
# This file is part of ODL.
#
# ODL 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, either version 3 of the License, or
# (at your option) any later version.
#... | # Copyright 2014-2016 The ODL development group
#
# This file is part of ODL.
#
# ODL 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, either version 3 of the License, or
# (at your option) any later version.
#... | mpl-2.0 | Python |
def100f95abe6a85301b8d9b7f31ff44353a5e27 | Include test data files in package. Otherwise, they are not copied to the build directory and the tests fail. | davidalber/Geneagrapher,davidalber/Geneagrapher | setup.py | setup.py | import re
import setuptools
with open("README.md", "r") as fin:
long_description = fin.read()
long_description = re.sub(
"^(!\[.*\]\()(.*\))",
lambda m: m.group(1) + "https://github.com/davidalber/geneagrapher/raw/master/" + m.group(2),
long_description,
flags=re.MULTILINE
)
setuptools.setup(
... | import re
import setuptools
with open("README.md", "r") as fin:
long_description = fin.read()
long_description = re.sub(
"^(!\[.*\]\()(.*\))",
lambda m: m.group(1) + "https://github.com/davidalber/geneagrapher/raw/master/" + m.group(2),
long_description,
flags=re.MULTILINE
)
setuptools.setup(
... | mit | Python |
8eab9f5445e1be6e7b15967f141a9702974a77c8 | Bump version | waylan/mkdocs-bootswatch,mkdocs/mkdocs-bootswatch | setup.py | setup.py | from setuptools import setup, find_packages
VERSION = '0.4.0'
setup(
name="mkdocs-bootswatch",
version=VERSION,
url='http://www.mkdocs.org',
license='BSD',
description='Bootswatch themes for MkDocs',
author='Dougal Matthews',
author_email='dougal@dougalmatthews.com',
packages=find_pac... | from setuptools import setup, find_packages
VERSION = '0.3.1'
setup(
name="mkdocs-bootswatch",
version=VERSION,
url='http://www.mkdocs.org',
license='BSD',
description='Bootswatch themes for MkDocs',
author='Dougal Matthews',
author_email='dougal@dougalmatthews.com',
packages=find_pac... | bsd-2-clause | Python |
f23868225b82a621aec8ea12e9b2e5ad14094af1 | Make package not zip_safe | pydot/pydot-ng | setup.py | setup.py | #!/usr/bin/env python
import ast
import os
import re
from codecs import open
from setuptools import setup
# NOTE(prmtl): found reason on https://superuser.com/q/259703
os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
os.environ['COPYFILE_DISABLE'] = 'true'
CURRENT_DIR = os.path.dirname(__file__)
def get_v... | #!/usr/bin/env python
import ast
import os
import re
from codecs import open
from setuptools import setup
# NOTE(prmtl): found reason on https://superuser.com/q/259703
os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
os.environ['COPYFILE_DISABLE'] = 'true'
CURRENT_DIR = os.path.dirname(__file__)
def get_v... | mit | Python |
9aa7e4a64cb97722230e28074a7086214996ef40 | Fix license button | gmr/tornado-elasticsearch,gmr/tornado_elasticsearch | setup.py | setup.py | import os
import setuptools
desc = ('Extends the official Elasticsearch Python API adding '
'Tornado AsyncHTTPClient support')
try:
license = open('LICENSE').read()
except IOError:
license = 'BSD'
try:
readme = open('README.rst').read()
except IOError:
readme = ''
setuptools.setup(name='tor... | import os
import setuptools
desc = ('Extends the official Elasticsearch Python API adding '
'Tornado AsyncHTTPClient support')
try:
license = open('LICENSE').read()
except IOError:
license = 'BSD'
try:
readme = open('README.rst').read()
except IOError:
readme = ''
setuptools.setup(name='tor... | bsd-3-clause | Python |
5c290fb13aaa816ac697f446d30e8f68244917e7 | Add long description. | akellne/simhash,leonsim/simhash,liangsun/simhash,cjauvin/simhash,pombredanne/simhash-5,nkhuyu/simhash | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'simhash',
version = '1.1.0',
keywords = ('simhash'),
description = 'A Python implementation of Simhash Algorithm',
long_description = open('README.md').read(),
license = 'MIT License',
url = 'http://liangsun.... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'simhash',
version = '1.0.1',
keywords = ('simhash'),
description = 'A Python implementation of Simhash Algorithm',
license = 'MIT License',
url = 'http://liangsun.org/posts/a-python-implementation-of-simhash-algo... | mit | Python |
b0a9702727899fb9eed475941f2466079711b1b4 | Update resolwe reference | genialis/resolwe-bio,genialis/resolwe-bio,genialis/resolwe-bio,genialis/resolwe-bio | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
NAME = 'Resolwe Bioinformatics'
VERSION = '0.3.0'
DESCRIPTION = "Bioinformatics pipelines for the Resolwe platform."
LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
AUTHOR = 'Genialis'
AUTHOR_EM... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
NAME = 'Resolwe Bioinformatics'
VERSION = '0.3.0'
DESCRIPTION = "Bioinformatics pipelines for the Resolwe platform."
LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
AUTHOR = 'Genialis'
AUTHOR_EM... | apache-2.0 | Python |
7e6831f7f9fdd6edb371d7f21218fbe51c14c7d4 | Bump version | schollz/playlistfromsong | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
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 = [
'Click>=6.0',
"requests",
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
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 = [
'Click>=6.0',
"requests",
... | mit | Python |
2bce2c2ae4a776ac51c2ac96eeb44e8431f78009 | Add classifiers, URLs, license to setup.py | vilcans/screenplain,vilcans/screenplain,vilcans/screenplain | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(
name='screenplain',
version='0.8.0',
description='Convert text file to viewable screenplay.',
author='Martin Vilcans',
author_email='screenplain@librador.com',
url='http://www.screenplain.com/',
project_urls={
'Web Page'... | #!/usr/bin/env python
from distutils.core import setup
setup(
name='screenplain',
version='0.8.0',
description='Convert text file to viewable screenplay.',
author='Martin Vilcans',
author_email='screenplain@librador.com',
url='http://www.screenplain.com/',
install_requires=[
'six',... | mit | Python |
a3649b427c90ef7ec0aaa7ec7571137d72bdf1d8 | Fix setup.py disutils unicode issue | tempbottle/nanomsg-python,romanoved/nanomsg-python,romanoved/nanomsg-python,tempbottle/nanomsg-python,tonysimpson/nanomsg-python,tonysimpson/nanomsg-python | setup.py | setup.py | from __future__ import division, absolute_import, print_function,\
unicode_literals
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup, Extension
from distutils.core import Extension
from distutils.errors import DistutilsError
from distutils.command.build_ext impo... | from __future__ import division, absolute_import, print_function,\
unicode_literals
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup, Extension
from distutils.core import Extension
from distutils.errors import DistutilsError
from distutils.command.build_ext impo... | mit | Python |
c77592d217bfd35833d27224654625d6ab768bf6 | Fix setup.py | drivnal/drivnal,drivnal/drivnal,drivnal/drivnal | setup.py | setup.py | from distutils.core import setup
setup(
name='drivnal',
version='0.1.0',
description='Linux backup utility with web interface',
author='Zachary Huff',
author_email='zach.huff.386@gmail.com',
url='http://drivnal.com/',
keywords='backup, snapshot, web interface, rsync',
packages=['drivnal... | from distutils.core import setup
setup(
name='drivnal',
version='0.1.0',
description='Linux backup utility with web interface',
author='Zachary Huff',
author_email='zach.huff.386@gmail.com',
url='http://drivnal.com/',
keywords='backup, snapshot, web interface, rsync',
packages=['drivnal... | agpl-3.0 | Python |
8db029c88bdcff8c3ad24016be4128ad51cc51fc | Add sample data | PapenfussLab/sv_tools | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name = 'sv_tools',
version = '0.1',
description = 'Assorted tools for working with structural variants',
author = 'Leon Di Stefano',
author_email = 'distefano.l@wehi.edu.au',
# url='',
packages = ['sv_tools'],
packa... | #!/usr/bin/env python
from distutils.core import setup
setup(name = 'sv_tools',
version = '0.1',
description = 'Assorted tools for working with structural variants',
author = 'Leon Di Stefano',
author_email = 'distefano.l@wehi.edu.au',
# url='',
packages = ['sv_tools'],
insta... | mit | Python |
10b89b727fc5f3a4cb3c5ae1ef8aa8befb625622 | Remove download_url from setup file. | bendavis78/django-storages,bendavis78/django-storages | setup.py | setup.py | from setuptools import setup, find_packages
import storages
setup(
name = 'django-storages',
version = storages.__version__,
packages = find_packages(),
author = 'David Larlet',
author_email = 'david@larlet.fr',
license = 'BSD',
description = 'Support for many storages (S3, MogileFS, etc) ... | from setuptools import setup, find_packages
import storages
setup(
name = 'django-storages',
version = storages.__version__,
packages = find_packages(),
author = 'David Larlet',
author_email = 'david@larlet.fr',
license = 'BSD',
description = 'Support for many storages (S3, MogileFS, ... | bsd-3-clause | Python |
7a1162ae1c1058815c6e341d241082d74abd1672 | Bump version 0.2.2 to PyPI. | cshields/satnogs-client,adamkalis/satnogs-client,adamkalis/satnogs-client,cshields/satnogs-client | setup.py | setup.py | from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.2',
author='SatNOGS team',
author_email='client-dev@satnogs.org',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
install_requires=['... | from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2',
author='SatNOGS team',
author_email='client-dev@satnogs.org',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
install_requires=['AP... | agpl-3.0 | Python |
4c77b12ceac603ed7234c4fad0f938cede3fc3f3 | remove dependencies installation (will use conda) | Evfro/polara | setup.py | setup.py | import os
from setuptools import setup
_packages = ["polara",
"polara/recommender",
"polara/evaluation",
"polara/lib",
"polara/tools",
"polara/tools/mymedialite"]
opts = dict(name="polara",
description="Fast and flexible recommender framework",
... | import os
from setuptools import setup
_packages = ["polara",
"polara/recommender",
"polara/evaluation",
"polara/lib",
"polara/tools",
"polara/tools/mymedialite"]
_libs = ["numpy", "scipy", "pandas", "numba", "requests", "matplotlib", "seaborn"]
opts = dict... | mit | Python |
3aac6404ccf3fe8055d63cb5ab14dd6159667ab7 | Add Jinja2 to deps | brutasse/induction,brutasse/induction | setup.py | setup.py | import sys
from setuptools import setup, find_packages
install_requires = [
'Jinja2',
'Routes',
]
if sys.version_info < (3, 4):
install_requires.append('asyncio')
setup(
name='induction',
version='0.1',
author='Bruno Renié',
author_email='bruno@renie.fr',
description='Simple asyncio-... | import sys
from setuptools import setup, find_packages
install_requires = [
'Routes',
]
if sys.version_info < (3, 4):
install_requires.append('asyncio')
setup(
name='induction',
version='0.1',
author='Bruno Renié',
author_email='bruno@renie.fr',
description='Simple asyncio-based web fram... | bsd-3-clause | Python |
8d79d8baaa2bddc71655574b06a871da8cf2fa47 | Add missing dep | mlenzen/Flask-LenzM-Utils | setup.py | setup.py | #!/usr/bin/env python
from __future__ import unicode_literals
from codecs import open
import os
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
"""Set up the py.test test runner."""
def finalize_options(self):
"""Set optio... | #!/usr/bin/env python
from __future__ import unicode_literals
from codecs import open
import os
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
"""Set up the py.test test runner."""
def finalize_options(self):
"""Set optio... | bsd-3-clause | Python |
884b436ae8d0479e514c1f494663e5d45eec8c5e | Bump version | thelinuxkid/linkins | setup.py | setup.py | #!/usr/bin/python
from setuptools import setup, find_packages
import os
EXTRAS_REQUIRES = dict(
test=[
'pytest>=2.2.4',
'mock>=0.8.0',
'tempdirs>=0.0.3',
],
dev=[
'ipython>=0.13',
],
)
# Tests always depend on all other requirements, except dev
for k,v in EX... | #!/usr/bin/python
from setuptools import setup, find_packages
import os
EXTRAS_REQUIRES = dict(
test=[
'pytest>=2.2.4',
'mock>=0.8.0',
'tempdirs>=0.0.3',
],
dev=[
'ipython>=0.13',
],
)
# Tests always depend on all other requirements, except dev
for k,v in EX... | mit | Python |
d93ca7833f4907939507bc99648de4d4d6eb0616 | Bump version to v0.1.0 | bcwaldon/warlock | setup.py | setup.py | import setuptools
def parse_requirements():
fap = open('requirements.txt', 'r')
raw_req = fap.read()
fap.close()
return raw_req.split('\n')
return ['jsonschema']
setuptools.setup(
name='warlock',
version='0.1.0',
description='Python object model built on top of JSON schema',
auth... | import setuptools
def parse_requirements():
fap = open('requirements.txt', 'r')
raw_req = fap.read()
fap.close()
return raw_req.split('\n')
return ['jsonschema']
setuptools.setup(
name='warlock',
version='0.0.2',
description='Python object model built on top of JSON schema',
auth... | apache-2.0 | Python |
b126b765f4694ab1770e7d31d41acdf492671934 | update dependencies | py-mina-deploy/py-mina | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
try:
long_description = open("README.rst").read()
except IOError:
long_description = "Deployer and server automation tool."
setup(
name="py_mina",
version="0.2.7",
description="Python library for deploying applications on remote s... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
try:
long_description = open("README.rst").read()
except IOError:
long_description = "Deployer and server automation tool."
setup(
name="py_mina",
version="0.2.6",
description="Python library for deploying applications on remote s... | mit | Python |
f308ae32a372f8e288bcc4e9bed98b403795baa1 | Use develop for djsonb repository | azavea/ashlar,flibbertigibbet/ashlar,flibbertigibbet/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 |
c0e3f333e45221853c96f9864ae2850c4a57d439 | update path | slipguru/ignet,slipguru/ignet,slipguru/ignet | setup.py | setup.py | #!/usr/bin/python
"""ignet setup script."""
from distutils.core import setup, Extension
# Package Version
from ignet import __version__ as version
alignment_module = Extension('align.align', sources=['ignet/align/alignment.c'])
setup(
name='ignet',
version=version,
description=('A package to clonal relat... | #!/usr/bin/python
"""ignet setup script."""
from distutils.core import setup, Extension
# Package Version
from ignet import __version__ as version
alignment_module = Extension('align.align', sources=['align/alignment.c'])
setup(
name='ignet',
version=version,
description=('A package to clonal relate immu... | bsd-2-clause | Python |
acd03d6b5e007dec29d5eec9b3b57eb13a4cb499 | upgrade Faker | fcurella/django-fakery | setup.py | setup.py | import os
from setuptools import find_packages, setup
VERSION = '1.3.1'
def read(fname):
try:
with open(os.path.join(os.path.dirname(__file__), fname)) as fh:
return fh.read()
except IOError:
return ''
setup(
name='django-fakery',
version=VERSION,
url='https://github... | import os
from setuptools import find_packages, setup
VERSION = '1.3.1'
def read(fname):
try:
with open(os.path.join(os.path.dirname(__file__), fname)) as fh:
return fh.read()
except IOError:
return ''
setup(
name='django-fakery',
version=VERSION,
url='https://github... | mit | Python |
19c3a665f424b69f6e37cfebb3491291c38697c2 | Synchronize version in setup.py with l2cs.__version__ | Pokechu22/l2cs,kemitche/l2cs | setup.py | setup.py | #!/usr/bin/env python2.7
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='l2cs',
version="0.1.0",
install_requires=["whoosh"],
packages=find_packages(exclud... | #!/usr/bin/env python2.7
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='l2cs',
version="0.1",
install_requires=["whoosh"],
packages=find_packages(exclude=... | bsd-2-clause | Python |
eda3a520055d63c2ee0d41c75246a71764451908 | address breaking moto change to awslambda (#763) | remind101/stacker,remind101/stacker | setup.py | setup.py | import os
from setuptools import setup, find_packages
VERSION = "1.7.1"
src_dir = os.path.dirname(__file__)
install_requires = [
"future",
"troposphere>=1.9.0",
'botocore>=1.12.111', # matching boto3 requirement
"boto3>=1.9.111,<2.0",
"PyYAML>=3.13b1",
"awacs>=0.6.0",
"gitpython>=2.0,<3.... | import os
from setuptools import setup, find_packages
VERSION = "1.7.1"
src_dir = os.path.dirname(__file__)
install_requires = [
"future",
"troposphere>=1.9.0",
'botocore>=1.12.111', # matching boto3 requirement
"boto3>=1.9.111,<2.0",
"PyYAML>=3.13b1",
"awacs>=0.6.0",
"gitpython>=2.0,<3.... | bsd-2-clause | Python |
3846bd432194b9de260d156f970a94588ec7d97d | Update setup.py (#650) | tableau/server-client-python,tableau/server-client-python | setup.py | setup.py | import sys
import versioneer
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Only instal... | import sys
import versioneer
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Only instal... | mit | Python |
fb6f93359a3dcfa61eccbf286dd073e2d029dc26 | Change tsapi version | boundary/pulse-wiimote,jdgwartney/pulse-wiimote,boundary/boundary-wiimote,boundary/pulse-wiimote,jdgwartney/boundary-wiimote,jdgwartney/boundary-wiimote,jdgwartney/pulse-wiimote,boundary/boundary-wiimote | setup.py | setup.py | from distutils.core import setup
setup(
name='tspwiimote',
version='0.1.0',
url="http://github.com/boundary/pulse-wiimote/",
author='David Gwartney',
author_email='david_gwartney@bmc.com',
packages=['tspwiimote', ],
entry_points={
'console_scripts': [
'pulse-wiimote = ts... | from distutils.core import setup
setup(
name='tspwiimote',
version='0.1.0',
url="http://github.com/boundary/pulse-wiimote/",
author='David Gwartney',
author_email='david_gwartney@bmc.com',
packages=['tspwiimote', ],
entry_points={
'console_scripts': [
'pulse-wiimote = ts... | apache-2.0 | Python |
fd37c33acc1a938a1060310b60315030fa66ca1c | Update setup.py | M1hacka/django-rest-form-fields | setup.py | setup.py | from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
requires = []
with open('requirements.txt') as f:
for line in f.readlines():
line = line.strip() # Remove spaces
line = line.split('#')[0] # Remove comments
if line: # Remove empty lines
... | from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
requires = []
with open('requirements.txt') as f:
for line in f.readlines():
line = line.strip() # Remove spaces
line = line.split('#')[0] # Remove comments
if line: # Remove empty lines
... | bsd-3-clause | Python |
582db33a03509324c02d9861b48138c7ce54947e | Add all supported python versions to classifiers. | csadorf/signac,csadorf/signac | setup.py | setup.py | import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.6.2',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf... | import sys
from setuptools import setup, find_packages
if sys.version_info < (2, 7, 0):
print("Error: signac requires python version >= 2.7.x.")
sys.exit(1)
setup(
name='signac',
version='0.6.2',
packages=find_packages(),
zip_safe=True,
author='Carl Simon Adorf',
author_email='csadorf... | bsd-3-clause | Python |
cd6f173a5746be07a47ef7b1e944fbc7f230a74f | Remove Python 3 support | scriptotek/otsrdflib | setup.py | setup.py | #!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(her... | #!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(her... | mit | Python |
4c12f68e5d86acb4152acf5ace6a02b6968db925 | Tweak so that version information is picked up from version.txt. | nylas/icalendar,geier/icalendar,untitaker/icalendar | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
f = open('version.txt', 'r')
version = f.read().strip()
f.close()
setup(name='icalendar',
version=version,
description='iCalendar support module',
package_dir = {'': 'src'},
packages=['icalendar'],
)
| #!/usr/bin/env python
from distutils.core import setup
setup(name='icalendar',
version='0.10',
description='iCalendar support module',
package_dir = {'': 'src'},
packages=['icalendar'],
)
| bsd-2-clause | Python |
213d2205149f724f5ecba20a584871e3198a50a8 | Fix setup.py | kz26/PyExcelerate | setup.py | setup.py | #!/usr/bin/python
from setuptools import setup
setup(
name="PyExcelerate",
version='0.6.1',
author="Kevin Wang and Kevin Zhang",
author_email="kevin@kevinzhang.me",
maintainer="Kevin Zhang",
maintainer_email="kevin@kevinzhang.me",
url="https://github.com/kz26/PyExcelerate",
description="Accelerated Excel XLSX... | #!/usr/bin/python
from setuptools import setup
execfile('pyexcelerate/_version.py')
setup(
name="PyExcelerate",
version=__version__,
author="Kevin Wang and Kevin Zhang",
author_email="kevin@kevinzhang.me",
maintainer="Kevin Zhang",
maintainer_email="kevin@kevinzhang.me",
url="https://github.com/kz26/PyExcelera... | bsd-2-clause | Python |
dc4cb4a856d3ad814b57b4b7487d86d9e0f0fad4 | Support future 3.x Python versions. | larsbutler/geomet,geomet/geomet,larsbutler/geomet,geomet/geomet | setup.py | setup.py | """
GeoMet
Convert GeoJSON to WKT/WKB (Well-Known Text/Binary), and vice versa.
"""
import re
import sys
from setuptools import find_packages
from setuptools import setup
if (3,2) < sys.version_info < (3,4):
raise RuntimeError("Python3.3 is no longer supported")
def get_version():
version_re = r"^__versio... | """
GeoMet
Convert GeoJSON to WKT/WKB (Well-Known Text/Binary), and vice versa.
"""
import re
import sys
from setuptools import find_packages
from setuptools import setup
if (3,2) < sys.version_info < (3,4):
raise RuntimeError("Python3.3 is no longer supported")
def get_version():
version_re = r"^__versio... | apache-2.0 | Python |
72e48a78bb1b9f44fa6624f2028e181156a38274 | Update setup.py. | trac-hacks/tracdocs,trac-hacks/tracdocs,mrjbq7/tracdocs,trac-hacks/tracdocs,mrjbq7/tracdocs | setup.py | setup.py | #!/usr/bin/env python
import os.path
from setuptools import setup, find_packages
# Utility function to read the README file.
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'TracDocs',
version = '0.3',
description="A Trac plugin for RCS-backed documen... | #!/usr/bin/env python
from setuptools import setup, find_packages
PACKAGE = 'TracDocs'
VERSION = '0.3'
setup(
name=PACKAGE, version=VERSION,
description="A plugin for RCS-backed documentation",
packages=find_packages(exclude=['ez_setup', '*.tests*']),
package_data={
'tracdocs': [
... | bsd-2-clause | Python |
8634fd9abba77c3fdd11c90b544b0995383886cc | Update setup.py | job/irrtree | setup.py | setup.py | #!/usr/bin/env python
# Copyright (C) 2015 Job Snijders <job@instituut.net>
#
# This file is part of IRRTree
#
# 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 co... | #!/usr/bin/env python
# Copyright (C) 2015 Job Snijders <job@instituut.net>
#
# This file is part of IRRTree
#
# 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 co... | bsd-2-clause | Python |
37033b486645b42a000b868a86fb497cda755e10 | Fix typo in setup.py | johanvdw/niche_vlaanderen | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
requirements = [
'pandas',
'numpy',
'rasterio',
'pyyaml'
]
setup(name='niche_vlaanderen',
version=... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
requirements = [
'pandas',
'numpy',
'rasterio',
'pyyaml'
]
setup(name='niche_vlaanderen',
version=... | mit | Python |
985c9893f97f832d899b6fd328f23dba1fb596f3 | exclude the right test_project | mbi/django-front,mbi/django-front,mbi/django-front | setup.py | setup.py | import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as test_command
class Tox(test_command):
user_options = [('tox-args=', 'a', "Arguments to pass to tox")]
def initialize_options(self):
test_command.initialize_options(self)
self.tox_args = None
... | from setuptools import setup, find_packages
from setuptools.command.test import test as test_command
import sys
class Tox(test_command):
user_options = [('tox-args=', 'a', "Arguments to pass to tox")]
def initialize_options(self):
test_command.initialize_options(self)
self.tox_args = None
... | mit | Python |
39fcc0547f58ced0b33d3675798188d2b35775d2 | Move ast_gen importing into a function. | pradyunsg/Py2C,pradyunsg/Py2C | setup.py | setup.py | #!/usr/bin/python3
#-------------------------------------------------------------------------------
# Py2C - A Python to C++ compiler
# Copyright (C) 2014 Pradyun S. Gedam
#
# 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
# th... | #!/usr/bin/python3
#-------------------------------------------------------------------------------
# Py2C - A Python to C++ compiler
# Copyright (C) 2014 Pradyun S. Gedam
#
# 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
# th... | bsd-3-clause | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.