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
c9706192d6d1a00731fbc635d3b636d46291d7cf
add cli mode
Kilerd/nougat
setup.py
setup.py
from setuptools import setup from os import path from nougat import __version__ here = path.abspath(path.dirname(__file__)) setup_kwargs = { 'name': 'nougat', 'version': __version__, 'description': 'Async API framework with human friendly params definition and automatic document', 'url': 'https://git...
from setuptools import setup from os import path from nougat import __version__ here = path.abspath(path.dirname(__file__)) setup_kwargs = { 'name': 'nougat', 'version': __version__, 'description': 'Async API framework with human friendly params definition and automatic document', 'url': 'https://git...
mit
Python
a6147357f93295e5b363f36da1c14fd3db7dc062
Add email (required) and packages
evadot/millipede-python,evadot/millipede-python,getmillipede/millipede-python,moul/millipede-python,EasonYi/millipede-python,moul/millipede-python,EasonYi/millipede-python,getmillipede/millipede-python
setup.py
setup.py
"""Millipede installation script https://github.com/evadot/millipede """ from setuptools import setup, find_packages from codecs import open from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f: long_description = f.read() setup( ...
"""Millipede installation script https://github.com/evadot/millipede """ from setuptools import setup, find_packages from codecs import open from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f: long_description = f.read() setup( ...
bsd-3-clause
Python
d390caaf6a26997ba93b9eba29c552c9e940befe
Switch to setuptools; tweak meta data
sprymix/metamagic.json,sprymix/metamagic.json,sprymix/metamagic.json
setup.py
setup.py
## # Copyright (c) 2012 Sprymix Inc. # All rights reserved. # # See LICENSE for details. ## import sys from setuptools import setup, Extension if sys.version_info[:2] < (3, 3): raise RuntimeError('metamagic.json requires python 3.3 or greater') readme = open('README.rst').read() setup( name='metamagic.j...
## # Copyright (c) 2012 Sprymix Inc. # All rights reserved. # # See LICENSE for details. ## import sys from distutils.core import setup, Extension if sys.version_info[:2] < (3, 3): raise RuntimeError('metamagic.json requires python 3.3 or greater') readme = open('README.rst').read() setup( name='metamag...
bsd-2-clause
Python
213b6303eba6edb4ebb0f9f5101ab2a1e76acfaf
Remove useless requirement on Python 3.2+
perdona/django-pipeline,chipx86/django-pipeline,cyberdelia/django-pipeline,kronion/django-pipeline,cyberdelia/django-pipeline,skolsuper/django-pipeline,kronion/django-pipeline,beedesk/django-pipeline,sideffect0/django-pipeline,lexqt/django-pipeline,jazzband/django-pipeline,theatlantic/django-pipeline,chipx86/django-pip...
setup.py
setup.py
# -*- coding: utf-8 -*- import io from setuptools import setup, find_packages import sys install_requires = [] if (sys.version_info[0], sys.version_info[1]) < (3, 2): install_requires.append('futures>=2.1.3') setup( name='django-pipeline', version='1.5.2', description='Pipeline is an asset packaging ...
# -*- coding: utf-8 -*- import io from setuptools import setup, find_packages setup( name='django-pipeline', version='1.5.2', description='Pipeline is an asset packaging library for Django.', long_description=io.open('README.rst', encoding='utf-8').read() + '\n\n' + io.open('HISTORY.rst', enc...
mit
Python
d9a0c1c738d26c0688a8dff46a7d3eae983fc268
add actionAngle extension
followthesheep/galpy,followthesheep/galpy,jobovy/galpy,jobovy/galpy,followthesheep/galpy,followthesheep/galpy,jobovy/galpy,jobovy/galpy
setup.py
setup.py
from setuptools import setup from distutils.core import Extension import os, os.path import glob longDescription= "" #Orbit integration C extension orbit_int_c_src= ['galpy/util/bovy_symplecticode.c','galpy/util/bovy_rk.c'] orbit_int_c_src.extend(glob.glob('galpy/potential_src/potential_c_ext/*.c')) orbit_int_c_src.e...
from setuptools import setup from distutils.core import Extension import os, os.path import glob longDescription= "" #Orbit integration C extension orbit_int_c_src= ['galpy/util/bovy_symplecticode.c','galpy/util/bovy_rk.c'] orbit_int_c_src.extend(glob.glob('galpy/potential_src/potential_c_ext/*.c')) orbit_int_c_src.e...
bsd-3-clause
Python
ab0bad286b47fb36a59a3859f66367929d746c26
Bump setup.py version to 0.1.3
com4/eventmq
setup.py
setup.py
""" EventMQ setup.py file for distribution """ from setuptools import setup, find_packages setup( name='eventmq', version='0.1.3', description='EventMQ messaging system based off ZeroMQ', packages=find_packages(), install_requires=['pyzmq>=14.6.0', 'six>=1.5.2', ...
""" EventMQ setup.py file for distribution """ from setuptools import setup, find_packages setup( name='eventmq', version='0.1.0', description='EventMQ messaging system based off ZeroMQ', packages=find_packages(), install_requires=['pyzmq>=14.6.0', 'six>=1.5.2', ...
lgpl-2.1
Python
2b913bbdf63788794f2010ec6dd7cca3043b3379
set thumbor version 3.7.1
jeanmask/opps,williamroot/opps,opps/opps,YACOWS/opps,YACOWS/opps,williamroot/opps,opps/opps,jeanmask/opps,jeanmask/opps,YACOWS/opps,YACOWS/opps,williamroot/opps,opps/opps,williamroot/opps,jeanmask/opps,opps/opps
setup.py
setup.py
#!/usr/bin/env python # -*- coding:utf-8 -*- from setuptools import setup, find_packages import opps install_requires = ["Django<=1.5", "south>=0.7", "Pillow==1.7.8", "thumbor==3.7.1", "django-tagging==0.3.1", "djan...
#!/usr/bin/env python # -*- coding:utf-8 -*- from setuptools import setup, find_packages import opps install_requires = ["Django<=1.5", "south>=0.7", "Pillow==1.7.8", "thumbor", "django-tagging==0.3.1", "django-redi...
mit
Python
84cfb1bae636610981673a4ed5479c4c5e07fb40
Update package version
csdms/bmi-live,csdms/bmi-live
setup.py
setup.py
from setuptools import setup, find_packages setup(name='bmi-live', version='0.2019', author='Mark Piper', author_email='mark.piper@colorado.edu', license='MIT', description='Code, documentation, and Notebooks for the BMI Live clinic', long_description=open('README.md').read(), ...
from setuptools import setup, find_packages setup(name='bmi-live', version='0.1', author='Mark Piper', author_email='mark.piper@colorado.edu', license='MIT', description='Code, documentation, and Notebooks for the BMI Live clinic', long_description=open('README.md').read(), i...
mit
Python
a3815a07161f152e1ecf279b15d378ceb4fbb92b
Bump to v0.3
MOLSSI-BSE/basis_set_exchange
setup.py
setup.py
import setuptools if __name__ == "__main__": setuptools.setup( name='basis_set_exchange', version="0.3.0", description='The Quantum Chemistry Basis Set Exchange', author='The Molecular Sciences Software Institute', author_email='bpp4@vt.edu', url="https://github.com/...
import setuptools if __name__ == "__main__": setuptools.setup( name='basis_set_exchange', version="0.1.0", description='The Quantum Chemistry Basis Set Exchange', author='The Molecular Sciences Software Institute', author_email='bpp4@vt.edu', url="https://github.com/...
bsd-3-clause
Python
65854328aedf173666276dbeb8feb078f205617e
make travis run the hard way
gonicus/gosa,gonicus/gosa,gonicus/gosa,gonicus/gosa
setup.py
setup.py
#!/usr/bin/env python import os import sys modules = [ 'common', 'backend', 'client', 'dbus', 'shell', 'utils', ] paths = [] return_code = 0 # fix for multiple addopts parameters for idx, arg in enumerate(sys.argv): if arg.startswith("--addopts"): sys.argv[idx] = '--addopts="%s"' % arg.split("...
#!/usr/bin/env python import os import sys modules = [ 'common', 'backend', 'client', 'dbus', 'shell', 'utils', ] paths = [] return_code = 0 # fix for multiple addopts parameters for idx, arg in enumerate(sys.argv): if arg.startswith("--addopts"): sys.argv[idx] = '--addopts="%s"' % arg.split("...
lgpl-2.1
Python
c4062160d8bb5da06558d065b3536e193dc91f14
Upgrade 'protobuf' requirement
numan/sunspear
setup.py
setup.py
#!/usr/bin/python from setuptools import setup, find_packages tests_require=[ 'nose', 'mock', ] setup( name="sunspear", license='Apache License 2.0', version="0.3.0", description="Activity streams backed by Riak.", zip_safe=False, long_description=open('README.rst', 'r').read(), a...
#!/usr/bin/python from setuptools import setup, find_packages tests_require=[ 'nose', 'mock', ] setup( name="sunspear", license='Apache License 2.0', version="0.3.0", description="Activity streams backed by Riak.", zip_safe=False, long_description=open('README.rst', 'r').read(), a...
apache-2.0
Python
e0b266c2818d48c5c66b00f09b45f6b9848b6a17
Fix bug in parameter replacement interacting with intrisinc functions
NitorCreations/nitor-deploy-tools,NitorCreations/nitor-deploy-tools,NitorCreations/nitor-deploy-tools
setup.py
setup.py
# Copyright 2016-2017 Nitor Creations Oy # # 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 ...
# Copyright 2016-2017 Nitor Creations Oy # # 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 ...
apache-2.0
Python
c2f26483e61ccf8c169cd83bf316221c3226106c
bump version
bheinzerling/bpemb
setup.py
setup.py
from setuptools import setup with open("README.md", "r") as fh: long_description = fh.read() setup( name='bpemb', version='0.3.1', description='Byte-pair embeddings in 275 languages', long_description=long_description, long_description_content_type="text/markdown", url='https://nlp.h-its.o...
from setuptools import setup with open("README.md", "r") as fh: long_description = fh.read() setup( name='bpemb', version='0.3.0', description='Byte-pair embeddings in 275 languages', long_description=long_description, long_description_content_type="text/markdown", url='https://nlp.h-its.o...
mit
Python
ca6e79500fd6ab0fbdac8d8be9bde5ff4bb68c3a
Create new version
anurag90x/flask-pundit
setup.py
setup.py
from setuptools import setup, find_packages requirements = [ 'Flask==0.10.1', ] setup( name='flask-pundit', version='1.0.2', license='MIT', url='https://github.com/anurag90x/flask-pundit', author='Anurag Chaudhury', author_email='anuragchaudhury@gmail.com', description='Simple library...
from setuptools import setup, find_packages requirements = [ 'Flask==0.10.1', ] setup( name='flask-pundit', version='1.0.1', license='MIT', url='https://github.com/anurag90x/flask-pundit', author='Anurag Chaudhury', author_email='anuragchaudhury@gmail.com', description='Simple library...
mit
Python
d58887fc9e700f58a22876d9566666a3426b84f1
fix test dep
jinty/pytest-services,pytest-dev/pytest-services
setup.py
setup.py
"""Setuptools entry point.""" import codecs import os import sys from setuptools import setup from setuptools.command.test import test as TestCommand import pytest_services dirname = os.path.dirname(__file__) long_description = ( codecs.open(os.path.join(dirname, 'README.rst'), encoding='utf-8').read() + '\n' +...
"""Setuptools entry point.""" import codecs import os import sys from setuptools import setup from setuptools.command.test import test as TestCommand import pytest_services dirname = os.path.dirname(__file__) long_description = ( codecs.open(os.path.join(dirname, 'README.rst'), encoding='utf-8').read() + '\n' +...
mit
Python
774552046a1dc5332fb2dcb2f16170a4ace2c2c1
Bump version
bennylope/pygeocodio
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() readme = open('README.rst').read() history = open('HISTORY.rst...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() readme = open('README.rst').read() history = open('HISTORY.rst...
bsd-3-clause
Python
a41a07949e30bc00e08bb63e3c2c8d28f9ca8d07
Update setup description
henrysher/jmespathv041p
setup.py
setup.py
#!/usr/bin/env python import os import sys from setuptools import setup, find_packages setup( name='jmespath', version='0.0.1', description='JSON Matching Expressions', long_description=open('README.rst').read(), author='James Saryerwinnie', author_email='js@jamesls.com', url='https://gi...
#!/usr/bin/env python import os import sys from setuptools import setup, find_packages setup( name='jmespath', version='0.0.1', description='JSON aggregate matching expression selectors', long_description=open('README.rst').read(), author='James Saryerwinnie', author_email='js@jamesls.com', ...
mit
Python
ba99e66f3bd0939bffa352b33bb9ac539e71e5a7
fix version number in setup.py
dreipol/cmsplugin-filer,eliasp/cmsplugin-filer,nephila/cmsplugin-filer,pbs/cmsplugin-filer,BertrandBordage/cmsplugin-filer,douwevandermeij/cmsplugin-filer,centralniak/cmsplugin-filer,itbabu/cmsplugin-filer,eliasp/cmsplugin-filer,neoascetic/cmsplugin-filer,douwevandermeij/cmsplugin-filer,sephii/cmsplugin-filer,wlanslove...
setup.py
setup.py
import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = "cmsplugin-filer-easy-thumbnails", version = "0.8.0a1", url = 'http://github.com/stefanfoulis/cmsplugin-filer', license = 'BSD', description =...
import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = "cmsplugin-filer-easy-thumbnails", version = "0.7a1", url = 'http://github.com/stefanfoulis/cmsplugin-filer', license = 'BSD', description = "...
bsd-3-clause
Python
902084b3cca5b8c253d41f5af42552ab425250d6
use hwt>=3.4
Nic30/hwtLib,Nic30/hwtLib
setup.py
setup.py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- from os import path from setuptools import setup, find_packages this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup(name='hwtLib', version='2.8', ...
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- from os import path from setuptools import setup, find_packages this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup(name='hwtLib', version='2.8', ...
mit
Python
9c1f38a8f334a267bbd5f240507a9d29cb6cee72
Update classifiers
rmariano/compr,rmariano/compr
setup.py
setup.py
from setuptools import setup from compressor.constants import VERSION tests_require = ['pytest', 'pytest-cov', 'codecov', 'mypy', 'pylint'] docs_require = ['Sphinx', 'sphinx-autodoc-annotation'] with open('README.rst', 'r') as readme: LONG_DESC = readme.read() setup( name='trenzalore', version=VERSION...
from setuptools import setup from compressor.constants import VERSION tests_require = ['pytest', 'pytest-cov', 'codecov', 'mypy', 'pylint'] docs_require = ['Sphinx', 'sphinx-autodoc-annotation'] with open('README.rst', 'r') as readme: LONG_DESC = readme.read() setup( name='trenzalore', version=VERSION...
mit
Python
16b417f871c28bbb5dec9dab62cc8714d25f7c82
Add Python version trove classifiers
feincms/feincms,nickburlett/feincms,mjl/feincms,michaelkuty/feincms,michaelkuty/feincms,mjl/feincms,matthiask/feincms2-content,michaelkuty/feincms,matthiask/feincms2-content,feincms/feincms,joshuajonah/feincms,matthiask/feincms2-content,joshuajonah/feincms,matthiask/django-content-editor,matthiask/django-content-editor...
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup, find_packages def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() setup( name='FeinCMS', version=__import__('feincms').__version__, description='Django-based Page CMS and CMS building toolkit.', ...
#!/usr/bin/env python import os from setuptools import setup, find_packages def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() setup( name='FeinCMS', version=__import__('feincms').__version__, description='Django-based Page CMS and CMS building toolkit.', ...
bsd-3-clause
Python
93296fb308528cdc43b40a5d56ce5b41c7cdc44c
Bump version to 0.1.17
ribozz/sphinx-argparse
setup.py
setup.py
from setuptools import setup deps = ["sphinx"] setup( name='sphinx-argparse', version='0.1.17', packages=[ 'sphinxarg', ], url='', license='MIT', author='Aleksandr Rudakov', author_email='ribozz@gmail.com', description='Sphinx extension that automatically documents argpars...
from setuptools import setup deps = ["sphinx"] setup( name='sphinx-argparse', version='0.1.16', packages=[ 'sphinxarg', ], url='', license='MIT', author='Aleksandr Rudakov', author_email='ribozz@gmail.com', description='Sphinx extension that automatically documents argpars...
mit
Python
139016eca82c238feed32464c2e01f6ee2d37eb1
Move to v1.4.0
controversial/livejson
setup.py
setup.py
from setuptools import setup setup( name="livejson", py_modules=["livejson"], version="1.4.0", description="Bind Python objects to JSON files", long_description=("An interface to transparantly bind Python objects to " "JSON files so that all changes made to the object are " ...
from setuptools import setup setup( name="livejson", py_modules=["livejson"], version="1.3.0", description="Bind Python objects to JSON files", long_description=("An interface to transparantly bind Python objects to " "JSON files so that all changes made to the object are " ...
mit
Python
c2bfa661545d560b22b39c335e93bae20f4b2f43
fix lint
pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision
torchvision/__init__.py
torchvision/__init__.py
from torchvision import models from torchvision import datasets from torchvision import transforms from torchvision import utils try: from .version import __version__ # noqa: F401 except ImportError: pass _image_backend = 'PIL' def set_image_backend(backend): """ Specifies the package used to load ...
from torchvision import models from torchvision import datasets from torchvision import transforms from torchvision import utils try: from .version import __version__ # noqa: F401 except: pass _image_backend = 'PIL' def set_image_backend(backend): """ Specifies the package used to load images. ...
bsd-3-clause
Python
7e18a29a23e438295311dd37bc200e22dd5cd273
Add socket timeout to Transceiver
richid/tornavro
tornavro/transceiver.py
tornavro/transceiver.py
"""Simple, blocking, socket-based transceiver.""" import socket import avro.ipc try: from cStringIO import StringIO except ImportError: from StringIO import StringIO class SocketTransceiver(object): """Simple, blocking, socket-based transceiver.""" def __init__(self, host, port, timeout=None): ...
"""Simple, blocking, socket-based transceiver.""" import socket import avro.ipc try: from cStringIO import StringIO except ImportError: from StringIO import StringIO class SocketTransceiver(object): """Simple, blocking, socket-based transceiver.""" def __init__(self, host, port): """Create...
mit
Python
4da0c54eef02936610fb65bbd610b911220ac1e8
Bump bug fix version.
jzellman/delim
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'description': 'delim - Utility functions for working with delimited (CSV) files in Python 2.', 'author': 'Jeff Zellman', 'url': 'http://github.com/jzellman/delim', 'download_url': 'http://github.c...
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'description': 'delim - Utility functions for working with delimited (CSV) files in Python 2.', 'author': 'Jeff Zellman', 'url': 'http://github.com/jzellman/delim', 'download_url': 'http://github.c...
mit
Python
b0f34792ad3d1f0b93e12835e4f03faebdf23c09
add pyserial as a requirement
rjw57/buri,rjw57/buri,rjw57/buri,rjw57/buri,rjw57/buri
setup.py
setup.py
from setuptools import setup, find_packages setup( name='burisim', version='0.1.0', description='Simulator for buri machine', author='Rich Wareham', author_email='rich.buri@richwareham.com', packages=find_packages(), install_requires=[ 'docopt', 'future', 'py65', ...
from setuptools import setup, find_packages setup( name='burisim', version='0.1.0', description='Simulator for buri machine', author='Rich Wareham', author_email='rich.buri@richwareham.com', packages=find_packages(), install_requires=[ 'docopt', 'future', 'py65', ...
mit
Python
d432f2fc564ec2020643dccb3d623b41a116d238
Add docs and categories to admin
hansjorg/rust-ci,youprofit/rust-ci-1,hansjorg/rust-ci,youprofit/rust-ci-1,youprofit/rust-ci-1,youprofit/rust-ci-1
tpt/ppatrigger/admin.py
tpt/ppatrigger/admin.py
from django.contrib import admin from ppatrigger.models import Ppa, Package, Project admin.site.register(Ppa) admin.site.register(Package) admin.site.register(Project) admin.site.register(ProjectDocs) admin.site.register(ProjectCategory)
from django.contrib import admin from ppatrigger.models import Ppa, Package, Project admin.site.register(Ppa) admin.site.register(Package) admin.site.register(Project)
apache-2.0
Python
d0bb6edd55b554e25fd56b82fb21ce40ee0c9969
Adjust Trove classifiers to include "stable"
Flimm/django-fullurl,Flimm/django-fullurl
setup.py
setup.py
from setuptools import setup, find_packages import os BASE_DIR = os.path.abspath(os.path.dirname(__file__)) readme = open(os.path.join(BASE_DIR, 'README.rst'), 'rb').read().decode('UTF-8') changelog = open(os.path.join(BASE_DIR, 'CHANGELOG.rst'), 'rb').read().decode('UTF-8') setup( name='django-fullurl', ver...
from setuptools import setup, find_packages import os BASE_DIR = os.path.abspath(os.path.dirname(__file__)) readme = open(os.path.join(BASE_DIR, 'README.rst'), 'rb').read().decode('UTF-8') changelog = open(os.path.join(BASE_DIR, 'CHANGELOG.rst'), 'rb').read().decode('UTF-8') setup( name='django-fullurl', ver...
mit
Python
d5eb2eb9d67b83443d64568533f454533787acf5
bump jsonschema from 4.1.0 to 4.1.1
freelawproject/reporters-db
setup.py
setup.py
import codecs import os from setuptools import setup, find_packages VERSION = "3.2.5" AUTHOR = "Mike Lissner" EMAIL = "mike@free.law" HERE = os.path.abspath(os.path.dirname(__file__)) reqs_path = HERE + "/requirements.txt" with open(reqs_path) as reqs_file: reqs = reqs_file.read().splitlines() def read(*parts)...
import codecs import os from setuptools import setup, find_packages VERSION = "3.2.5" AUTHOR = "Mike Lissner" EMAIL = "mike@free.law" HERE = os.path.abspath(os.path.dirname(__file__)) reqs_path = HERE + "/requirements.txt" with open(reqs_path) as reqs_file: reqs = reqs_file.read().splitlines() def read(*parts)...
bsd-2-clause
Python
3f6c76295080b2606c98ee9241fee674f3c43cfc
Bump version: 1.0.9 -> 1.1.0
frewsxcv/python-geojson
setup.py
setup.py
import io from setuptools import setup import sys with io.open("README.rst") as readme_file: readme_text = readme_file.read() def test_suite(): import doctest try: import unittest2 as unittest except: import unittest suite = unittest.TestLoader().discover("tests") suite.addT...
import io from setuptools import setup import sys with io.open("README.rst") as readme_file: readme_text = readme_file.read() def test_suite(): import doctest try: import unittest2 as unittest except: import unittest suite = unittest.TestLoader().discover("tests") suite.addT...
bsd-3-clause
Python
d5b8412c9c3dd5e6e135e85a0bf1aa8b3b24ddde
Bump flake8 from 3.9.2 to 4.0.1 (#103)
glidernet/python-ogn-client
setup.py
setup.py
#!/usr/bin/env python3 from os import path from setuptools import setup, find_packages from ogn.client.settings import PACKAGE_VERSION here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f...
#!/usr/bin/env python3 from os import path from setuptools import setup, find_packages from ogn.client.settings import PACKAGE_VERSION here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f...
agpl-3.0
Python
6672a519ab3ea722f357ec554da6911741dcec8b
Fix reading version from a code file
elliptical/bencode
setup.py
setup.py
"""Setup script. Run "python setup.py install" to install the bencode package. """ from os import path import re import sys from setuptools import setup PACKAGE_NAME = 'bencode' if sys.version_info < (3, 6): raise RuntimeError(f'{PACKAGE_NAME} requires Python 3.6 or higher') def get_version(): """Retu...
"""Setup script. Run "python setup.py install" to install the bencode package. """ import os import re import sys from setuptools import setup PACKAGE_NAME = 'bencode' if sys.version_info < (3, 6): raise RuntimeError(f'{PACKAGE_NAME} requires Python 3.6 or higher') def get_version(): """Return the ver...
mit
Python
134d2c5f425e9fa477599957686604161ee5411c
Fix setup.py
snormore/pyreferrer
setup.py
setup.py
from setuptools import setup setup(name='referrer', version='0.1', description='A referrer parser for Python.', url='http://github.com/snormore/pyreferrer', author='Steven Normore', author_email='snormore@gmail.com', license='MIT', packages=['referrer'], zip_safe=False)
from setuptools import setup setup(name='useragent', version='0.1', description='A useragent parser for Python.', url='http://github.com/snormore/pyuseragent', author='Steven Normore', author_email='snormore@gmail.com', license='Apache', packages=['useragent'], zip_safe=...
mit
Python
0e1f82f6dce9906d167424e30730c5b6a95d07a8
Bump version to 3.1m2 / 1.1m2
geokala/cloudify-openstack-plugin,codilime/cloudify-openstack-plugin,GigaSpaces-ProfessionalServices/cloudify-openstack-plugin,isaac-s/cloudify-openstack-plugin,szpotona/cloudify-openstack-plugin
setup.py
setup.py
######### # Copyright (c) 2014 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
######### # Copyright (c) 2014 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
apache-2.0
Python
18eb94758b7944e5b6b26926bdf02bc24c32c7b5
Fix setup.py
kennu/django-mongom2m
setup.py
setup.py
from distutils.core import setup setup( name='django-mongom2m', version='0.1.0', author=u'Kenneth Falck', author_email='kennu@iki.fi', packages=['mongom2m'], url='https://github.com/kennu/django-mongom2m', license='BSD licence, see LICENCE.txt', description='A ManyToManyField for django...
from distutils.core import setup setup( name='django-mongom2m', version='0.1.0', author=u'Kenneth Falck', author_email='kennu@iki.fi', packages=['mongom2m'], url='https://github.com/kennu/django-mongom2m', license='BSD licence, see LICENCE.txt', description='A ManyToManyField for django...
bsd-2-clause
Python
63f01bdbf9a6287ecbd63fe742c39f727a35b544
Update setup.py
palmhold/djinn,felinx/djinn
setup.py
setup.py
# -*- coding: utf-8 -*- # # Copyright(c) 2014 palmhold.com # # 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...
# -*- coding: utf-8 -*- # # Copyright(c) 2014 palmhold.com # # 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...
apache-2.0
Python
f20f76070dbda694d1f00fd7e34970ac91076988
Fix PyPI license tag
hugovk/Gutenberg,c-w/Gutenberg
setup.py
setup.py
"""Library installer.""" from __future__ import absolute_import, unicode_literals from os.path import isfile from sys import version_info from setuptools import find_packages from setuptools import setup def requirements_for(version=None): suffix = '-py%s' % version if version is not None else '' pip_path =...
"""Library installer.""" from __future__ import absolute_import, unicode_literals from os.path import isfile from sys import version_info from setuptools import find_packages from setuptools import setup def requirements_for(version=None): suffix = '-py%s' % version if version is not None else '' pip_path =...
apache-2.0
Python
374949ac59976a0f92acfab19672a3b4412f7175
add setup.py classifiers
silverlogic/prettyexc
setup.py
setup.py
from __future__ import with_statement try: from setuptools import setup except ImportError: from distutils.core import setup def get_version(): with open('prettyexc/version.txt') as f: return f.read().strip() def get_readme(): try: with open('README.rst') as f: return f....
from __future__ import with_statement try: from setuptools import setup except ImportError: from distutils.core import setup def get_version(): with open('prettyexc/version.txt') as f: return f.read().strip() def get_readme(): try: with open('README.rst') as f: return f....
bsd-2-clause
Python
8351b85c8bd41348e19e8551a3348b7dc5598f9c
Revert "Comment Django 2.2 support in setup.py"
alex/django-filter,alex/django-filter
setup.py
setup.py
import os import sys from setuptools import setup, find_packages f = open('README.rst') readme = f.read() f.close() version = '2.1.0' if sys.argv[-1] == 'publish': if os.system("pip freeze | grep wheel"): print("wheel not installed.\nUse `pip install wheel`.\nExiting.") sys.exit() if os.syste...
import os import sys from setuptools import setup, find_packages f = open('README.rst') readme = f.read() f.close() version = '2.1.0' if sys.argv[-1] == 'publish': if os.system("pip freeze | grep wheel"): print("wheel not installed.\nUse `pip install wheel`.\nExiting.") sys.exit() if os.syste...
bsd-3-clause
Python
52c7a6b9e5eef3fdba4a54df11c52583255d4aa5
Update authors
grycap/ec3,grycap/ec3
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup # Add contextualization dir files install_path = '/etc/ec3/' datafiles = [(os.path.join(install_path, root), [os.path.join(root, f) for f in files]) for root, dirs, files in os.walk("templates")] # Utility function to read the README file. # Used for t...
#!/usr/bin/env python import os from setuptools import setup # Add contextualization dir files install_path = '/etc/ec3/' datafiles = [(os.path.join(install_path, root), [os.path.join(root, f) for f in files]) for root, dirs, files in os.walk("templates")] # Utility function to read the README file. # Used for t...
apache-2.0
Python
069015c814cb8fbb5df2494c697c29e422adb55e
Remove invalid setup.py line.
rbarrois/mpdlcd,rbarrois/mpdlcd
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2011-2012 Raphaël Barrois from distutils.core import setup from distutils import cmd import os import re def get_version(): version_re = re.compile(r"^VERSION = '([\w_.]+)'$") with open(os.path.join(os.path.dirname(__file__), 'mpdlcd', '__init__.py')) ...
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2011-2012 Raphaël Barrois from distutils.core import setup from distutils import cmd import os import re def get_version(): version_re = re.compile(r"^VERSION = '([\w_.]+)'$") with open(os.path.join(os.path.dirname(__file__), 'mpdlcd', '__init__.py')) ...
mit
Python
5e1a6bfd7271a150bc5c2568f7a2f7648863fc04
Update setup.py
deepmind/rlax,deepmind/rlax
setup.py
setup.py
# Lint as: python3 # Copyright 2019 DeepMind Technologies Limited. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
# Lint as: python3 # Copyright 2019 DeepMind Technologies Limited. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
apache-2.0
Python
2d191e8e99b79ce9da57c1772591f1a65ab9540e
fix formatting
ultrabug/py3status,valdur55/py3status,ultrabug/py3status,ultrabug/py3status,valdur55/py3status,valdur55/py3status
setup.py
setup.py
""" py3status """ from setuptools import find_packages, setup import fastentrypoints # noqa f401 import sys from pathlib import Path module_path = Path(__file__).resolve().parent / "py3status" sys.path.insert(0, str(module_path)) from version import version # noqa e402 sys.path.remove(str(module_path)) # Utility...
""" py3status """ from setuptools import find_packages, setup import fastentrypoints # noqa f401 import sys from pathlib import Path module_path = Path(__file__).resolve().parent / "py3status" sys.path.insert(0, str(module_path)) from version import version # noqa e402 sys.path.remove(str(module_path)) # Utility...
bsd-3-clause
Python
dbeef6ed45d97bf028fabc53b437ea30f2ce0f10
fix package_data
tagucci/pythonrouge,tagucci/pythonrouge
setup.py
setup.py
from setuptools import setup setup( name='pythonrouge', version='0.4', description='python wrapper for ROUGE evaluation', url='http://github.com/tagucci/pythonrouge', author='tagucci', author_email='yuya.tagucci@gmail.com', keywords=['NL', 'CL', 'natural language processing', ...
from setuptools import setup setup( name="pythonrouge", version="0.3", description="ROUGE script using python", url="http://github.com/tagucci/pythonrouge", author="tagucci", author_email="taguchi.yuya.to0@is.naist.jp", keywords=["NL", "CL", "natural language processing", "computational lin...
mit
Python
6852b16c2d85204a6d4bd65b067048f1cfdafca4
use find_packages instead of py_modules
VeryCB/flask-slack
setup.py
setup.py
import os from setuptools import setup, find_packages def fread(fname): filepath = os.path.join(os.path.dirname(__file__), fname) with open(filepath) as f: return f.read() setup( name='Flask-Slack', version='0.1.4', url='https://github.com/verycb/flask-slack', author='VeryCB', a...
import os from setuptools import setup def fread(fname): filepath = os.path.join(os.path.dirname(__file__), fname) with open(filepath) as f: return f.read() setup( name='Flask-Slack', version='0.1.4', url='https://github.com/verycb/flask-slack', author='VeryCB', author_email='im...
bsd-3-clause
Python
705fcbc6a5c4946725b3a5d1e6ab39f48bfc1e2b
Drop Python 2.7 from classifiers
XML-Security/signxml,XML-Security/signxml
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='signxml', version="2.8.2", url='https://github.com/kislyuk/signxml', license='Apache Software License', author='Andrey Kislyuk', author_email='kislyuk@gmail.com', description='Python XML Signature library', ...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='signxml', version="2.8.2", url='https://github.com/kislyuk/signxml', license='Apache Software License', author='Andrey Kislyuk', author_email='kislyuk@gmail.com', description='Python XML Signature library', ...
apache-2.0
Python
8d17225a88d92b66c23dd05406ddc2b7d2485500
Update version to 1.2.2
yunify/qingcloud-sdk-python
setup.py
setup.py
# coding:utf-8 import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.version_info < (2, 6): error = 'ERROR: qingcloud-sdk requires Python Version 2.6 or above.' print >> sys.stderr, error sys.exit(1) setup( name='qingcloud-sdk', version=...
# coding:utf-8 import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.version_info < (2, 6): error = 'ERROR: qingcloud-sdk requires Python Version 2.6 or above.' print >> sys.stderr, error sys.exit(1) setup( name='qingcloud-sdk', version=...
apache-2.0
Python
af6a8eba72b15eeb8d6b5389026bc9a45a98b267
Package is zip-safe
jaraco/calendra
setup.py
setup.py
#!/usr/bin/env python #-*- coding: utf-8 -*- import io from os.path import join, dirname, abspath import sys PY2 = sys.version_info[0] == 2 try: from setuptools import setup except ImportError: from distutils.core import setup # NOQA def read_relative_file(filename): """Returns contents of the given fi...
#!/usr/bin/env python #-*- coding: utf-8 -*- import io from os.path import join, dirname, abspath import sys PY2 = sys.version_info[0] == 2 try: from setuptools import setup except ImportError: from distutils.core import setup # NOQA def read_relative_file(filename): """Returns contents of the given fi...
mit
Python
88f241b77438ae59912be6df75b66260a39c7c12
Change package name from 's3' to 'ucldc_iiif'.
barbarahui/ucldc-iiif,mredar/ucldc-iiif,mredar/ucldc-iiif,barbarahui/ucldc-iiif
setup.py
setup.py
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).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 = "ucldc-iiif", version = "0.0.1", description...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).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 = "ucldc-iiif", version = "0.0.1", description...
bsd-3-clause
Python
edbdbcfc4e768ff4e8536ed3b72c4dcf63b615e2
Make scaffoldmaker v0.4.0 the default installed version.
rchristie/mapclientplugins.meshgeneratorstep
setup.py
setup.py
import codecs import io import os import re from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(os.path.abspath(__file__)) def read(*parts): with codecs.open(os.path.join(SETUP_DIR, *parts), 'r') as fp: return fp.read() def find_version(*file_paths): version_file = read(*file_p...
import codecs import io import os import re from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(os.path.abspath(__file__)) def read(*parts): with codecs.open(os.path.join(SETUP_DIR, *parts), 'r') as fp: return fp.read() def find_version(*file_paths): version_file = read(*file_p...
apache-2.0
Python
54eff86ac2a0bd16deb8ff562dc3be198ace2376
Add "all" extra req.
foliant-docs/foliant
setup.py
setup.py
from setuptools import setup, find_packages import foliant def readme(): try: with open("README.rst", encoding="utf8") as f: return f.read() except IOError: pass setup( name="foliant", version=foliant.__version__, url="https://github.com/foliant-docs/foliant", dow...
from setuptools import setup, find_packages import foliant def readme(): try: with open("README.rst", encoding="utf8") as f: return f.read() except IOError: pass setup( name="foliant", version=foliant.__version__, url="https://github.com/foliant-docs/foliant", dow...
mit
Python
a69fbf8e564b0791cf5d3c4cec7436696695f273
Set revision and date properly.
Cito/DBUtils,Cito/DBUtils
setup.py
setup.py
from distutils.core import setup import warnings warnings.filterwarnings('ignore', 'Unknown distribution option') import sys # patch distutils if it can't cope with the "classifiers" keyword if sys.version < '2.2.3': from distutils.dist import DistributionMetadata DistributionMetadata.classifiers = None Distributi...
from distutils.core import setup import warnings warnings.filterwarnings('ignore', 'Unknown distribution option') import sys # patch distutils if it can't cope with the "classifiers" keyword if sys.version < '2.2.3': from distutils.dist import DistributionMetadata DistributionMetadata.classifiers = None Distributi...
mit
Python
983c2cbef30562b12ef6f8fc55066a1e84018455
correct tests
telminov/sw-django-rest-auth
setup.py
setup.py
# coding: utf-8 # python setup.py sdist register upload from setuptools import setup setup( name='sw-django-rest-auth', version='0.0.6', description='Soft Way company django restfromework authentication service package.', author='Telminov Sergey', url='https://github.com/telminov/sw-django-rest-aut...
# coding: utf-8 # python setup.py sdist register upload from setuptools import setup setup( name='sw-django-rest-auth', version='0.0.5', description='Soft Way company django restfromework authentication service package.', author='Telminov Sergey', url='https://github.com/telminov/sw-django-rest-aut...
mit
Python
5bb96c67d6bd613b0eec5976ba4a53d013c082ee
Bump version to 0.6.1
JrGoodle/clowder,JrGoodle/clowder,JrGoodle/clowder
setup.py
setup.py
""" Setup file for clowder """ from setuptools import setup import sys # Written according to the docs at # https://packaging.python.org/en/latest/distributing.html if sys.version_info[0] < 3: sys.exit('This script requires python 3.0 or higher to run.') setup( name='clowder', description='A tool for man...
""" Setup file for clowder """ from setuptools import setup import sys # Written according to the docs at # https://packaging.python.org/en/latest/distributing.html if sys.version_info[0] < 3: sys.exit('This script requires python 3.0 or higher to run.') setup( name='clowder', description='A tool for man...
mit
Python
1e5fe4d83f9811343cf8b13c9c02e73692bdd644
Make setup.py parseable on Python3 with LANG unset
lipoja/URLExtract,lipoja/URLFinder
setup.py
setup.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ setup for urlextract .. Created on 2016-07-29 .. Licence MIT .. codeauthor:: Jan Lipovský <janlipovsky@gmail.com>, janlipovsky.cz """ import os from distutils.core import setup script_dirname = os.path.join(os.path.dirname(__file__)) __VERSION__ = None # get __VERS...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ setup for urlextract .. Created on 2016-07-29 .. Licence MIT .. codeauthor:: Jan Lipovský <janlipovsky@gmail.com>, janlipovsky.cz """ import os from distutils.core import setup script_dirname = os.path.join(os.path.dirname(__file__)) __VERSION__ = None # get __VERS...
mit
Python
3b1ab5a88b0ca523d0dc0bbb88a9b4922814b931
Bump version number
zedr/boxing-clock
setup.py
setup.py
"""Boxing clock setup file. """ # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'READM...
"""Boxing clock setup file. """ # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'READM...
bsd-3-clause
Python
efacef78764f9b74d57adb3e092fdd8ac24939b3
Allow use of newer django-photologue
praekelt/panya
setup.py
setup.py
from setuptools import setup, find_packages setup( name='panya', version='0.1.6', description='Panya base app.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com'...
from setuptools import setup, find_packages setup( name='panya', version='0.1.6', description='Panya base app.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com'...
bsd-3-clause
Python
9e38a667d5875e3dfa956f15893498ee3e1e869d
Add read file
SamuraiT/pandas-rs
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup def pandas_rs_version(): import re version_regex = re.compile(r'__version__ = "([^\"]*)"') return version_regex.match( open('pandas_rs/version.py').read() ).group(1) def read_file(filename): fi...
try: from setuptools import setup except ImportError: from distutils.core import setup def pandas_rs_version(): import re version_regex = re.compile(r'__version__ = "([^\"]*)"') return version_regex.match( open('pandas_rs/version.py').read() ).group(1) def readme(): return open("R...
mit
Python
fdafd8e5a0e10a676477e2fd364032d63329d82c
Update setup.py for new Python version
mixxorz/django-service-objects
setup.py
setup.py
import os from setuptools import find_packages, setup import service_objects BASE_DIR = os.path.dirname(__file__) README_PATH = os.path.join(BASE_DIR, 'README.md') try: import pypandoc LONG_DESCRIPTION = pypandoc.convert(README_PATH, 'rst') LONG_DESCRIPTION_TYPE = 'text/x-rst; charset=UTF-8' except (IOE...
import os from setuptools import find_packages, setup import service_objects BASE_DIR = os.path.dirname(__file__) README_PATH = os.path.join(BASE_DIR, 'README.md') try: import pypandoc LONG_DESCRIPTION = pypandoc.convert(README_PATH, 'rst') LONG_DESCRIPTION_TYPE = 'text/x-rst; charset=UTF-8' except (IOE...
mit
Python
e91623c44216d177e485cb586c2a7a738fc62a0c
Bump version
jadolg/rocketchat_API
setup.py
setup.py
# -*-coding:utf-8-*- from setuptools import setup setup( name='rocketchat_API', version='1.9.0', packages=['rocketchat_API', 'rocketchat_API.APIExceptions'], url='https://github.com/jadolg/rocketchat_API', license='MIT', author='Jorge Alberto Díaz Orozco', author_email='diazorozcoj@gmail.c...
# -*-coding:utf-8-*- from setuptools import setup setup( name='rocketchat_API', version='1.8.0', packages=['rocketchat_API', 'rocketchat_API.APIExceptions'], url='https://github.com/jadolg/rocketchat_API', license='MIT', author='Jorge Alberto Díaz Orozco', author_email='diazorozcoj@gmail.c...
mit
Python
08c7b07331ce279e4cfadeb64cb215558a0fe380
tidy up
acockburn/appdaemon,acockburn/appdaemon
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.md') as readme_file: README = readme_file.read() with open('HISTORY.md') as history_file: HISTORY = history_file.read() REQUIREMENTS = [ 'daemonize', 'configparser', 'astral', 'request...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.md') as readme_file: README = readme_file.read() with open('HISTORY.md') as history_file: HISTORY = history_file.read() REQUIREMENTS = [ 'daemonize', 'configparser', 'astral', 'request...
mit
Python
a8163b0da1da0c303f4b7427473360ddddf982e8
Convert the README to rst if pandoc is installed
veeti/manuale
setup.py
setup.py
import subprocess from setuptools import setup from codecs import open from os import path here = path.abspath(path.dirname(__file__)) readme = path.join(here, 'README.md') # Convert the README to reStructuredText for PyPI if pandoc is available. # Otherwise, just read it. try: readme = subprocess.check_output(['...
from setuptools import setup from codecs import open from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.md'), encoding='utf-8') as f: readme = f.read() setup( name='manuale', version='1.0.1.dev0', license='MIT', description="A fully manual Let's Encr...
mit
Python
8b3060b7da7b22c3a36c9f836e97584670c2d74a
Bump to 0.0.2-dev
axiom-data-science/pyaxiom,ocefpaf/pyaxiom,ocefpaf/pyaxiom,axiom-data-science/pyaxiom
setup.py
setup.py
from __future__ import with_statement import sys from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand version = "0.0.2-dev" def readme(): with open('README.md') as f: return f.read() reqs = [line.strip() for line in open('requirements.txt')] class PyTest...
from __future__ import with_statement import sys from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand version = "0.0.1" def readme(): with open('README.md') as f: return f.read() reqs = [line.strip() for line in open('requirements.txt')] class PyTest(Tes...
mit
Python
11c50700d544e3ee43f11bbc6d5c76efa542299e
Simplify testing hook
vauxoo-dev/autopep8,MeteorAdminz/autopep8,SG345/autopep8,MeteorAdminz/autopep8,SG345/autopep8,Vauxoo/autopep8,Vauxoo/autopep8,hhatto/autopep8,vauxoo-dev/autopep8,hhatto/autopep8
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup def version(): """Return version string.""" with open('autopep8.py') as input_file: for line in input_file: if line.startswith('__version__'): import ast return ast.literal_eval(line...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup # Hack to prevent stupid "TypeError: 'NoneType' object is not callable" error # in multiprocessing/util.py _exit_function when running `python # setup.py test` (see # http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html) try: impor...
mit
Python
ce3a7e65a6a2d019a343e39f81bdea6fad855280
Update dependencies
marcwebbie/passpie,marcwebbie/passpie,scorphus/passpie,scorphus/passpie,eiginn/passpie,eiginn/passpie
setup.py
setup.py
#!/usr/bin/env python import os import sys try: from setuptools import setup, Command, find_packages except ImportError: from distutils.core import setup, Command, find_packages __version__ = "0.3.3" if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') os.system('python setup.py...
#!/usr/bin/env python import os import sys try: from setuptools import setup, Command, find_packages except ImportError: from distutils.core import setup, Command, find_packages __version__ = "0.3.3" if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') os.system('python setup.py...
mit
Python
8c9316bffc554fbbd120b651fafa35244350d2a8
Bump version
henriquebastos/python-decouple
setup.py
setup.py
# coding: utf-8 from setuptools import setup import os README = os.path.join(os.path.dirname(__file__), 'README.rst') setup(name='python-decouple', version='3.1', description='Strict separation of settings from code.', long_description=open(README).read(), author="Henrique Bastos", author_ema...
# coding: utf-8 from setuptools import setup import os README = os.path.join(os.path.dirname(__file__), 'README.rst') setup(name='python-decouple', version='3.0', description='Strict separation of settings from code.', long_description=open(README).read(), author="Henrique Bastos", author_ema...
mit
Python
8f1a4763be65999cb56236cb20d83eedb7e828d1
Build i18n files in setup.py
pretix/pretix-cartshare,pretix/pretix-cartshare,pretix/pretix-cartshare
setup.py
setup.py
import os from distutils.command.build import build from django.core import management from setuptools import setup, find_packages try: with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as f: long_description = f.read() except: long_description = '' class CustomBuil...
import os from setuptools import setup, find_packages try: with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as f: long_description = f.read() except: long_description = '' setup( name='pretix-cartshare', version='1.0', description='pretix plugin to share...
apache-2.0
Python
3c582587ed059d7a24dcbe9c3db3272ba32dc4b7
Add some methods for summoner init
samphippen/summoner
summoner.py
summoner.py
import subprocess # Internal - detects if the user has git # # returns True if hub is being used, False otherwise def detect_git(): retcode = subprocess.call(["/usr/bin/which", "git"]) if retcode == 0: return True else: return False # Internal - detects if the user is using github's hub ...
# Public - prints usage information for summoner # # Returns nothing def usage(): print "usage is one of" print "setup commands" print " smnr init -> interactive setup" print " smnr remote <giturl> -> sets your smnr remote" print print "templat...
mit
Python
c62de3602d336dc2f0e0a69a823ad8482ad56be4
bump to version 0.2.1
ulmo-dev/ulmo-common
setup.py
setup.py
""" ulmo ---- an open source library for clean, simple and fast access to public hydrology and climatology data """ from setuptools import Command, setup, find_packages setup( name='ulmo', version='0.2.1', license='BSD', author='Andy Wilson', author_email='wilson.andrew.j@gmail.com', descript...
""" ulmo ---- an open source library for clean, simple and fast access to public hydrology and climatology data """ from setuptools import Command, setup, find_packages setup( name='ulmo', version='0.2.1-dev', license='BSD', author='Andy Wilson', author_email='wilson.andrew.j@gmail.com', desc...
bsd-3-clause
Python
b6e223e566187861eea2f9c37170fb7a7f248543
Update setup.py
sopanpatil/exp-hydro
setup.py
setup.py
from setuptools import setup setup(name='exphydro', version='1.1', description='EXP-HYDRO hydrological model', author='Sopan Patil and Marc Stieglitz', license='MIT', packages=['exphydro'], install_requires=['numpy', 'scipy', 'matplotlib'], classifiers=[ 'Programming...
from setuptools import setup setup(name='exphydro', version='1.0', description='EXP-HYDRO hydrological model', author='Sopan Patil and Marc Stieglitz', license='MIT', packages=['exphydro'], install_requires=['numpy','scipy','matplotlib'], classifiers=[ 'Programming Language :: Python :: 2.7', 'License :: OS...
mit
Python
7315475a7f3458e7889fb96e95510601efad79af
update setup.py: add version requirement for prettytable
jwilder/mongodb-tools,safanaj/mongodb-tools,safanaj/mongodb-tools,jwilder/mongodb-tools,yaowenqiang/mongodb-tools,svdata/mongodb-tools,andyfoundi/mongodb-tools,andyfoundi/mongodb-tools,yaowenqiang/mongodb-tools,svdata/mongodb-tools
setup.py
setup.py
from setuptools import setup, find_packages version='0.1' packages = find_packages(exclude=['ez_setup', 'examples', 'tests']) print packages setup( name='mongodbtools', version=version, description='Python tools for working with MongoDB', author='Jason Wilder', author_email='code@jasonwilder.com',...
from setuptools import setup, find_packages version='0.1' packages = find_packages(exclude=['ez_setup', 'examples', 'tests']) print packages setup( name='mongodbtools', version=version, description='Python tools for working with MongoDB', author='Jason Wilder', author_email='code@jasonwilder.com',...
mit
Python
75ea956eaf83bbdd4833035b619cb3aebe1ca1e4
Revert "Update setup.py"
neuropsychology/Neuropsydia.py
setup.py
setup.py
from setuptools import setup, find_packages import re # ------------------ def find_version(): result = re.search(r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format("__version__"), open('neuropsydia/__init__.py').read()) return result.group(1) # ------------------ setup( name = "neuropsydia", description = ("A Python Mod...
from setuptools import setup, find_packages import re # ------------------ def find_version(): result = re.search(r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format("__version__"), open('neuropsydia/__init__.py').read()) return result.group(1) # ------------------ setup( name = "neuropsydia", description = ("A Python Mod...
mpl-2.0
Python
61bbd1838d76c5d36ecd96baa20efebe599d812b
Bump minimum version for google-api-core to 1.14.0. (#8709)
googleapis/python-datalabeling,googleapis/python-datalabeling
setup.py
setup.py
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
apache-2.0
Python
a84102f0736105fb6fb257c1feddc40633d11fcb
Bump to next development cycle
ctrueden/jrun,ctrueden/jrun
setup.py
setup.py
from setuptools import setup from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.md')) as f: jgo_long_description = f.read() setup( name='jgo', version='0.1.1.dev0', author='Philipp Hanslovsky, Curtis Rueden', author_email='hanslovskyp@janelia.hhmi.or...
from setuptools import setup from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.md')) as f: jgo_long_description = f.read() setup( name='jgo', version='0.1.0', author='Philipp Hanslovsky, Curtis Rueden', author_email='hanslovskyp@janelia.hhmi.org', ...
unlicense
Python
b291cc15319f177d71b0c6849df6977985e5afb8
Bump flake8 from 3.8.1 to 3.8.2
marshmallow-code/marshmallow-jsonapi
setup.py
setup.py
import re from setuptools import setup, find_packages INSTALL_REQUIRES = ("marshmallow>=2.15.2",) EXTRAS_REQUIRE = { "tests": ["pytest", "mock", "faker==4.1.0", "Flask==1.1.2"], "lint": ["flake8==3.8.2", "flake8-bugbear==20.1.4", "pre-commit~=2.0"], } EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_RE...
import re from setuptools import setup, find_packages INSTALL_REQUIRES = ("marshmallow>=2.15.2",) EXTRAS_REQUIRE = { "tests": ["pytest", "mock", "faker==4.1.0", "Flask==1.1.2"], "lint": ["flake8==3.8.1", "flake8-bugbear==20.1.4", "pre-commit~=2.0"], } EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_RE...
mit
Python
9ff3d63fdf001f55b2f1d116a80c314f3b67a29e
bump version number
dcosson/parallel-ci-runner
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='parallel-ci-runner', version='0.1.9', description='A framework for defining and running parallel CI tests, ' 'with support for docker-compose.', author='Danny Cosson', author_email='dcosson@gmail.com', url='https:/...
#!/usr/bin/env python from setuptools import setup setup( name='parallel-ci-runner', version='0.1.8', description='A framework for defining and running parallel CI tests, ' 'with support for docker-compose.', author='Danny Cosson', author_email='dcosson@gmail.com', url='https:/...
mit
Python
ae3b1e19e287439e821b2e58f0d35422c7e37ece
Update setup.py with the new module.
angr/claripy,chubbymaggie/claripy
setup.py
setup.py
from distutils.core import setup setup( name='claripy', version='4.6.6.28', packages=['claripy', 'claripy.backends', 'claripy.frontends', 'claripy.vsa', 'claripy.ast', 'claripy.frontend_mixins'], install_requires=[ 'ana', 'angr-only-z3-custom', ], description='An abstraction lay...
from distutils.core import setup setup( name='claripy', version='4.6.6.28', packages=['claripy', 'claripy.backends', 'claripy.frontends', 'claripy.vsa', 'claripy.ast'], install_requires=[ 'ana', 'angr-only-z3-custom', ], description='An abstraction layer for constraint solvers',...
bsd-2-clause
Python
23c513e9930875a5ae2b9dcf6088d63f992c795f
use setuptools instead of distutils
barbosa/clorox,barbosa/clorox
setup.py
setup.py
from setuptools import setup VERSION = '0.6.1' setup( name = 'clorox', packages = ['clorox'], version = VERSION, description = "Removes Xcode's file comment blocks cruft", author = 'Gustavo Barbosa', author_email = 'gustavocsb@gmail.com', url = 'https://github.com/barbosa/clorox', license = 'MIT', d...
from distutils.core import setup VERSION = '0.6' setup( name = 'clorox', packages = ['clorox'], version = VERSION, description = "Removes Xcode's file comment blocks cruft", author = 'Gustavo Barbosa', author_email = 'gustavocsb@gmail.com', url = 'https://github.com/barbosa/clorox', license = 'MIT', ...
mit
Python
820eaee00f7ac41c83b58ef2f46e7a89dcbe7137
update setup.py
whtsky/catsup-docs-zh,whtsky/Catsup,whtsky/catsup-docs-zh,whtsky/Catsup
setup.py
setup.py
from setuptools import setup, find_packages import catsup version = catsup.__version__ long_description = open('README.rst').read().replace("latest", "v%s" % version) setup( name='catsup', version=version, author='whtsky', author_email='whtsky@me.com', url='https://github.com/whtsky/catsup', ...
from setuptools import setup, find_packages import catsup setup( name='catsup', version=catsup.__version__, author='whtsky', author_email='whtsky@me.com', url='https://github.com/whtsky/catsup', packages=find_packages(), description='Catsup: a lightweight static site generator', long_d...
mit
Python
b7662f3e5c46e0380cc04e8c1bcbf63ad70380d9
Update Package URL
smallmedia/django-analytics-kits
setup.py
setup.py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # 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-analytics-kits',...
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-analytics-kits',...
bsd-3-clause
Python
4df27996357a4a552cf6cb966a0064c6f6e2560b
Revert "allow usage of Flask-SQLAlchemy from 2.0 on"
dpgaspar/Flask-AppBuilder,dpgaspar/Flask-AppBuilder,dpgaspar/Flask-AppBuilder,dpgaspar/Flask-AppBuilder
setup.py
setup.py
import os import sys import imp import multiprocessing from setuptools import setup, find_packages version = imp.load_source('version', os.path.join('flask_appbuilder', 'version.py')) def fpath(name): return os.path.join(os.path.dirname(__file__), name) def read(fname): return open(fpath(fname)).read() def...
import os import sys import imp import multiprocessing from setuptools import setup, find_packages version = imp.load_source('version', os.path.join('flask_appbuilder', 'version.py')) def fpath(name): return os.path.join(os.path.dirname(__file__), name) def read(fname): return open(fpath(fname)).read() def...
bsd-3-clause
Python
acea7c6af08a1ca63f95b16b73bba9d4b6ea9e89
Fix PyPy dependencies.
HAYASAKA-Ryosuke/faker,meganlkm/faker,danhuss/faker,joke2k/faker,joke2k/faker,trtd/faker
setup.py
setup.py
#!/usr/bin/env python # coding=utf-8 import os import io from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = io.open(os.path.join(here, 'README.rst'), encoding="utf8").read() NEWS = io.open(os.path.join(here, 'CHANGELOG.rst'), encoding="utf8").read() version = '0.5...
#!/usr/bin/env python # coding=utf-8 import os import io from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = io.open(os.path.join(here, 'README.rst'), encoding="utf8").read() NEWS = io.open(os.path.join(here, 'CHANGELOG.rst'), encoding="utf8").read() version = '0.5...
mit
Python
8ab163150d7c22d8a166558dc122e5ab7476c822
remove the long_description flutter, README.rst is automatically found by PyPi
benjaoming/django-nyt,benjaoming/django-nyt
setup.py
setup.py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals import os from django_nyt import VERSION import setuptools from setuptools import setup, find_packages def get_path(fname): return os.path.join(os.path.dirname(os.path.abspa...
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals import os from django_nyt import VERSION import setuptools from setuptools import setup, find_packages # Utility function to read the README file. # Used for the long_descriptio...
apache-2.0
Python
2d3e9828534a7b87932d50e0ec9575d00e575dcb
update version to 0.1.4
marteki/retirement,niqjohnson/retirement,niqjohnson/retirement,marteki/retirement,marteki/retirement,niqjohnson/retirement,mistergone/retirement,mistergone/retirement,marteki/retirement,mistergone/retirement
setup.py
setup.py
import os from setuptools import setup, find_packages def read_file(filename): """Read a file into a string""" path = os.path.abspath(os.path.dirname(__file__)) filepath = os.path.join(path, filename) try: return open(filepath).read() except IOError: return '' setup( name='ret...
import os from setuptools import setup, find_packages def read_file(filename): """Read a file into a string""" path = os.path.abspath(os.path.dirname(__file__)) filepath = os.path.join(path, filename) try: return open(filepath).read() except IOError: return '' setup( name='ret...
cc0-1.0
Python
e4582f0c70f8591ba64b680173967e50250bee99
fix package defs in setup.py
thelabnyc/django-oscar-cch
setup.py
setup.py
#!/usr/bin/env python import codecs import os.path from setuptools import setup from versiontag import get_version, cache_git_tag packages = [ 'cch', 'cch.migrations', ] requires = [ 'Django>=1.8.11', 'django-statsd-mozilla>=0.3.16', 'django-oscar>=1.1.1', 'instrumented-soap>=r1.0.0', 've...
#!/usr/bin/env python import codecs import os.path from setuptools import setup from versiontag import get_version, cache_git_tag packages = [ 'soap', ] requires = [ 'Django>=1.8.11', 'django-statsd-mozilla>=0.3.16', 'django-oscar>=1.1.1', 'instrumented-soap>=r1.0.0', 'versiontag>=1.0.1' ] d...
isc
Python
7d337cdbbde6d07adc1634060bfce10997761a12
Add sseclient dependency to setup.py
thefactory/marathon-python,thefactory/marathon-python,drewrobb/marathon-python,drewrobb/marathon-python
setup.py
setup.py
#!/usr/bin/env python import sys from setuptools import setup extra = {} if sys.version_info >= (3,): extra['use_2to3'] = True setup( name='marathon', version='0.7.7', description='Marathon Client Library', long_description="""Python interface to the Mesos Marathon REST API.""", author='Mike B...
#!/usr/bin/env python import sys from setuptools import setup extra = {} if sys.version_info >= (3,): extra['use_2to3'] = True setup( name='marathon', version='0.7.7', description='Marathon Client Library', long_description="""Python interface to the Mesos Marathon REST API.""", author='Mike B...
mit
Python
e31f1ee432c72319220dd56d1c32f2c3d58fce2b
update mm path download
gwaygenomics/tad_pathways,gwaygenomics/tad_pathways,gwaygenomics/tad_pathways
scripts/download/download_mm.py
scripts/download/download_mm.py
# Download Mouse Data # The script will retreive mouse data used in the TAD pathways pipeline # 1. Mouse Genome Project SNPs (v2) # 2. mm9 Gencode Genes # 3. RepeatMasker mm9 repeat elements # 4. TAD Domain Boundaries (mESC and Cortex) # 5. mm9 sequence import os import shutil from download_util import download_file...
# Download Mouse Data # The script will retreive mouse data used in the TAD pathways pipeline # 1. Mouse Genome Project SNPs (v2) # 2. mm9 Gencode Genes # 3. RepeatMasker mm9 repeat elements # 4. TAD Domain Boundaries (mESC and Cortex) # 5. mm9 sequence import os import shutil from download_util import download_file...
bsd-3-clause
Python
ef107f0562539e5203a31fd3755eae9d14241cf0
fix setup.py dependencies
fkmclane/vbx,fkmclane/vbx,fkmclane/vbx
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup, find_packages from vbx import name, version setup( name=name, version=version, description='virtual branch exchange for interfacing with Twilio', license='MIT', url='https://github.com/fkmclane/vbx', author='Foster McLane', author_email=...
#!/usr/bin/env python3 from setuptools import setup, find_packages from vbx import name, version setup( name=name, version=version, description='virtual branch exchange for interfacing with Twilio', license='MIT', url='https://github.com/fkmclane/vbx', author='Foster McLane', author_email=...
mit
Python
91110472659ccc565827ac800a89af6a034f70e3
include subpackages in bundle
RegioHelden/django-datawatch,RegioHelden/django-datawatch
setup.py
setup.py
# -*- coding: UTF-8 -*- from setuptools import setup, find_packages setup( name='django-datawatch', packages=find_packages(exclude=['example*']), version='0.1.2', description='Django Datawatch runs automated data checks in your Django installation', author='Jens Nistler <opensource@jensnistler.de>...
# -*- coding: UTF-8 -*- from setuptools import setup setup( name='django-datawatch', packages=['django_datawatch'], version='0.1.1', description='Django Datawatch runs automated data checks in your Django installation', author='Jens Nistler <opensource@jensnistler.de>, Bogdan Radko', author_em...
mit
Python
d6dbc883d25a08d1e9c7255f4872dadf04ef8c65
Update version number.
mikemhenry/arcade,mikemhenry/arcade
setup.py
setup.py
#!/usr/bin/env python BUILD = 1 VERSION = "1.0.0" RELEASE = VERSION + "r" + str(BUILD) from os import path import sys from setuptools import setup if __name__ == "__main__": if "--format=msi" in sys.argv or "bdist_msi" in sys.argv: # hack the version name to a format msi doesn't have trouble with ...
#!/usr/bin/env python BUILD = 54 VERSION = "0.9.9" RELEASE = VERSION + "r" + str(BUILD) from os import path import sys from setuptools import setup if __name__ == "__main__": if "--format=msi" in sys.argv or "bdist_msi" in sys.argv: # hack the version name to a format msi doesn't have trouble with ...
mit
Python
eb7e32b41cd872a82c0986b2d612f321e81c3dae
Bump version
Tatsh/libipa
setup.py
setup.py
from distutils.core import setup setup( name='libipa', version='0.0.2', author='Andrew Udvare', author_email='audvare@gmail.com', packages=['ipa'], url='https://github.com/Tatsh/libipa', license='LICENSE.txt', description='Library to read IPA files (iOS application archives).', long...
from distutils.core import setup setup( name='libipa', version='0.0.1', author='Andrew Udvare', author_email='audvare@gmail.com', packages=['ipa'], url='https://github.com/Tatsh/libipa', license='LICENSE.txt', description='Library to read IPA files (iOS application archives).', long...
mit
Python
001f9a3520daefdc64e16e7c29887d27e68d9f4b
Mark the package not zipsafe so test discovery finds directories.
nyergler/nested-formset
setup.py
setup.py
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.rst')).read() version = '0.1' setup(name='nested_formset', version=version, description="", long_description=README, classifiers=[ ...
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.rst')).read() version = '0.1' setup(name='nested_formset', version=version, description="", long_description=README, classifiers=[ ...
bsd-3-clause
Python
8c1d57d816f688bd7b3c3888f4eb4a29bcb66ac9
Change version to 1.2
ynsta/steamcontroller,ynsta/steamcontroller
setup.py
setup.py
#!/usr/bin/env python import sys try: from setuptools import setup, Extension except ImportError: from distutils.core import setup, Extension uinput = Extension('libuinput', sources = ['src/uinput.c']) deps = ['libusb1', 'psutil'] if sys.version_info < (3,4): deps.append('enum34') set...
#!/usr/bin/env python import sys try: from setuptools import setup, Extension except ImportError: from distutils.core import setup, Extension uinput = Extension('libuinput', sources = ['src/uinput.c']) deps = ['libusb1', 'psutil'] if sys.version_info < (3,4): deps.append('enum34') set...
mit
Python
a38293e18a4ad4798d819fa8045ccb11ff7e4aa5
add matplotlib requres
PytLab/VASPy,PytLab/VASPy
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup from vaspy import __version__ as version maintainer = 'Shao-Zheng-Jiang' maintainer_email = 'shaozhengjiang@gmail.com' author = maintainer author_email = maintainer_email description = __doc__ requires = [ 'numpy', 'matplotlib' ] license = 'LICENSE' lon...
#!/usr/bin/env python from distutils.core import setup from vaspy import __version__ as version maintainer = 'Shao-Zheng-Jiang' maintainer_email = 'shaozhengjiang@gmail.com' author = maintainer author_email = maintainer_email description = __doc__ requires = [ 'numpy', ] license = 'LICENSE' long_description = f...
mit
Python
4a601336ee5fccfe2cb4ebf50bd7fdfe127f3a61
Update deps and bump version. ANL-10319
uberVU/mongo-pool,uberVU/mongo-pool
setup.py
setup.py
from setuptools import setup import io import os here = os.path.abspath(os.path.dirname(__file__)) def read(*filenames, **kwargs): encoding = kwargs.get('encoding', 'utf-8') sep = kwargs.get('sep', '\n') buf = [] for filename in filenames: with io.open(filename, encoding=encoding) as f: ...
from setuptools import setup import io import os here = os.path.abspath(os.path.dirname(__file__)) def read(*filenames, **kwargs): encoding = kwargs.get('encoding', 'utf-8') sep = kwargs.get('sep', '\n') buf = [] for filename in filenames: with io.open(filename, encoding=encoding) as f: ...
apache-2.0
Python
a9cf05f3086623c4e5644c06d39e8211904617f8
bump version for release
motmot/wxglvideo,motmot/wxglvideo,motmot/wxglvideo
setup.py
setup.py
from setuptools import setup, find_packages import os kws = {} if not int(os.getenv( 'DISABLE_INSTALL_REQUIRES','0' )): kws['install_requires'] = ['numpy>=1.0.4', 'motmot.imops>=0.5.2.dev', 'pyglet>=1.0', 'pygarrayimage>=0...
from setuptools import setup, find_packages import os kws = {} if not int(os.getenv( 'DISABLE_INSTALL_REQUIRES','0' )): kws['install_requires'] = ['numpy>=1.0.4', 'motmot.imops>=0.5.2.dev', 'pyglet>=1.0', 'pygarrayimage>=0...
bsd-3-clause
Python
a46fca4e53bf2434abf14b10a7030bcdedf3bb3e
Remove MidnightBSD from classifiers
nir0s/ld,nir0s/ld
setup.py
setup.py
# Copyright 2015-2020 Nir Cohen # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
# Copyright 2015-2020 Nir Cohen # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
apache-2.0
Python
9fb77007999a35af113d773f03f9320f29950290
rename pypi package to luizalabs-django-toolkit
luizalabs/django-toolkit
setup.py
setup.py
import os from setuptools import find_packages, setup def read(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path) as f: return f.read() setup( name='luizalabs-django-toolkit', version='0.0.0', description=( 'The LuizaLabs set of tools ' 'to devel...
import os from setuptools import find_packages, setup def read(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path) as f: return f.read() setup( name='django_toolkit', version='0.0.0', description=( 'The LuizaLabs set of tools ' 'to develop project...
mit
Python
adbc4def8edc7c46f2dfe77ca8803de752fb3ea2
Use __description__ in setup and add in download_url.
flaccid/akaudit
setup.py
setup.py
#!/usr/bin/env python # Copyright 2015 Chris Fordham # # 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 ...
#!/usr/bin/env python try: import pkg_resources import setuptools except ImportError: # Import setuptools if it's not already installed import distribute_setup distribute_setup.use_setuptools() import os import sys from setuptools import setup from setuptools import find_packages import akaudit ...
apache-2.0
Python