text stringlengths 0 1.05M | meta dict |
|---|---|
"""A setup module for the GRPC Stackdriver Logging API service.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import setuptools
from setuptools import setup, find_packages
install_requires = [
'googleapis-common-protos>=1.5.2, <2.0dev',
'oauth2client>=2.0.0, <4.0dev',
]
extras_require = {
'grpc': [
'googleapis-common-protos[grpc]>=1.5.2, <2.0dev',
'grpcio>=1.0.2, <2.0dev',
],
}
setuptools.setup(
name='proto-google-cloud-logging-v2',
version='0.91.4',
author='Google Inc',
author_email='googleapis-packages@google.com',
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
],
description='GRPC library for the Stackdriver Logging API',
long_description=open('README.rst').read(),
install_requires=install_requires,
extras_require=extras_require,
license='Apache-2.0',
packages=find_packages(),
namespace_packages=['google.cloud.proto.logging', 'google.cloud.proto', 'google.cloud', 'google'],
url='https://github.com/googleapis/googleapis'
)
| {
"repo_name": "shinfan/api-client-staging",
"path": "generated/python/proto-google-cloud-logging-v2/setup.py",
"copies": "7",
"size": "1514",
"license": "bsd-3-clause",
"hash": -5969611960529315000,
"line_mean": 29.28,
"line_max": 100,
"alpha_frac": 0.6816380449,
"autogenerated": false,
"ratio": 3.5539906103286385,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.00019801980198019803,
"num_lines": 50
} |
"""A setup module for the GRPC Stackdriver Monitoring API service.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import setuptools
from setuptools import setup, find_packages
install_requires = [
'googleapis-common-protos>=1.5.2, <2.0dev',
'oauth2client>=2.0.0, <4.0dev',
]
extras_require = {
'grpc': [
'googleapis-common-protos[grpc]>=1.5.2, <2.0dev',
'grpcio>=1.0.2, <2.0dev',
],
}
setuptools.setup(
name='proto-google-cloud-monitoring-v3',
version='0.15.3',
author='Google Inc',
author_email='googleapis-packages@google.com',
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
],
description='GRPC library for the Stackdriver Monitoring API',
long_description=open('README.rst').read(),
install_requires=install_requires,
extras_require=extras_require,
license='Apache-2.0',
packages=find_packages(),
namespace_packages=['google.cloud.proto.monitoring', 'google.cloud.proto', 'google.cloud', 'google'],
url='https://github.com/googleapis/googleapis'
)
| {
"repo_name": "shinfan/api-client-staging",
"path": "generated/python/proto-google-cloud-monitoring-v3/setup.py",
"copies": "7",
"size": "1527",
"license": "bsd-3-clause",
"hash": -8169176441889458000,
"line_mean": 29.54,
"line_max": 103,
"alpha_frac": 0.6843483955,
"autogenerated": false,
"ratio": 3.567757009345794,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.0001923076923076923,
"num_lines": 50
} |
"""A setup module for the GRPC Stackdriver Trace service.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import setuptools
from setuptools import setup, find_packages
install_requires = [
'oauth2client>=2.0.0, <4.0.0dev',
'grpcio>=1.0.0, <2.0.0dev',
'googleapis-common-protos[grpc]>=1.3.5, <2.0.0dev'
]
setuptools.setup(
name='grpc-google-devtools-cloudtrace-v1',
version='0.11.1',
author='Google Inc',
author_email='googleapis-packages@google.com',
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
],
description='GRPC library for the Stackdriver Trace service',
long_description=open('README.rst').read(),
install_requires=install_requires,
license='Apache-2.0',
packages=find_packages(),
namespace_packages=['google', 'google.devtools', 'google.devtools.cloudtrace', ],
url='https://github.com/googleapis/googleapis'
)
| {
"repo_name": "pongad/api-client-staging",
"path": "generated/python/grpc-google-devtools-cloudtrace-v1/setup.py",
"copies": "9",
"size": "1382",
"license": "bsd-3-clause",
"hash": -1205274947920066600,
"line_mean": 31.1395348837,
"line_max": 83,
"alpha_frac": 0.6895803184,
"autogenerated": false,
"ratio": 3.636842105263158,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.0002768549280177187,
"num_lines": 43
} |
"""A setup script for APEL.
This script installs the APEL library, client, parsers and server. This
should be similar to installing the RPMs for apel-lib, apel-client,
apel-parsers, and apel-server, although there may be some differences.
A known difference is the RPM installs pyc and pyo files,
whereas this script does not.
Usage: 'python setup.py install'
Requires setuptools.
"""
import glob
from os import remove
from shutil import copyfile
import sys
from setuptools import setup, find_packages
from apel import __version__
def main():
"""Called when run as script, e.g. 'python setup.py install'."""
if 'install' in sys.argv:
# Create temporary files with deployment names
copyfile('bin/client.py', 'bin/apelclient')
copyfile('bin/parser.py', 'bin/apelparser')
copyfile('bin/dbloader.py', 'bin/apeldbloader')
copyfile('bin/dbunloader.py', 'bin/apeldbunloader')
copyfile('bin/summariser.py', 'bin/apelsummariser')
copyfile('bin/retrieve_dns.py', 'bin/apelauth')
# conf_files will later be copied to conf_dir
conf_dir = '/etc/apel/'
conf_files = ['conf/client.cfg',
'conf/summariser.cfg',
'conf/unloader.cfg',
'conf/loader.cfg',
'conf/db.cfg',
'conf/parser.cfg',
'conf/auth.cfg']
# schema_files, update_scripts, accounting_files,
# and message_files will later be copied to data_dir
data_dir = '/usr/share/apel'
schema_files = ['schemas/client.sql',
'schemas/server.sql',
'schemas/server-extra.sql',
'schemas/cloud.sql',
'schemas/storage.sql']
# Wildcarding for update scripts (like we do in the spec file)
# prevents having to manually update this variable.
update_scripts = glob.glob('scripts/update-*.sql')
accounting_files = ['scripts/slurm_acc.sh', 'scripts/htcondor_acc.sh']
message_files = ['scripts/msg_status.py']
# log_rotate_files will later be copied to log_rotate_dir
log_rotate_dir = '/etc/logrotate.d'
log_rotate_files = ['scripts/apel-client']
# For 'python setup.py install' to
# work (on Linux SL6), 'python-daemon'
# must be installed or included
# in install_required
setup(name='apel',
version='%i.%i.%i' % __version__,
description=("The APEL project provides grid accounting for EGI."),
author='APEL',
author_email='apel-admins@stfc.ac.uk',
url='http://apel.github.io/',
download_url='https://github.com/apel/apel/releases',
license='Apache License, Version 2.0',
install_requires=['MySQL-python', 'iso8601', 'python-ldap', 'dirq'],
extras_require={
'python-daemon': ['python-daemon'],
},
packages=find_packages(exclude=['bin']),
scripts=['bin/apelclient',
'bin/apelparser',
'bin/apeldbloader',
'bin/apeldbunloader',
'bin/apelsummariser',
'bin/apelauth'],
data_files=[(conf_dir, conf_files),
(data_dir, schema_files),
(data_dir, accounting_files),
(data_dir, message_files),
(data_dir, update_scripts),
(log_rotate_dir, log_rotate_files),
# Create empty directories
('/var/log/apel', []),
('/var/run/apel', []),
],
# zip_safe allows setuptools to install the project
# as a zipfile, for maximum performance!
# We have disabled this feature so installing via the setup
# script is similar to installing the RPM apel-ssm
zip_safe=False)
# Remove temporary files with deployment names
if 'install' in sys.argv:
remove('bin/apelclient')
remove('bin/apelparser')
remove('bin/apeldbloader')
remove('bin/apeldbunloader')
remove('bin/apelsummariser')
remove('bin/apelauth')
if __name__ == "__main__":
main()
| {
"repo_name": "apel/apel",
"path": "setup.py",
"copies": "3",
"size": "4225",
"license": "apache-2.0",
"hash": 4343127872253559000,
"line_mean": 35.4224137931,
"line_max": 78,
"alpha_frac": 0.5786982249,
"autogenerated": false,
"ratio": 3.876146788990826,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5954845013890826,
"avg_score": null,
"num_lines": null
} |
"""A setup script for APEL SSM.
This script installs the APEL SSM library, sender and reciever. This
should be similar to installing the RPM apel-ssm, although there
may be some differences.
Known differences are:
- the RPM installs pyc and pyo files, whereas this script does not.
- this script will not install system specific init style files.
Usage: 'python setup.py install'
Requires setuptools.
"""
from os import remove
from shutil import copyfile
import sys
from setuptools import setup, find_packages
from ssm import __version__
def main():
"""Called when run as script, e.g. 'python setup.py install'."""
# Create temporary files with deployment names
if 'install' in sys.argv:
copyfile('bin/receiver.py', 'bin/ssmreceive')
copyfile('bin/sender.py', 'bin/ssmsend')
copyfile('scripts/apel-ssm.logrotate', 'conf/apel-ssm')
copyfile('README.md', 'apel-ssm')
# conf_files will later be copied to conf_dir
conf_dir = '/etc/apel/'
conf_files = ['conf/receiver.cfg',
'conf/sender.cfg',
'conf/dns']
# For 'python setup.py install | test' to
# work (on Linux SL6), 'python-daemon'
# must be installed or included
# in install_required | tests_require
setup(name='apel-ssm',
version='%i.%i.%i' % __version__,
description=("Secure Stomp Messenger (SSM) is designed to simply "
"send messages using the STOMP protocol."),
author='APEL',
author_email='apel-admins@stfc.ac.uk',
url='http://apel.github.io/',
download_url='https://github.com/apel/ssm/releases',
license='Apache License, Version 2.0',
install_requires=[
'stomp.py<5.0.0', 'python-ldap',
],
extras_require={
'AMS': ['argo-ams-library'],
'daemon': ['python-daemon'],
'dirq': ['dirq'],
},
packages=find_packages(exclude=['bin', 'test']),
scripts=['bin/ssmreceive', 'bin/ssmsend'],
data_files=[(conf_dir, conf_files),
('/etc/logrotate.d', ['conf/apel-ssm']),
('/usr/share/doc/apel-ssm', ['apel-ssm']),
# Create empty directories
('/var/log/apel', []),
('/var/run/apel', []),
('/var/spool/apel', [])],
# zip_safe allows setuptools to install the project
# as a zipfile, for maximum performance!
# We have disabled this feature so installing via the setup
# script is similar to installing the RPM apel-ssm
zip_safe=False,
)
# Remove temporary files with deployment names
if 'install' in sys.argv:
remove('bin/ssmreceive')
remove('bin/ssmsend')
remove('conf/apel-ssm')
remove('apel-ssm')
if __name__ == "__main__":
main()
| {
"repo_name": "tofu-rocketry/ssm",
"path": "setup.py",
"copies": "2",
"size": "2958",
"license": "apache-2.0",
"hash": -7464914767574428000,
"line_mean": 33.3953488372,
"line_max": 76,
"alpha_frac": 0.5743745774,
"autogenerated": false,
"ratio": 3.797175866495507,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5371550443895506,
"avg_score": null,
"num_lines": null
} |
# A setup script showing advanced features.
#
# Note that for the NT service to build correctly, you need at least
# win32all build 161, for the COM samples, you need build 163.
# Requires wxPython, and Tim Golden's WMI module.
# Note: WMI is probably NOT a good example for demonstrating how to
# include a pywin32 typelib wrapper into the exe: wmi uses different
# typelib versions on win2k and winXP. The resulting exe will only
# run on the same windows version as the one used to build the exe.
# So, the newest version of wmi.py doesn't use any typelib anymore.
from distutils.core import setup
import py2exe
import sys
# If run without args, build executables, in quiet mode.
if len(sys.argv) == 1:
sys.argv.append("py2exe")
sys.argv.append("-q")
class Target:
def __init__(self, **kw):
self.__dict__.update(kw)
# for the versioninfo resources
self.version = "0.5.0"
self.company_name = "http://p-nand-q.com"
self.copyright = "no copyright"
self.name = "eftepede"
################################################################
# a NT service, modules is required
myservice = Target(
# used for the versioninfo resource
description = "eftepede! FTP Service",
# what to build. For a service, the module name (not the
# filename) must be specified!
modules = ["eftepede_service"]
)
################################################################
# COM pulls in a lot of stuff which we don't want or need.
excludes = ["pywin", "pywin.debugger", "pywin.debugger.dbgcon",
"pywin.dialogs", "pywin.dialogs.list"]
setup(
options = {"py2exe": {#"typelibs":
# typelib for WMI
#[('{565783C6-CB41-11D1-8B02-00600806D9B6}', 0, 1, 2)],
# create a compressed zip archive
"compressed": 1,
"optimize": 2,
"excludes": excludes}},
# The lib directory contains everything except the executables and the python dll.
# Can include a subdirectory name.
zipfile = "python26.zip",
service = [myservice],
com_server = [],
console = [],
windows = [],
)
| {
"repo_name": "gersonkurz/eftepede",
"path": "eftepede_py2exe.py",
"copies": "1",
"size": "2235",
"license": "apache-2.0",
"hash": -8866542421534910000,
"line_mean": 33.921875,
"line_max": 86,
"alpha_frac": 0.5870246085,
"autogenerated": false,
"ratio": 3.900523560209424,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.4987548168709424,
"avg_score": null,
"num_lines": null
} |
# A setup script showing advanced features.
#
# Note that for the NT service to build correctly, you need at least
# win32all build 161, for the COM samples, you need build 163.
# Requires wxPython, and Tim Golden's WMI module.
# Note: WMI is probably NOT a good example for demonstrating how to
# include a pywin32 typelib wrapper into the exe: wmi uses different
# typelib versions on win2k and winXP. The resulting exe will only
# run on the same windows version as the one used to build the exe.
# So, the newest version of wmi.py doesn't use any typelib anymore.
from distutils.core import setup
import py2exe
import sys
# If run without args, build executables, in quiet mode.
if len(sys.argv) == 1:
sys.argv.append("py2exe")
sys.argv.append("-q")
class Target:
def __init__(self, **kw):
self.__dict__.update(kw)
# for the versioninfo resources
self.version = "0.5.0"
self.company_name = "No Company"
self.copyright = "no copyright"
self.name = "py2exe sample files"
################################################################
# A program using wxPython
# The manifest will be inserted as resource into test_wx.exe. This
# gives the controls the Windows XP appearance (if run on XP ;-)
#
# Another option would be to store it in a file named
# test_wx.exe.manifest, and copy it with the data_files option into
# the dist-dir.
#
manifest_template = '''
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="5.0.0.0"
processorArchitecture="x86"
name="%(prog)s"
type="win32"
/>
<description>%(prog)s Program</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
'''
RT_MANIFEST = 24
test_wx = Target(
# used for the versioninfo resource
description = "A sample GUI app",
# what to build
script = "test_wx.py",
other_resources = [(RT_MANIFEST, 1, manifest_template % dict(prog="test_wx"))],
## icon_resources = [(1, "icon.ico")],
dest_base = "test_wx")
test_wx_console = Target(
# used for the versioninfo resource
description = "A sample GUI app with console",
# what to build
script = "test_wx.py",
other_resources = [(RT_MANIFEST, 1, manifest_template % dict(prog="test_wx"))],
dest_base = "test_wx_console")
################################################################
# A program using early bound COM, needs the typelibs option below
test_wmi = Target(
description = "Early bound COM client example",
script = "test_wmi.py",
)
################################################################
# a NT service, modules is required
myservice = Target(
# used for the versioninfo resource
description = "A sample Windows NT service",
# what to build. For a service, the module name (not the
# filename) must be specified!
modules = ["MyService"]
)
################################################################
# a COM server (exe and dll), modules is required
#
# If you only want a dll or an exe, comment out one of the create_xxx
# lines below.
interp = Target(
description = "Python Interpreter as COM server module",
# what to build. For COM servers, the module name (not the
# filename) must be specified!
modules = ["win32com.servers.interp"],
## create_exe = False,
## create_dll = False,
)
################################################################
# COM pulls in a lot of stuff which we don't want or need.
excludes = ["pywin", "pywin.debugger", "pywin.debugger.dbgcon",
"pywin.dialogs", "pywin.dialogs.list"]
setup(
options = {"py2exe": {"typelibs":
# typelib for WMI
[('{565783C6-CB41-11D1-8B02-00600806D9B6}', 0, 1, 2)],
# create a compressed zip archive
"compressed": 1,
"optimize": 2,
"excludes": excludes}},
# The lib directory contains everything except the executables and the python dll.
# Can include a subdirectory name.
zipfile = "lib/shared.zip",
service = [myservice],
com_server = [interp],
console = [test_wx_console, test_wmi],
windows = [test_wx],
)
| {
"repo_name": "pupboss/xndian",
"path": "deploy/site-packages/py2exe/samples/advanced/setup.py",
"copies": "1",
"size": "4762",
"license": "mit",
"hash": 5021283656416773000,
"line_mean": 31.7730496454,
"line_max": 86,
"alpha_frac": 0.5772784544,
"autogenerated": false,
"ratio": 3.8248995983935745,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.9851626256107455,
"avg_score": 0.010110359337223677,
"num_lines": 141
} |
# A setup script showing how to extend py2exe.
#
# In this case, the py2exe command is subclassed to create an installation
# script for InnoSetup, which can be compiled with the InnoSetup compiler
# to a single file windows installer.
#
# By default, the installer will be created as dist\Output\setup.exe.
from distutils.core import setup
import py2exe
import sys,os
# The manifest will be inserted as resource into test_wx.exe. This
# gives the controls the Windows XP appearance (if run on XP ;-)
#
# Another option would be to store if in a file named
# test_wx.exe.manifest, and probably copy it with the data_files
# option.
#
manifest_template = '''
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="5.0.0.0"
processorArchitecture="x86"
name="%(prog)s"
type="win32"
/>
<description>%(prog)s</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
'''
RT_MANIFEST = 24
################################################################
# arguments for the setup() call
appname = "Ballistic Missile Sim"
appversion = "1.2"
app = dict(
script = "gui.py",
other_resources = [(RT_MANIFEST, 1, manifest_template % {'prog':appname})],
dest_base = r"missile")
zipfile = r"lib\sharedlib"
options = {"py2exe": {"compressed": 1,
"optimize": 2}}
dataFiles = ['presets.txt','rocket.ico']
################################################################
import os
class InnoScript:
def __init__(self,
name,
lib_dir,
dist_dir,
windows_exe_files = [],
lib_files = [],
version = "1.0"):
self.lib_dir = lib_dir
self.dist_dir = dist_dir
if not self.dist_dir[-1] in "\\/":
self.dist_dir += "\\"
self.name = name
self.version = version
self.windows_exe_files = [self.chop(p) for p in windows_exe_files]
self.lib_files = [self.chop(p) for p in lib_files]
def chop(self, pathname):
assert pathname.startswith(self.dist_dir)
return pathname[len(self.dist_dir):]
def create(self, pathname="dist\\app.iss"):
self.pathname = pathname
ofi = self.file = open(pathname, "w")
print >> ofi, "; WARNING: This script has been created by py2exe. Changes to this script"
print >> ofi, "; will be overwritten the next time py2exe is run!"
print >> ofi, r"[Setup]"
print >> ofi, r"AppName=%s" % self.name
print >> ofi, r"AppVerName=%s %s" % (self.name, self.version)
print >> ofi, r"DefaultDirName={pf}\%s" % self.name
print >> ofi, r"DefaultGroupName=%s" % self.name
print >> ofi, r"Compression=lzma/max"
print >> ofi
print >> ofi, r"[Files]"
for path in self.windows_exe_files + self.lib_files:
print >> ofi, r'Source: "%s"; DestDir: "{app}\%s"; Flags: ignoreversion' % (path, os.path.dirname(path))
print >> ofi
print >> ofi, r"[Icons]"
for path in self.windows_exe_files:
print >> ofi, r'Name: "{group}\%s"; Filename: "{app}\%s"' % \
(self.name, path)
print >> ofi, 'Name: "{group}\Uninstall %s"; Filename: "{uninstallexe}"' % self.name
def compile(self):
try:
import ctypes
except ImportError:
try:
import win32api
except ImportError:
import os
os.startfile(self.pathname)
else:
print "Ok, using win32api."
win32api.ShellExecute(0, "compile",
self.pathname,
None,
None,
0)
else:
print "Cool, you have ctypes installed."
res = ctypes.windll.shell32.ShellExecuteA(0, "compile",
self.pathname,
None,
None,
0)
if res < 32:
raise RuntimeError, "ShellExecute failed, error %d" % res
################################################################
from py2exe.build_exe import py2exe
class build_installer(py2exe):
# This class first builds the exe file(s), then creates a Windows installer.
# You need InnoSetup for it.
def run(self):
# First, let py2exe do it's work.
py2exe.run(self)
lib_dir = self.lib_dir
dist_dir = self.dist_dir
# create the Installer, using the files py2exe has created.
script = InnoScript(appname,
lib_dir,
dist_dir,
self.windows_exe_files,
self.lib_files,
version = appversion)
print "*** creating the inno setup script***"
script.create()
print "*** compiling the inno setup script***"
script.compile()
# Note: By default the final setup.exe will be in an Output subdirectory.
################################################################
#delete previous build
try:
print "removing old builds"
os.removedirs("build")
os.removedirs("dist")
except OSError:
print "fresh build"
setup(
options = options,
# The lib directory contains everything except the executables and the python dll.
zipfile = zipfile,
windows = [app],
# use our build_installer class as extended py2exe build command
cmdclass = {"py2exe": build_installer},
data_files = dataFiles
)
| {
"repo_name": "jlev/ballistic-missile-range",
"path": "setup-win.py",
"copies": "1",
"size": "6231",
"license": "mit",
"hash": 3517320811411126000,
"line_mean": 32.5,
"line_max": 116,
"alpha_frac": 0.5212646445,
"autogenerated": false,
"ratio": 4.118307997356246,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.011183293845730365,
"num_lines": 186
} |
"""A setuptools based module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='hypercat.py',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1.2',
description='Module for working with Hypercat catalogues',
long_description=long_description,
# The project's main homepage.
url='https://github.com/thingful/hypercat-py',
# Author details
author='Pilgrim Beart',
author_email='firstname.lastname@1248.io',
license='MIT',
tests_require=['nose'],
test_suite='nose.collector',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
# What does your project relate to?
keywords='development hypercat',
# use find_packages
packages=find_packages(exclude=['tests*']),
)
| {
"repo_name": "thingful/hypercat-py",
"path": "setup.py",
"copies": "1",
"size": "2303",
"license": "mit",
"hash": 5250754077035042000,
"line_mean": 30.1216216216,
"line_max": 78,
"alpha_frac": 0.6547980894,
"autogenerated": false,
"ratio": 4.076106194690266,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5230904284090265,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module for a python interface to Microsoft
LUIS.
"""
# 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, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='luis',
# Versions should comply with PEP440. For a discussion on
# single-sourcing the version across setup.py and the project
# code, see https://packaging.python.org/en/latest/single_source_version.html
version='2.0.3.dev0',
description='A Python interface to Microsoft LUIS.',
long_description=long_description,
# The project's main homepage.
url='https://github.com/wiseman/pyluis',
# Author details
author='John Wiseman',
author_email='jjwiseman@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Human Machine Interfaces',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
# What does your project relate to?
keywords='nlp nlu naturallanguage text classification development',
py_modules=['luis'],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['requests'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['pytest', 'check-manifest', 'zest.releaser']
}
)
| {
"repo_name": "wiseman/pyluis",
"path": "setup.py",
"copies": "1",
"size": "2954",
"license": "mit",
"hash": 4780791075214927,
"line_mean": 33.3488372093,
"line_max": 81,
"alpha_frac": 0.6584292485,
"autogenerated": false,
"ratio": 4.1547116736990155,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5313140922199016,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module for artemis-core"""
import sys
if sys.version < '3.4':
print('Sorry, this is not a compatible version of Python. Use 3.4 or later.')
exit(1)
from setuptools import setup, find_packages
from artemis import VERSION
with open('README.rst') as f:
long_description = f.read()
setup(
name='artemis-core',
version=VERSION,
description='A simple inline configurable shell bot in python.',
long_description=long_description,
url='https://github.com/DevinCarr/artemis-core',
author='Devin Carr',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.4',
],
keywords='shell commands build tool',
packages=find_packages(),
install_requires=[],
extras_require={
'dev': [],
'test': [],
},
entry_points={
'console_scripts': [
'arty=artemis:main',
],
},
)
| {
"repo_name": "DevinCarr/artemis-core",
"path": "setup.py",
"copies": "1",
"size": "1111",
"license": "mit",
"hash": -7016656932771725000,
"line_mean": 26.0975609756,
"line_max": 81,
"alpha_frac": 0.6111611161,
"autogenerated": false,
"ratio": 3.9257950530035335,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5036956169103534,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module for a skeleton Django application.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
https://github.com/alexisbellido/django-zinibu-skeleton
"""
# 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, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
from znbskeleton import get_version
setup(
name='django-zinibu-skeleton',
version=get_version().replace(' ', '-'),
description='A skeleton Django application',
long_description=long_description,
packages=find_packages(),
include_package_data=True,
author='Alexis Bellido',
author_email='a@zinibu.com',
license='BSD, see LICENSE file',
url='https://github.com/alexisbellido/django-zinibu-skeleton',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: BSD License',
# Environment and framework details
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
zip_safe=False,
)
| {
"repo_name": "alexisbellido/django-zinibu-skeleton",
"path": "setup.py",
"copies": "1",
"size": "2210",
"license": "bsd-2-clause",
"hash": 8749258834781735000,
"line_mean": 32.4848484848,
"line_max": 77,
"alpha_frac": 0.649321267,
"autogenerated": false,
"ratio": 4.100185528756957,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5249506795756957,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module for babel-angular-gettext
Based on:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with open(filename, encoding='utf-8') as fp:
return fp.read()
setup(
name='angular-gettext-babel',
version='0.3',
description='A plugin for babel to work with angular-gettext templates',
long_description=read('README.rst') + u'\n\n' + read('CHANGELOG.rst'),
url='https://github.com/neillc/angular-gettext-babel',
author='Neill Cox',
author_email='neill@ingenious.com.au',
license='Apache Software License',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Internationalization',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
keywords='angular-gettext babel',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=['babel'],
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
package_data={},
data_files=[],
entry_points={
'babel.extractors': [
'angulargettext=angulargettext.extract:extract_angular_gettext',
],
},
) | {
"repo_name": "neillc/angular-gettext-babel",
"path": "setup.py",
"copies": "1",
"size": "1805",
"license": "apache-2.0",
"hash": -5948335316241664000,
"line_mean": 31.8363636364,
"line_max": 76,
"alpha_frac": 0.6376731302,
"autogenerated": false,
"ratio": 4.020044543429844,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5157717673629844,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module for babel-vue-extractor
Based on:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
PROJECT_DIR = path.dirname(__file__)
def read(*parts):
filename = path.join(PROJECT_DIR, *parts)
with open(filename, encoding='utf-8') as fp:
return fp.read()
REQUIREMENTS_FILE = 'requirements.txt'
REQUIREMENTS = open(path.join(PROJECT_DIR, REQUIREMENTS_FILE)).readlines()
setup(
name='babel-vue-extractor',
version=read('VERSION'),
description='A plugin for babel to work with vue.js templates',
long_description=read('README.rst'),
url='https://github.com/nonamenix/babel-vue-extractor',
author='Danil Ivanov',
author_email='nonamenix@gmail.com',
license='Apache Software License',
classifiers=[
'Intended Audience :: Developers',
'Topic :: Software Development :: Internationalization',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='vuejs babel',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=REQUIREMENTS,
extras_require={
'dev': ['check-manifest', 'nose'],
'test': ['coverage'],
},
)
| {
"repo_name": "nonamenix/babel-vue-extractor",
"path": "setup.py",
"copies": "1",
"size": "1637",
"license": "apache-2.0",
"hash": 1008468058815463700,
"line_mean": 31.0980392157,
"line_max": 74,
"alpha_frac": 0.6658521686,
"autogenerated": false,
"ratio": 3.8976190476190475,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.0005027652086475615,
"num_lines": 51
} |
"""A setuptools based setup module for clepy"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from codecs import open
from os import path
from setuptools import setup, find_packages
import versioneer
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
readme = readme_file.read()
with open(path.join(here, 'HISTORY.rst'), encoding='utf-8') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
# TODO: put package requirements here
'click',
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='clepy',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Clepy Example",
long_description=readme + '\n\n' + history,
author="Dave Forgac",
author_email='tylerdave@tylerdave.com',
url='https://github.com/tylerdave/clepy',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
entry_points={
'console_scripts':[
'clepy=clepy.cli:cli',
],
},
include_package_data=True,
install_requires=requirements,
license="MIT",
keywords='clepy',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='tests',
tests_require=test_requirements
)
| {
"repo_name": "tylerdave/clepy",
"path": "setup.py",
"copies": "1",
"size": "1782",
"license": "mit",
"hash": 4251212533232123000,
"line_mean": 28.2131147541,
"line_max": 76,
"alpha_frac": 0.625701459,
"autogenerated": false,
"ratio": 3.7754237288135593,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.9894472004930868,
"avg_score": 0.0013306365765382159,
"num_lines": 61
} |
"""A setuptools based setup module for Dynamic Number"""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path, remove, system
from shutil import copyfile
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='dynamicnumber',
version='0.1.2',
description='Dynamically export variables for reporting in LaTeX.',
long_description=long_description,
# The project's main homepage.
url='https://github.com/opieters/DynamicNumber',
# Author details
author='Olivier Pieters',
author_email='me@olivierpieters.be',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Text Processing :: Markup :: LaTeX',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
# What does your project relate to?
keywords='dynamic number latex typesetting reporting',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
)
| {
"repo_name": "opieters/DynamicNumber",
"path": "languages/python/setup.py",
"copies": "1",
"size": "2054",
"license": "mit",
"hash": -2635949718760942000,
"line_mean": 31.6031746032,
"line_max": 77,
"alpha_frac": 0.6557935735,
"autogenerated": false,
"ratio": 4.243801652892562,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0,
"num_lines": 63
} |
"""A setuptools based setup module for eyap
Copyright (c) 2017, Emin Martinian
See LICENSE at the top-level of this distribution for more information
or write to emin.martinian@gmail.com for more information.
"""
from os import path
from setuptools import setup, find_packages
def get_readme():
'Get the long description from the README file'
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as my_fd:
result = my_fd.read()
return result
setup(
name='eyap', # version is below not in eyap.__init__ since init
version='0.9.2', # needs dependancies already installed for import
description='Tools for extending yapping and comment management',
long_description=get_readme(),
url='http://github.com/emin63/eyap',
author='Emin Martinian',
author_email='emin.martinian@gmail.com',
license='custom',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
],
keywords='comment management',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['requests', 'python-dateutil'],
# If there are data files included in your packages that need to be
# installed, specify them here.
package_data={
'sample': ['package_data.dat'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
)
| {
"repo_name": "emin63/eyap",
"path": "setup.py",
"copies": "1",
"size": "1859",
"license": "bsd-3-clause",
"hash": -5696393378001944000,
"line_mean": 34.0754716981,
"line_max": 79,
"alpha_frac": 0.6702528241,
"autogenerated": false,
"ratio": 4.023809523809524,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.002695417789757412,
"num_lines": 53
} |
"""A setuptools based setup module for LACE"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# from distutils.core import setup
from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
readme = readme_file.read()
with open(path.join(here, 'HISTORY.rst'), encoding='utf-8') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'click',
'numpy'
]
test_requirements = []
setup(
name = 'lace',
version = '2.1.2',
author = 'Jianfeng Chen',
author_email = 'jchen37@ncsu.edu',
url = 'https://github.com/ginfung/lace',
description = 'Lace-scale Assurance of Confidentiality Environment Framework',
long_description=readme + '\n\n' + history,
packages = ['lace'],
include_package_data = True,
license= 'MIT',
install_requires = requirements,
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Database',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
],
test_suite = "tests",
tests_require=test_requirements,
)
| {
"repo_name": "Ginfung/LACE",
"path": "setup.py",
"copies": "1",
"size": "1363",
"license": "mit",
"hash": -7013567384270922000,
"line_mean": 25.7254901961,
"line_max": 82,
"alpha_frac": 0.6309611152,
"autogenerated": false,
"ratio": 3.605820105820106,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.4736781221020106,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module for minimask.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='minimask',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.0.1',
description='light-weight routines for processing sky survey masks',
long_description=long_description,
# The project's main homepage.
url='https://github.com/bengranett/minimask',
# Author details
author='Ben Granett',
author_email='ben.granett@brera.inaf.it',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Scientists',
'Topic :: Science :: Astronomy',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
# What does your project relate to?
keywords='astronomy',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['numpy', 'scipy', 'scikit-learn', 'healpy'],
# # List additional groups of dependencies here (e.g. development
# # dependencies). You can install these using the following syntax,
# # for example:
# # $ pip install -e .[dev,test]
# extras_require={
# 'dev': ['check-manifest'],
# 'test': ['coverage'],
# },
# # If there are data files included in your packages that need to be
# # installed, specify them here. If using Python 2.6 or less, then these
# # have to be included in MANIFEST.in as well.
# package_data={
# 'sample': ['package_data.dat'],
# },
# # Although 'package_data' is the preferred approach, in some case you may
# # need to place data files outside of your packages. See:
# # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# # To provide executable scripts, use entry points in preference to the
# # "scripts" keyword. Entry points provide cross-platform support and allow
# # pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)
| {
"repo_name": "bengranett/minimask",
"path": "setup.py",
"copies": "1",
"size": "3888",
"license": "mit",
"hash": 5860315813662297000,
"line_mean": 35,
"line_max": 96,
"alpha_frac": 0.6568930041,
"autogenerated": false,
"ratio": 3.9075376884422113,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5064430692542211,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module for ox_herd
Copyright (c) 2016, Emin Martinian - All Rights Reserved
Unauthorized copying of this file, via any medium is strictly prohibited
See LICENSE at the top-level of this distribution for more information
or write to emin.martinian@gmail.com for more information.
"""
# see also setup.cfg
from os import path
from setuptools import setup, find_packages
from ox_herd import VERSION
def get_readme():
'Get the long description from the README file'
here = path.abspath(path.dirname(__file__))
# README.rst is autogenerated from README.md via something like
# pandoc --from=markdown --to=rst --output=README.rst README.md
with open(path.join(here, 'README.rst'), encoding='utf-8') as my_fd:
result = my_fd.read()
return result
setup(
name='ox_herd',
version=VERSION,
description='Tools for task automation, continous integration, and testing.',
long_description=get_readme(),
url='http://github.com/aocks/ox_herd',
author='Emin Martinian',
author_email='emin.martinian@gmail.com',
license='custom',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
],
keywords='testing continuous integration',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
include_package_data=True,
install_requires=['pytest', 'pytest-xdist', 'xmltodict', 'eyap'],
# If there are data files included in your packages that need to be
# installed, specify them here.
package_data={
'sample': ['package_data.dat'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
)
| {
"repo_name": "aocks/ox_herd",
"path": "setup.py",
"copies": "1",
"size": "2115",
"license": "bsd-2-clause",
"hash": 8947911951378309000,
"line_mean": 33.1129032258,
"line_max": 81,
"alpha_frac": 0.6808510638,
"autogenerated": false,
"ratio": 3.975563909774436,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5156414973574436,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module for pyjdx.
Author: Lizhou Sha <slz@mit.edu>
"""
from setuptools import setup, find_packages
with open("README.rst") as f:
readme = f.read()
setup(
name="pyjdx",
version="0.0.1",
description="A reader of JCAMP-DX spectral data files",
long_description=readme,
keywords="spectroscopy chemistry astronomy atmospheric planetary science",
url="https://github.com/vulpicastor/pyjdx",
author="Lizhou Sha",
author_email="slz@mit.edu",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Software Development :: Libraries :: Python Modules",
],
packages=find_packages(),
install_requires=["numpy"]
)
| {
"repo_name": "vulpicastor/pyjdx",
"path": "setup.py",
"copies": "1",
"size": "1241",
"license": "mit",
"hash": -5210693908425867000,
"line_mean": 30.8205128205,
"line_max": 78,
"alpha_frac": 0.6333601934,
"autogenerated": false,
"ratio": 3.8421052631578947,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.49754654565578943,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module for reqcli"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from codecs import open
from os import path
from setuptools import setup, find_packages
import versioneer
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
readme = readme_file.read()
with open(path.join(here, 'HISTORY.rst'), encoding='utf-8') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'click>=5.0',
'colorama',
'requests>=2.0',
]
test_requirements = [
'pytest',
'tox',
]
extras = {
'develop': test_requirements,
}
setup(
name='reqcli',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="A simple command-line interface for HTTP requests, "
"using click and requests.",
long_description=readme + '\n\n' + history,
author="Dave Forgac",
author_email='tylerdave@tylerdave.com',
url='https://github.com/tylerdave/reqcli',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
entry_points={
'console_scripts':[
'req=reqcli.cli:cli',
],
},
include_package_data=True,
install_requires=requirements,
extras_require=extras,
license="MIT",
keywords='reqcli',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='tests',
tests_require=test_requirements
)
| {
"repo_name": "tylerdave/reqcli",
"path": "setup.py",
"copies": "1",
"size": "1883",
"license": "mit",
"hash": 1063596793441854700,
"line_mean": 26.6911764706,
"line_max": 76,
"alpha_frac": 0.6133828996,
"autogenerated": false,
"ratio": 3.736111111111111,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.9843525714301639,
"avg_score": 0.001193659281894576,
"num_lines": 68
} |
"""A setuptools based setup module for sharepointcacheprimer.
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# Get current version
with open('VERSION') as version_file:
version = version_file.read().strip()
setup(
name='sharepointcacheprimer',
version=version,
description='Cache Primer for Sharepoint with ADFSv3',
long_description=long_description,
# The project's main homepage.
url='https://github.com/rjewell/sharepointcacheprimer',
# Author details
author='Bob Jewell',
author_email='bob@disclosed.org',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Information Technology',
'Topic :: System :: Systems Administration',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.4',
],
keywords='sharepoint adfs cache',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=['robobrowser'],
entry_points={
'console_scripts': [
'sharepointcacheprimer=sharepointcacheprimer.cmdline:execute',
],
},
data_files=[('doc', ['doc/example.ini'])],
)
| {
"repo_name": "rjewell/sharepointcacheprimer",
"path": "setup.py",
"copies": "1",
"size": "1520",
"license": "mit",
"hash": 3674685386574629400,
"line_mean": 27.679245283,
"line_max": 74,
"alpha_frac": 0.6618421053,
"autogenerated": false,
"ratio": 3.9074550128534704,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.506929711815347,
"avg_score": null,
"num_lines": null
} |
""" A setuptools-based setup module for the Serial Monitor.
Author: Aleksander Lidtke
URL: https://github.com/AleksanderLidtke
"""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
import os
# Get the long description from the README file
with open(os.path.join(os.getcwd(), 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Get the version from a file, which is included with the distribution (listed in MANIFEST.in).
with open(os.path.join(os.getcwd(), 'VERSION'), encoding='utf-8') as version_file:
ver=version_file.read().strip()
setup(
name='SerialMonitor',
version=ver, # Use the version from the file.
description='Application that reads and writes to a serial port.',
long_description=long_description, # From the README.md
# The project's main homepage.
url='https://github.com/UnnamedMoose/serialMonitor',
# Author details
author='Artur Lidtke & Aleksander Lidtke',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: enthusiasts',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
keywords='serial port, serial monitor, logging, debugging',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['wxpython>=3.0.2','pyserial'],
extras_require={
'dev': ['pdb'],
'test': ['unittest'],
},
package_data={
},
# Automatically install the entry-point scripts.
entry_points={
'console_scripts': [
'serialMonitor=SerialMonitor:main',
],
},
)
| {
"repo_name": "UnnamedMoose/serialMonitor",
"path": "setup.py",
"copies": "1",
"size": "1779",
"license": "mit",
"hash": -1447530169681363000,
"line_mean": 27.2380952381,
"line_max": 95,
"alpha_frac": 0.6565486228,
"autogenerated": false,
"ratio": 3.809421841541756,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.9957575446213938,
"avg_score": 0.0016790036255634497,
"num_lines": 63
} |
"""A setuptools based setup module for the tf-idf package.
Blatantly copied from:
https://github.com/pypa/sampleproject
"""
from codecs import open # To use a consistent encoding
from os import path
from setuptools import setup, find_packages # Always prefer setuptools over distutils
import sys
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='tf-idf',
provides=['tfidf'],
version='0.0.0',
description='An implementation of TF-IDF for keyword extraction.',
long_description=long_description,
# The project's main homepage.
url='https://github.com/elzilrac/tf-idf',
# Author details
author='elzilrac',
author_email='elzilrac@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Text Processing :: Indexing',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
],
# What does your project relate to?
keywords='tfidf text mining extraction keywords tf-idf stemming ngram',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'cachetools',
'six',
'nltk',
'stop-words',
],
# Additional requirements for development and testing
extras_require={
'dev': [],
'test': ['pytest', 'pytest-cov', 'pytest-pythonpath'],
}
)
| {
"repo_name": "eblume/tf-idf",
"path": "setup.py",
"copies": "2",
"size": "2349",
"license": "mit",
"hash": 6247410009548090000,
"line_mean": 29.1153846154,
"line_max": 86,
"alpha_frac": 0.6496381439,
"autogenerated": false,
"ratio": 4.07105719237435,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.572069533627435,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module for zof.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import os
import re
from codecs import open
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
README_PATH = os.path.join(HERE, 'README.rst')
VERSION_PATH = os.path.join(HERE, 'zof', '__init__.py')
def _get_description(path):
with open(path, encoding='utf-8') as afile:
return afile.read()
def _get_version(path):
with open(path, encoding='utf-8') as afile:
regex = re.compile(r"(?m)__version__\s*=\s*'(\d+\.\d+\.\d+)'")
return regex.search(afile.read()).group(1)
setup(
name='zof',
packages=find_packages(exclude=['test']),
version=_get_version(VERSION_PATH),
license='MIT',
description='OpenFlow App Framework',
long_description=_get_description(README_PATH),
keywords='openflow controller',
# The project's main homepage and author.
url='https://github.com/byllyfish/zof',
author='William W. Fisher',
author_email='william.w.fisher@gmail.com',
# Dependencies
install_requires=[
# Imported by http submodule. Required for metrics demo.
'aiohttp',
# Required for metrics demo.
'prometheus_client'
],
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: System :: Networking'
],
zip_safe=True,
test_suite='test'
)
| {
"repo_name": "byllyfish/pylibofp",
"path": "setup.py",
"copies": "1",
"size": "1770",
"license": "mit",
"hash": -8119929951518329000,
"line_mean": 26.2307692308,
"line_max": 70,
"alpha_frac": 0.6355932203,
"autogenerated": false,
"ratio": 3.568548387096774,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.9704141607396773,
"avg_score": 0,
"num_lines": 65
} |
""" A setuptools based setup module.
https://github.com/LanceGin/haishoku
"""
# 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, 'README.rst'), encoding='utf-8') as f:
# long_description = f.read()
setup(
name='haishoku',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.1.8',
description='A development tool for grabbing the dominant color or representative color palette from an image.',
long_description='Haishoku is a development tool for grabbing the dominant color or representative color palette from an image, it depends on Python3 and Pillow.',
# The project's main homepage.
url='https://github.com/LanceGin/haishoku',
# Author details
author='lancegin',
author_email='gin.lance.inside@hotmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3 :: Only',
],
# What does your project relate to?
keywords='palette dominant-colors development python3 design-tools',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests', 'demo']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['pillow'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
# extras_require={
# 'dev': ['check-manifest'],
# 'test': ['coverage'],
# },
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
# package_data={
# 'sample': ['package_data.dat'],
# },
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
) | {
"repo_name": "LanceGin/haishoku",
"path": "setup.py",
"copies": "1",
"size": "3987",
"license": "mit",
"hash": -8609959553147882000,
"line_mean": 36.6226415094,
"line_max": 167,
"alpha_frac": 0.6691748182,
"autogenerated": false,
"ratio": 4.011066398390342,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5180241216590341,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module."""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open as c_open
from os import path
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with c_open(path.join(HERE, 'README.rst'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
setup(
name='class_namespaces',
version='0.6.5',
description='Class Namespaces',
long_description=LONG_DESCRIPTION,
url='https://github.com/mwchase/class-namespaces',
author='Max Woerner Chase',
author_email='max.chase@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='class namespaces',
package_dir={'': 'src'},
packages=find_packages('src', exclude=['contrib', 'docs', 'tests']),
)
| {
"repo_name": "mwchase/class-namespaces",
"path": "setup.py",
"copies": "1",
"size": "1241",
"license": "mit",
"hash": -4687865534963603000,
"line_mean": 24.3265306122,
"line_max": 72,
"alpha_frac": 0.6414182111,
"autogenerated": false,
"ratio": 4.0688524590163935,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5210270670116393,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module."""
# 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 descriptions from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='cr3bp',
version='1.0.0.dev1',
description='Project for analysis of circular restricted three body problem',
long_description=long_description,
url='https://github.com/rjpower4/cr3bp',
author='Rolfe Power'
author_email='rpower@purdue.edu'
license='MIT'
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Engineers/Scientists',
'Topic :: Science :: Analysis Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
],
keywords='cr3bp circular restricted three 3 body problem orbital mechanics',
packages=find_packages(exclude=['contrib','docs','tests'])
install_requires=['numpy','matplotlib'],
entry_points={
'console_scripts':[
'cr3bp=cr3bp:main',
],
},
)
| {
"repo_name": "rjpower4/cr3bp",
"path": "setup.py",
"copies": "1",
"size": "1307",
"license": "mit",
"hash": -7593142570283724000,
"line_mean": 25.14,
"line_max": 81,
"alpha_frac": 0.6518745218,
"autogenerated": false,
"ratio": 3.9606060606060605,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.022284466812922097,
"num_lines": 50
} |
"""A setuptools based setup module"""
#Always prefer setuptools over distutils
from setuptools import setup, find_packages
#To use a consistent encoding
from codecs import open
from os import path,system
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.read()
import netpyne
version = netpyne.__version__
import sys
if 'upload_via_twine' in sys.argv:
system('twine upload dist/netpyne-'+version+'-py2.py3-none-any.whl')
elif 'upload_via_twine_testpypi' in sys.argv:
system('twine upload --repository pypitest dist/netpyne_py3-'+version+'-py2.py3-none-any.whl')
else:
setup(
name = 'netpyne',
version = version, # update this in netpyne/__init__.py; makes it accessible to python scripts too...
description = 'A Python package to develop, simulate and analyse biological neuronal networks in NEURON.',
long_description = long_description,
# python_requires='>=2.7, >=3.6', # removed since makes py2 install fail with universal wheel
# The project's main homepage.
url = 'https://github.com/Neurosim-lab/netpyne',
#Author details
author = 'Salvador Dura-Bernal (Neurosim lab)',
author_email = 'salvadordura@gmail.com',
#Choose license
license = 'MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Visualization',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
# What does project relate to?
keywords = ['neuron','network','developing','framework','biological', 'simulation'],
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages = find_packages(exclude=['saveLoadV1']),
#List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['numpy', 'scipy', 'matplotlib>2.2', 'matplotlib-scalebar', 'future', 'pandas'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={},
)
| {
"repo_name": "thekerrlab/netpyne",
"path": "setup.py",
"copies": "1",
"size": "4303",
"license": "mit",
"hash": 5058786213256035000,
"line_mean": 38.4770642202,
"line_max": 114,
"alpha_frac": 0.6270044155,
"autogenerated": false,
"ratio": 4.243589743589744,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5370594159089743,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
For NEC PD SDK
"""
# 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, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='nec_pd_sdk',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='18.2.231',
description='NEC PD SDK',
long_description=long_description,
# The project's main homepage.
url='https://github.com/necsoftware/necpdsdk',
download_url = 'https://github.com/NECDisplaySolutions/necpdsdk.git',
# Author details
author='NEC Display Solutions, Ltd.',
author_email='techsupport@necdisplay.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
],
# What does your project relate to?
keywords='NEC pd sdk',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
#packages=find_packages(exclude=['contrib', 'docs', 'test*']),
packages=["nec_pd_sdk"],
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['pyserial', 'future'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
#extras_require={
# 'dev': ['check-manifest'],
# 'test': ['coverage'],
#},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'': ['controls.txt'],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
#data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
#entry_points={
# 'console_scripts': [
# 'necpdsdk=necpdsdk:main',
# ],
#},
)
| {
"repo_name": "NECDisplaySolutions/necpdsdk",
"path": "setup.py",
"copies": "1",
"size": "3761",
"license": "mit",
"hash": 6322322219172152000,
"line_mean": 33.504587156,
"line_max": 94,
"alpha_frac": 0.6599308694,
"autogenerated": false,
"ratio": 3.9464847848898215,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5106415654289822,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module."""
from setuptools import setup, find_packages
import os
from os import path
base_dir = path.abspath(path.dirname(__file__))
with open(os.path.join(base_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='em',
version='1.0.0',
description='An tool for managing deep learning experiments.',
long_description=long_description,
url='https://github.com/nhynes/em',
author='Nick Hynes',
author_email='nhynes@nhynes.com',
# Choose your license
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
],
keywords='deep learning pytorch',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=[
'pygit2>=0.26.0',
'python-daemon',
],
entry_points={
'console_scripts': [
'em=em.__main__:main',
],
},
)
| {
"repo_name": "nhynes/em",
"path": "setup.py",
"copies": "1",
"size": "1064",
"license": "mit",
"hash": 8648014063834167000,
"line_mean": 20.7142857143,
"line_max": 70,
"alpha_frac": 0.5968045113,
"autogenerated": false,
"ratio": 3.7202797202797204,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.981708423157972,
"avg_score": 0,
"num_lines": 49
} |
"""A setuptools based setup module.
"""
# Always prefer setuptools over distutils
from codecs import open
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='prc_agent',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.0.1',
description='agent for the people in PRC',
long_description=long_description,
# The project's main homepage.
url='https://github.com/lbp0200/prc_agent',
# Author details
author='lbp0200',
author_email='lbp0408@gmail.com',
# Choose your license
license='unlicense',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Python Software Foundation License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
# What does your project relate to?
keywords='proxy',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['asyncio', 'aiohttp', 'aiodns', 'cchardet', ],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'prc_agent=prc_agent.client:main',
],
},
)
| {
"repo_name": "lbp0200/prc_agent",
"path": "setup.py",
"copies": "1",
"size": "3635",
"license": "unlicense",
"hash": -8709752764546825000,
"line_mean": 33.619047619,
"line_max": 94,
"alpha_frac": 0.6627235213,
"autogenerated": false,
"ratio": 4.065995525727069,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.522871904702707,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
"""
# 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, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='dillinger',
version='1.0.0.dev1',
description='Bayesian optimization for iterated multi-armed bandit \
experiments.',
long_description=long_description,
# The project's main homepage.
url='https://github.com/chipfranzen/dillinger',
# Author details
author='Charles Franzen',
author_email='chip.franzen@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Information Analysis',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
# What does your project relate to?
keywords='mutli-armed-bandits bayesian-optimization gaussian-processes',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=[]),
install_requires=['numpy', 'scipy', 'matplotlib', 'seaborn', 'pandas'],
python_requires='>=3',
)
| {
"repo_name": "chipfranzen/dillinger",
"path": "setup.py",
"copies": "1",
"size": "1763",
"license": "mit",
"hash": 8888568501140551000,
"line_mean": 29.3965517241,
"line_max": 76,
"alpha_frac": 0.6613726602,
"autogenerated": false,
"ratio": 4.052873563218391,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5214246223418391,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
"""
from __future__ import print_function
import os
import fnmatch
import re
import subprocess
import yaml
# Always prefer setuptools over distutils
from setuptools import setup, Command
from setuptools_lint.setuptools_command import PylintCommand
from six import string_types
from yamllint.config import YamlLintConfig
from yamllint.cli import Format
from yamllint import linter
def find_files(base_dir, exclude_dirs, include_dirs, file_regex):
''' find files matching file_regex '''
found = []
exclude_regex = ''
include_regex = ''
if exclude_dirs is not None:
exclude_regex = r'|'.join([fnmatch.translate(x) for x in exclude_dirs]) or r'$.'
# Don't use include_dirs, it is broken
if include_dirs is not None:
include_regex = r'|'.join([fnmatch.translate(x) for x in include_dirs]) or r'$.'
for root, dirs, files in os.walk(base_dir):
if exclude_dirs is not None:
# filter out excludes for dirs
dirs[:] = [d for d in dirs if not re.match(exclude_regex, d)]
if include_dirs is not None:
# filter for includes for dirs
dirs[:] = [d for d in dirs if re.match(include_regex, d)]
matches = [os.path.join(root, f) for f in files if re.search(file_regex, f) is not None]
found.extend(matches)
return found
def recursive_search(search_list, field):
"""
Takes a list with nested dicts, and searches all dicts for a key of the
field provided. If the items in the list are not dicts, the items are not
processed.
"""
fields_found = []
for item in search_list:
if isinstance(item, dict):
for key, value in item.items():
if key == field:
fields_found.append(value)
elif isinstance(value, list):
results = recursive_search(value, field)
for result in results:
fields_found.append(result)
return fields_found
def find_playbooks(base_dir):
''' find Ansible playbooks'''
all_playbooks = set()
included_playbooks = set()
exclude_dirs = ('adhoc', 'tasks', 'ovirt')
for yaml_file in find_files(
os.path.join(os.getcwd(), base_dir),
exclude_dirs, None, r'^[^\.].*\.ya?ml$'):
with open(yaml_file, 'r') as contents:
for task in yaml.safe_load(contents) or {}:
if not isinstance(task, dict):
# Skip yaml files which are not a dictionary of tasks
continue
if 'include' in task or 'import_playbook' in task:
# Add the playbook and capture included playbooks
all_playbooks.add(yaml_file)
if 'include' in task:
directive = task['include']
else:
directive = task['import_playbook']
included_file_name = directive.split()[0]
included_file = os.path.normpath(
os.path.join(os.path.dirname(yaml_file),
included_file_name))
included_playbooks.add(included_file)
elif 'hosts' in task:
all_playbooks.add(yaml_file)
return all_playbooks, included_playbooks
class OpenShiftAnsibleYamlLint(Command):
''' Command to run yamllint '''
description = "Run yamllint tests"
user_options = [
('excludes=', 'e', 'directories to exclude'),
('config-file=', 'c', 'config file to use'),
('format=', 'f', 'format to use (standard, parsable)'),
]
def initialize_options(self):
''' initialize_options '''
# Reason: Defining these attributes as a part of initialize_options is
# consistent with upstream usage
# Status: permanently disabled
# pylint: disable=attribute-defined-outside-init
self.excludes = None
self.config_file = None
self.format = None
def finalize_options(self):
''' finalize_options '''
# Reason: These attributes are defined in initialize_options and this
# usage is consistant with upstream usage
# Status: permanently disabled
# pylint: disable=attribute-defined-outside-init
if isinstance(self.excludes, string_types):
self.excludes = self.excludes.split(',')
if self.format is None:
self.format = 'standard'
assert (self.format in ['standard', 'parsable']), (
'unknown format {0}.'.format(self.format))
if self.config_file is None:
self.config_file = '.yamllint'
assert os.path.isfile(self.config_file), (
'yamllint config file {0} does not exist.'.format(self.config_file))
def run(self):
''' run command '''
if self.excludes is not None:
print("Excludes:\n{0}".format(yaml.dump(self.excludes, default_flow_style=False)))
config = YamlLintConfig(file=self.config_file)
has_errors = False
has_warnings = False
if self.format == 'parsable':
format_method = Format.parsable
else:
format_method = Format.standard_color
for yaml_file in find_files(os.getcwd(), self.excludes, None, r'^[^\.].*\.ya?ml$'):
first = True
with open(yaml_file, 'r') as contents:
for problem in linter.run(contents, config):
if first and self.format != 'parsable':
print('\n{0}:'.format(os.path.relpath(yaml_file)))
first = False
print(format_method(problem, yaml_file))
if problem.level == linter.PROBLEM_LEVELS[2]:
has_errors = True
elif problem.level == linter.PROBLEM_LEVELS[1]:
has_warnings = True
if has_errors or has_warnings:
print('yamllint issues found')
raise SystemExit(1)
class OpenShiftAnsiblePylint(PylintCommand):
''' Class to override the default behavior of PylintCommand '''
# Reason: This method needs to be an instance method to conform to the
# overridden method's signature
# Status: permanently disabled
# pylint: disable=no-self-use
def find_all_modules(self):
''' find all python files to test '''
exclude_dirs = ('.tox', 'test', 'tests', 'git')
modules = []
for match in find_files(os.getcwd(), exclude_dirs, None, r'\.py$'):
package = os.path.basename(match).replace('.py', '')
modules.append(('openshift_ansible', package, match))
return modules
def get_finalized_command(self, cmd):
''' override get_finalized_command to ensure we use our
find_all_modules method '''
if cmd == 'build_py':
return self
# Reason: This method needs to be an instance method to conform to the
# overridden method's signature
# Status: permanently disabled
# pylint: disable=no-self-use
def with_project_on_sys_path(self, func, func_args, func_kwargs):
''' override behavior, since we don't need to build '''
return func(*func_args, **func_kwargs)
class OpenShiftAnsibleSyntaxCheck(Command):
''' Command to run Ansible syntax check'''
description = "Run Ansible syntax check"
user_options = []
# Colors
FAIL = '\033[31m' # Red
ENDC = '\033[0m' # Reset
def initialize_options(self):
''' initialize_options '''
pass
def finalize_options(self):
''' finalize_options '''
pass
def deprecate_jinja2_in_when(self, yaml_contents, yaml_file):
''' Check for Jinja2 templating delimiters in when conditions '''
test_result = False
failed_items = []
search_results = recursive_search(yaml_contents, 'when')
search_results.append(recursive_search(yaml_contents, 'failed_when'))
for item in search_results:
if isinstance(item, str):
if '{{' in item or '{%' in item:
failed_items.append(item)
else:
for sub_item in item:
if isinstance(sub_item, bool):
continue
if '{{' in sub_item or '{%' in sub_item:
failed_items.append(sub_item)
if len(failed_items) > 0:
print('{}Error: Usage of Jinja2 templating delimiters in when '
'conditions is deprecated in Ansible 2.3.\n'
' File: {}'.format(self.FAIL, yaml_file))
for item in failed_items:
print(' Found: "{}"'.format(item))
print(self.ENDC)
test_result = True
return test_result
def deprecate_include(self, yaml_contents, yaml_file):
''' Check for usage of include directive '''
test_result = False
search_results = recursive_search(yaml_contents, 'include')
if len(search_results) > 0:
print('{}Error: The `include` directive is deprecated in Ansible 2.4.\n'
'https://github.com/ansible/ansible/blob/devel/CHANGELOG.md\n'
' File: {}'.format(self.FAIL, yaml_file))
for item in search_results:
print(' Found: "include: {}"'.format(item))
print(self.ENDC)
test_result = True
return test_result
def run(self):
''' run command '''
has_errors = False
print('#' * 60)
print('Ansible Deprecation Checks')
exclude_dirs = ('adhoc', 'files', 'meta', 'vars', 'defaults', '.tox')
for yaml_file in find_files(
os.getcwd(), exclude_dirs, None, r'^[^\.].*\.ya?ml$'):
with open(yaml_file, 'r') as contents:
yaml_contents = yaml.safe_load(contents)
if not isinstance(yaml_contents, list):
continue
# Check for Jinja2 templating delimiters in when conditions
result = self.deprecate_jinja2_in_when(yaml_contents, yaml_file)
has_errors = result or has_errors
# Check for usage of include: directive
result = self.deprecate_include(yaml_contents, yaml_file)
has_errors = result or has_errors
if not has_errors:
print('...PASSED')
all_playbooks, included_playbooks = find_playbooks('playbooks')
print('#' * 60)
print('Invalid Playbook Include Checks')
invalid_include = []
for playbook in included_playbooks:
# Ignore imported playbooks in 'common', 'private' and 'init'. It is
# expected that these locations would be imported by entry point
# playbooks.
# Ignore playbooks in 'aws', 'azure', 'gcp' and 'openstack' because these
# playbooks do not follow the same component entry point structure.
# Ignore deploy_cluster.yml and prerequisites.yml because these are
# entry point playbooks but are imported by playbooks in the cloud
# provisioning playbooks.
ignored = ('common', 'private', 'init',
'aws', 'azure', 'gcp', 'openstack',
'deploy_cluster.yml', 'prerequisites.yml')
if any(x in playbook for x in ignored):
continue
invalid_include.append(playbook)
if invalid_include:
print('{}Invalid included playbook(s) found. Please ensure'
' component entry point playbooks are not included{}'.format(self.FAIL, self.ENDC))
invalid_include.sort()
for playbook in invalid_include:
print('{}{}{}'.format(self.FAIL, playbook, self.ENDC))
has_errors = True
if not has_errors:
print('...PASSED')
print('#' * 60)
print('Ansible Playbook Entry Point Syntax Checks')
# Evaluate the difference between all playbooks and included playbooks
entrypoint_playbooks = sorted(all_playbooks.difference(included_playbooks))
# Add ci test playbooks
test_playbooks, test_included_playbooks = find_playbooks('test')
test_entrypoint_playbooks = sorted(test_playbooks.difference(test_included_playbooks))
entrypoint_playbooks.extend(test_entrypoint_playbooks)
print('Entry point playbook count: {}'.format(len(entrypoint_playbooks)))
for playbook in entrypoint_playbooks:
print('-' * 60)
print('Syntax checking playbook: {}'.format(playbook))
# Error on any entry points in 'common' or 'private'
invalid_entry_point = ('common', 'private')
if any(x in playbook for x in invalid_entry_point):
print('{}Invalid entry point playbook or orphaned file. Entry'
' point playbooks are not allowed in \'common\' or'
' \'private\' directories{}'.format(self.FAIL, self.ENDC))
has_errors = True
# --syntax-check each entry point playbook
try:
# Create a host group list to avoid WARNING on unmatched host patterns
subprocess.check_output(
['ansible-playbook', '--syntax-check', playbook]
)
except subprocess.CalledProcessError as cpe:
print('{}Execution failed: {}{}'.format(
self.FAIL, cpe, self.ENDC))
has_errors = True
if has_errors:
raise SystemExit(1)
class UnsupportedCommand(Command):
''' Basic Command to override unsupported commands '''
user_options = []
# Reason: This method needs to be an instance method to conform to the
# overridden method's signature
# Status: permanently disabled
# pylint: disable=no-self-use
def initialize_options(self):
''' initialize_options '''
pass
# Reason: This method needs to be an instance method to conform to the
# overridden method's signature
# Status: permanently disabled
# pylint: disable=no-self-use
def finalize_options(self):
''' initialize_options '''
pass
# Reason: This method needs to be an instance method to conform to the
# overridden method's signature
# Status: permanently disabled
# pylint: disable=no-self-use
def run(self):
''' run command '''
print("Unsupported command for openshift-ansible")
setup(
name='openshift-ansible',
license="Apache 2.0",
cmdclass={
'install': UnsupportedCommand,
'develop': UnsupportedCommand,
'build': UnsupportedCommand,
'build_py': UnsupportedCommand,
'build_ext': UnsupportedCommand,
'egg_info': UnsupportedCommand,
'sdist': UnsupportedCommand,
'lint': OpenShiftAnsiblePylint,
'yamllint': OpenShiftAnsibleYamlLint,
'ansible_syntax': OpenShiftAnsibleSyntaxCheck,
},
packages=[],
)
| {
"repo_name": "mwoodson/openshift-ansible",
"path": "setup.py",
"copies": "1",
"size": "15255",
"license": "apache-2.0",
"hash": -6612963392328042000,
"line_mean": 36.8535980149,
"line_max": 101,
"alpha_frac": 0.580662078,
"autogenerated": false,
"ratio": 4.348631698973774,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.00048442295652161607,
"num_lines": 403
} |
"""A setuptools based setup module.
"""
from __future__ import print_function
import os
import fnmatch
import re
import sys
import subprocess
import yaml
# Always prefer setuptools over distutils
from setuptools import setup, Command
from setuptools_lint.setuptools_command import PylintCommand
from six import string_types
from six.moves import reload_module
from yamllint.config import YamlLintConfig
from yamllint.cli import Format
from yamllint import linter
def find_files(base_dir, exclude_dirs, include_dirs, file_regex):
''' find files matching file_regex '''
found = []
exclude_regex = ''
include_regex = ''
if exclude_dirs is not None:
exclude_regex = r'|'.join([fnmatch.translate(x) for x in exclude_dirs]) or r'$.'
# Don't use include_dirs, it is broken
if include_dirs is not None:
include_regex = r'|'.join([fnmatch.translate(x) for x in include_dirs]) or r'$.'
for root, dirs, files in os.walk(base_dir):
if exclude_dirs is not None:
# filter out excludes for dirs
dirs[:] = [d for d in dirs if not re.match(exclude_regex, d)]
if include_dirs is not None:
# filter for includes for dirs
dirs[:] = [d for d in dirs if re.match(include_regex, d)]
matches = [os.path.join(root, f) for f in files if re.search(file_regex, f) is not None]
found.extend(matches)
return found
def recursive_search(search_list, field):
"""
Takes a list with nested dicts, and searches all dicts for a key of the
field provided. If the items in the list are not dicts, the items are not
processed.
"""
fields_found = []
for item in search_list:
if isinstance(item, dict):
for key, value in item.items():
if key == field:
fields_found.append(value)
elif isinstance(value, list):
results = recursive_search(value, field)
for result in results:
fields_found.append(result)
return fields_found
def find_entrypoint_playbooks():
'''find entry point playbooks as defined by openshift-ansible'''
playbooks = set()
included_playbooks = set()
exclude_dirs = ['adhoc', 'tasks']
for yaml_file in find_files(
os.path.join(os.getcwd(), 'playbooks'),
exclude_dirs, None, r'\.ya?ml$'):
with open(yaml_file, 'r') as contents:
for task in yaml.safe_load(contents) or {}:
if not isinstance(task, dict):
# Skip yaml files which are not a dictionary of tasks
continue
if 'include' in task or 'import_playbook' in task:
# Add the playbook and capture included playbooks
playbooks.add(yaml_file)
if 'include' in task:
directive = task['include']
else:
directive = task['import_playbook']
included_file_name = directive.split()[0]
included_file = os.path.normpath(
os.path.join(os.path.dirname(yaml_file),
included_file_name))
included_playbooks.add(included_file)
elif 'hosts' in task:
playbooks.add(yaml_file)
# Evaluate the difference between all playbooks and included playbooks
entrypoint_playbooks = sorted(playbooks.difference(included_playbooks))
print('Entry point playbook count: {}'.format(len(entrypoint_playbooks)))
return entrypoint_playbooks
class OpenShiftAnsibleYamlLint(Command):
''' Command to run yamllint '''
description = "Run yamllint tests"
user_options = [
('excludes=', 'e', 'directories to exclude'),
('config-file=', 'c', 'config file to use'),
('format=', 'f', 'format to use (standard, parsable)'),
]
def initialize_options(self):
''' initialize_options '''
# Reason: Defining these attributes as a part of initialize_options is
# consistent with upstream usage
# Status: permanently disabled
# pylint: disable=attribute-defined-outside-init
self.excludes = None
self.config_file = None
self.format = None
def finalize_options(self):
''' finalize_options '''
# Reason: These attributes are defined in initialize_options and this
# usage is consistant with upstream usage
# Status: permanently disabled
# pylint: disable=attribute-defined-outside-init
if isinstance(self.excludes, string_types):
self.excludes = self.excludes.split(',')
if self.format is None:
self.format = 'standard'
assert (self.format in ['standard', 'parsable']), (
'unknown format {0}.'.format(self.format))
if self.config_file is None:
self.config_file = '.yamllint'
assert os.path.isfile(self.config_file), (
'yamllint config file {0} does not exist.'.format(self.config_file))
def run(self):
''' run command '''
if self.excludes is not None:
print("Excludes:\n{0}".format(yaml.dump(self.excludes, default_flow_style=False)))
config = YamlLintConfig(file=self.config_file)
has_errors = False
has_warnings = False
if self.format == 'parsable':
format_method = Format.parsable
else:
format_method = Format.standard_color
for yaml_file in find_files(os.getcwd(), self.excludes, None, r'\.ya?ml$'):
first = True
with open(yaml_file, 'r') as contents:
for problem in linter.run(contents, config):
if first and self.format != 'parsable':
print('\n{0}:'.format(os.path.relpath(yaml_file)))
first = False
print(format_method(problem, yaml_file))
if problem.level == linter.PROBLEM_LEVELS[2]:
has_errors = True
elif problem.level == linter.PROBLEM_LEVELS[1]:
has_warnings = True
if has_errors or has_warnings:
print('yamllint issues found')
raise SystemExit(1)
class OpenShiftAnsiblePylint(PylintCommand):
''' Class to override the default behavior of PylintCommand '''
# Reason: This method needs to be an instance method to conform to the
# overridden method's signature
# Status: permanently disabled
# pylint: disable=no-self-use
def find_all_modules(self):
''' find all python files to test '''
exclude_dirs = ['.tox', 'utils', 'test', 'tests', 'git']
modules = []
for match in find_files(os.getcwd(), exclude_dirs, None, r'\.py$'):
package = os.path.basename(match).replace('.py', '')
modules.append(('openshift_ansible', package, match))
return modules
def get_finalized_command(self, cmd):
''' override get_finalized_command to ensure we use our
find_all_modules method '''
if cmd == 'build_py':
return self
# Reason: This method needs to be an instance method to conform to the
# overridden method's signature
# Status: permanently disabled
# pylint: disable=no-self-use
def with_project_on_sys_path(self, func, func_args, func_kwargs):
''' override behavior, since we don't need to build '''
return func(*func_args, **func_kwargs)
class OpenShiftAnsibleGenerateValidation(Command):
''' Command to run generated module validation'''
description = "Run generated module validation"
user_options = []
def initialize_options(self):
''' initialize_options '''
pass
def finalize_options(self):
''' finalize_options '''
pass
# self isn't used but I believe is required when it is called.
# pylint: disable=no-self-use
def run(self):
''' run command '''
# find the files that call generate
generate_files = find_files('roles',
['inventory',
'test',
'playbooks',
'utils'],
None,
'generate.py$')
if len(generate_files) < 1:
print('Did not find any code generation. Please verify module code generation.') # noqa: E501
raise SystemExit(1)
errors = False
for gen in generate_files:
print('Checking generated module code: {0}'.format(gen))
try:
sys.path.insert(0, os.path.dirname(gen))
# we are importing dynamically. This isn't in
# the python path.
# pylint: disable=import-error
import generate
reload_module(generate)
generate.verify()
except generate.GenerateAnsibleException as gae:
print(gae.args)
errors = True
if errors:
print('Found errors while generating module code.')
raise SystemExit(1)
print('\nAll generate scripts passed.\n')
class OpenShiftAnsibleSyntaxCheck(Command):
''' Command to run Ansible syntax check'''
description = "Run Ansible syntax check"
user_options = []
# Colors
FAIL = '\033[31m' # Red
ENDC = '\033[0m' # Reset
def initialize_options(self):
''' initialize_options '''
pass
def finalize_options(self):
''' finalize_options '''
pass
def deprecate_jinja2_in_when(self, yaml_contents, yaml_file):
''' Check for Jinja2 templating delimiters in when conditions '''
test_result = False
failed_items = []
search_results = recursive_search(yaml_contents, 'when')
for item in search_results:
if isinstance(item, str):
if '{{' in item or '{%' in item:
failed_items.append(item)
else:
for sub_item in item:
if '{{' in sub_item or '{%' in sub_item:
failed_items.append(sub_item)
if len(failed_items) > 0:
print('{}Error: Usage of Jinja2 templating delimiters in when '
'conditions is deprecated in Ansible 2.3.\n'
' File: {}'.format(self.FAIL, yaml_file))
for item in failed_items:
print(' Found: "{}"'.format(item))
print(self.ENDC)
test_result = True
return test_result
def deprecate_include(self, yaml_contents, yaml_file):
''' Check for usage of include directive '''
test_result = False
search_results = recursive_search(yaml_contents, 'include')
if len(search_results) > 0:
print('{}Error: The `include` directive is deprecated in Ansible 2.4.\n'
'https://github.com/ansible/ansible/blob/devel/CHANGELOG.md\n'
' File: {}'.format(self.FAIL, yaml_file))
for item in search_results:
print(' Found: "include: {}"'.format(item))
print(self.ENDC)
test_result = True
return test_result
def run(self):
''' run command '''
has_errors = False
print('Ansible Deprecation Checks')
exclude_dirs = ['adhoc', 'files', 'meta', 'vars', 'defaults', '.tox']
for yaml_file in find_files(
os.getcwd(), exclude_dirs, None, r'\.ya?ml$'):
with open(yaml_file, 'r') as contents:
yaml_contents = yaml.safe_load(contents)
if not isinstance(yaml_contents, list):
continue
# Check for Jinja2 templating delimiters in when conditions
result = self.deprecate_jinja2_in_when(yaml_contents, yaml_file)
has_errors = result or has_errors
# Check for usage of include: directive
result = self.deprecate_include(yaml_contents, yaml_file)
has_errors = result or has_errors
if not has_errors:
print('...PASSED')
print('Ansible Playbook Entry Point Syntax Checks')
for playbook in find_entrypoint_playbooks():
print('-' * 60)
print('Syntax checking playbook: {}'.format(playbook))
# --syntax-check each entry point playbook
try:
# Create a host group list to avoid WARNING on unmatched host patterns
tox_ansible_inv = os.environ['TOX_ANSIBLE_INV_PATH']
subprocess.check_output(
['ansible-playbook', '-i', tox_ansible_inv,
'--syntax-check', playbook, '-e', '@{}_extras'.format(tox_ansible_inv)]
)
except subprocess.CalledProcessError as cpe:
print('{}Execution failed: {}{}'.format(
self.FAIL, cpe, self.ENDC))
has_errors = True
if has_errors:
raise SystemExit(1)
class UnsupportedCommand(Command):
''' Basic Command to override unsupported commands '''
user_options = []
# Reason: This method needs to be an instance method to conform to the
# overridden method's signature
# Status: permanently disabled
# pylint: disable=no-self-use
def initialize_options(self):
''' initialize_options '''
pass
# Reason: This method needs to be an instance method to conform to the
# overridden method's signature
# Status: permanently disabled
# pylint: disable=no-self-use
def finalize_options(self):
''' initialize_options '''
pass
# Reason: This method needs to be an instance method to conform to the
# overridden method's signature
# Status: permanently disabled
# pylint: disable=no-self-use
def run(self):
''' run command '''
print("Unsupported command for openshift-ansible")
setup(
name='openshift-ansible',
license="Apache 2.0",
cmdclass={
'install': UnsupportedCommand,
'develop': UnsupportedCommand,
'build': UnsupportedCommand,
'build_py': UnsupportedCommand,
'build_ext': UnsupportedCommand,
'egg_info': UnsupportedCommand,
'sdist': UnsupportedCommand,
'lint': OpenShiftAnsiblePylint,
'yamllint': OpenShiftAnsibleYamlLint,
'generate_validation': OpenShiftAnsibleGenerateValidation,
'ansible_syntax': OpenShiftAnsibleSyntaxCheck,
},
packages=[],
)
| {
"repo_name": "akubicharm/openshift-ansible",
"path": "setup.py",
"copies": "2",
"size": "14861",
"license": "apache-2.0",
"hash": 6906277397737144000,
"line_mean": 35.1581508516,
"line_max": 107,
"alpha_frac": 0.5745239217,
"autogenerated": false,
"ratio": 4.401954976303317,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5976478898003317,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='nginxauthdaemon',
version='1.0.0a3',
description='Authentication daemon for nginx-proxied or nginx-served applications',
long_description=long_description,
url='https://github.com/UnitedTraders/nginxauthdaemon',
author='Alik Kurdyukov',
author_email='akurdyukov@gmail.com',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: Internet :: WWW/HTTP',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='nginx auth',
packages=find_packages(),
package_data = {
'': ['static/*.*', 'templates/*.*']
},
install_requires=[
'click==6.6',
'Crowd==2.0.1',
'Flask==1.1.1',
'itsdangerous==0.24',
'Jinja2==2.10.1',
'lxml==4.4.1',
'MarkupSafe==0.23',
'pyasn1==0.1.9',
'pycryptodome == 3.9.0',
'requests>=2.24.0',
'Werkzeug==0.16.0',
'urllib3>=1.25.9'
],
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
}
)
| {
"repo_name": "akurdyukov/nginxauthdaemon",
"path": "setup.py",
"copies": "1",
"size": "1887",
"license": "mit",
"hash": 962281371898440800,
"line_mean": 29.435483871,
"line_max": 87,
"alpha_frac": 0.5813460519,
"autogenerated": false,
"ratio": 3.6149425287356323,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.46962885806356325,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
"""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
setup(
name='wahji',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.0.1b',
description='Static Site Generator',
long_description='Static site generator...',
# The project's main homepage.
url='https://github.com/mborn319/Wahji',
# Author details
author='Michael Born, John Happel, Tea Drincic, David Deeley, Carl Bennett, Paul Bressette',
author_email='drincit@sunyit.edu',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Code Generators',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
# What does your project relate to?
keywords='static site generation',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
install_requires=['PyYAML', 'markdown'],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'wahji=wahji_install.wahji:wahji',
],
},
)
| {
"repo_name": "mborn319/Wahji",
"path": "setup.py",
"copies": "1",
"size": "1940",
"license": "mit",
"hash": 614821730937216100,
"line_mean": 28.8461538462,
"line_max": 96,
"alpha_frac": 0.6675257732,
"autogenerated": false,
"ratio": 4.024896265560166,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5192422038760166,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
"""
from setuptools import setup
__author__ = 'robodasha'
__email__ = 'damirah@live.com'
with open('README.md') as fp:
description = fp.read()
setup(
name='research_papers',
version='0.1.2',
description='Numerous tools for working with research papers',
long_description=description,
license='MIT',
url='https://github.com/robodasha/research_papers',
author='Drahomira Herrmannova',
author_email='damirah@live.com',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Topic :: Scientific/Engineering',
'Topic :: Text Processing',
'Topic :: Utilities'
],
keywords='text mining',
packages=['research_papers', 'research_papers.tools'],
install_requires=['wheel', 'configparser', 'ordereddict', 'mendeley',
'pdfminer3k']
)
| {
"repo_name": "robodasha/research_papers",
"path": "setup.py",
"copies": "1",
"size": "1136",
"license": "mit",
"hash": 4420609948062725000,
"line_mean": 28.1282051282,
"line_max": 73,
"alpha_frac": 0.6153169014,
"autogenerated": false,
"ratio": 3.7491749174917492,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.4864491818891749,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
"""
# Always prefer setuptools over distutils
from setuptools import setup
setup(
name='ooinstall',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version="3.0.0",
description="Ansible wrapper for OpenShift Enterprise 3 installation.",
# The project's main homepage.
url="https://github.com/openshift/openshift-ansible",
# Author details
author="openshift@redhat.com",
author_email="OpenShift",
# Choose your license
license="Apache 2.0",
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
],
# What does your project relate to?
keywords='oo-install setuptools development',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=['ooinstall'],
package_dir={'': 'src'},
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['click', 'PyYAML', 'ansible'],
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'ooinstall': ['ansible.cfg', 'ansible-quiet.cfg', 'ansible_plugins/*'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'oo-install=ooinstall.cli_installer:cli',
],
},
)
| {
"repo_name": "EricMountain-1A/openshift-ansible",
"path": "utils/setup.py",
"copies": "14",
"size": "2196",
"license": "apache-2.0",
"hash": 9061590557830697000,
"line_mean": 32.7846153846,
"line_max": 79,
"alpha_frac": 0.6721311475,
"autogenerated": false,
"ratio": 4.214971209213052,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
"""
# Always prefer setuptools over distutils
from setuptools import setup
# 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, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='netcdf',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1.dev1',
description='Wraps netcdf4-python API calls for writing netCDF files',
long_description=long_description,
# The project's main homepage.
url='https://github.com/AvlWx2014/netcdf',
# Author details
author='Ryan D Smith',
author_email='avlwx2014@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Scientists :: Developers',
'Topic :: Software Development :: Climate and Weather Data',
# Pick your license as you wish (should match "license" above)
'License :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
# What does your project relate to?
keywords='weather climate science netcdf',
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['netCDF4'],
) | {
"repo_name": "AvlWx2014/netcdf",
"path": "setup.py",
"copies": "1",
"size": "2152",
"license": "mit",
"hash": -3000556058862838000,
"line_mean": 31.1343283582,
"line_max": 79,
"alpha_frac": 0.6710037175,
"autogenerated": false,
"ratio": 4.052730696798493,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.014925373134328358,
"num_lines": 67
} |
"""A setuptools based setup module.
Note:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
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, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='webgen',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.2.1',
description='A Python library for generating and manipulating html, css and javascript files.',
long_description=long_description,
# The project's main homepage.
#url='https://github.com/pypa/sampleproject',
url='https://github.com/mikister/webgen',
# Author details
author='Milan Radojević',
author_email='mikister2012@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.6',
],
# What does your project relate to?
keywords='html css js',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
#install_requires=['peppercorn'],
install_requires=[],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
python_requires='>=3.6, <4',
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
#package_data={
# 'sample': ['package_data.dat'],
#},
package_data={},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
#data_files=[('my_data', ['data/data_file'])],
data_files=[],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
#entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
#},
entry_points={},
)
""" # Old setup
from distutils.core import setup
setup(
name='webgen',
version='0.1dev',
packages=['webgen',],
license='MIT license',
long_description=open('README.md').read(),
)
"""
| {
"repo_name": "mikister/webgen",
"path": "setup.py",
"copies": "1",
"size": "3976",
"license": "mit",
"hash": -2982715088016487000,
"line_mean": 31.8512396694,
"line_max": 99,
"alpha_frac": 0.6601257862,
"autogenerated": false,
"ratio": 3.8780487804878048,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5038174566687805,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://github.com/bodedev/django-error-pages
"""
# Always prefer setuptools over distutils
# To use a consistent encoding
from codecs import open
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, package_data = [], {}
# Get the long description from the README file
with open(('README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='bode-django-error-pages',
version='0.0.2',
description='This is a simple project to handle http errors responses to Bode Django Projects',
long_description=long_description,
# The project's main homepage.
url='https://github.com/bodedev/django-error-pages',
# Author details
author='Bode.io Dev Team',
author_email='devs@bode.io',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'Topic :: Internet :: WWW/HTTP',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
# What does your project relate to?
keywords='django error pages',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
# packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['django'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
packages=find_packages(),
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
# package_data={
# 'sample': ['package_data.dat'],
# },
package_data={
'bode_error_pages': ['templates/*.html', 'templates/**/*.html'],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)
| {
"repo_name": "bodedev/django-error-pages",
"path": "setup.py",
"copies": "1",
"size": "3634",
"license": "mit",
"hash": 1094191717108968400,
"line_mean": 31.4464285714,
"line_max": 99,
"alpha_frac": 0.6518987342,
"autogenerated": false,
"ratio": 3.997799779977998,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5149698514177998,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/collective/collective.recipe.maildump
"""
# 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__))
def readfile(filename):
with open(path.join(here, filename), encoding='utf-8') as f:
return f.read()
long_description = readfile('README.rst')
long_description += readfile('CHANGES.txt')
setup(
name = "collective.recipe.maildump",
version = "0.2.2",
description = "Buildout recipe to install maildump",
long_description=long_description,
classifiers=[
'Framework :: Buildout',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: BSD License',
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Environment :: No Input/Output (Daemon)',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Topic :: Communications :: Email',
'Topic :: Software Development',
'Topic :: System :: Networking',
'Topic :: Utilities'
],
keywords='buildout recipe maildump',
author='Noe Nieto',
author_email='nnieto@noenieto.com',
url='https://github.com/collective/collective.recipe.maildump',
license='BSD',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['collective', 'collective.recipe'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'zc.buildout',
# -*- Extra requirements: -*-
'zc.recipe.egg'
],
entry_points = {'zc.buildout': ['default = collective.recipe.maildump:Recipe']},
)
| {
"repo_name": "collective/collective.recipe.maildump",
"path": "setup.py",
"copies": "1",
"size": "2119",
"license": "bsd-2-clause",
"hash": 85571800504583840,
"line_mean": 33.1774193548,
"line_max": 84,
"alpha_frac": 0.646059462,
"autogenerated": false,
"ratio": 4.043893129770993,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.004380565112346829,
"num_lines": 62
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/guidiego/apistar-mongo-generic
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='mongoenginerics',
version='0.1.0',
description='Exporting default routes for your projects',
long_description=long_description,
url='https://github.com/guidiego/apistar-mongo-generic',
license='MIT',
author='Guiherme Diego',
author_email='guidiego.expgames@gmail.com',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
],
keywords='mongo mongoengine generic',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['mongoengine'],
extras_require={
'dev': [],
'test': [],
},
entry_points={
'console_scripts': [
'mongoenginerics=mongoenginerics:main',
],
},
)
| {
"repo_name": "monumentum/mongoenginerics",
"path": "setup.py",
"copies": "1",
"size": "1353",
"license": "mit",
"hash": 600852135450015700,
"line_mean": 24.5283018868,
"line_max": 65,
"alpha_frac": 0.6430155211,
"autogenerated": false,
"ratio": 3.800561797752809,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.49435773188528087,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/jprchlik/aia_mkmovie
"""
# 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, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.
setup(
# This is the name of your project. The first time you publish this
# package, this name will be registered for you. It will determine how
# users can install this project, e.g.:
#
# $ pip install aia_mkmovie
#
# And where it will live on PyPI: https://pypi.org/project/sampleproject/
#
# There are some restrictions on what makes a valid project name
# specification here:
# https://packaging.python.org/specifications/core-metadata/#name
name='aia_mkmovie', # Required
# Versions should comply with PEP 440:
# https://www.python.org/dev/peps/pep-0440/
#
# For a discussion on single-sourcing the version across setup.py and the
# project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1.0', # Required
# This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field:
# https://packaging.python.org/specifications/core-metadata/#summary
description='A module for creating SDO/AIA movies.', # Required
# This is an optional longer description of your project that represents
# the body of text which users will see when they visit PyPI.
#
# Often, this is the same as your README, so you can just read it in from
# that file directly (as we have already done above)
#
# This field corresponds to the "Description" metadata field:
# https://packaging.python.org/specifications/core-metadata/#description-optional
long_description=long_description, # Optional
# This should be a valid link to your project's main homepage.
#
# This field corresponds to the "Home-Page" metadata field:
# https://packaging.python.org/specifications/core-metadata/#home-page-optional
url='https://github.com/jprchlik/aia_mkmovie', # Optional
# This should be your name or the name of the organization which owns the
# project.
author='Jakub Prchlik/SAO', # Optional
# This should be a valid email address corresponding to the author listed
# above.
author_email='japrchlik@gmail.com', # Optional
# Classifiers help users find your project by categorizing it.
#
# For a list of valid classifiers, see
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[ # Optional
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
#'Programming Language :: Python :: 3',
#'Programming Language :: Python :: 3.4',
#'Programming Language :: Python :: 3.5',
#'Programming Language :: Python :: 3.6',
],
# This field adds keywords for your project which will appear on the
# project page. What does your project relate to?
#
# Note that this is a string of words separated by whitespace, not a list.
keywords='aia solar movie astrophysics sun flare cme sdo', # Optional
# You can just specify package directories manually here if your project is
# simple. Or you can use find_packages().
#
# Alternatively, if you just want to distribute a single Python file, use
# the `py_modules` argument instead as follows, which will expect a file
# called `my_module.py` to exist:
#
# py_modules=["my_module"],
#
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required
# This field lists other packages that your project depends on to run.
# Any package you put here will be installed by pip when your project is
# installed, so they must be valid existing projects.
#
# For an analysis of "install_requires" vs pip's requirements files see:
# https://packaging.python.org/en/latest/requirements.html
#install_requires=['matplotlib','multiprocessing','glob','os','sys','stat','datetime','astropy','sunpy','Tk','tkMessageBox','tkFileDialog','astropy','re'], # Optional
# List additional groups of dependencies here (e.g. development
# dependencies). Users will be able to install these using the "extras"
# syntax, for example:
#
# $ pip install sampleproject[dev]
#
# Similar to `install_requires` above, these must be valid existing
# projects.
#extras_require={ # Optional
# 'dev': ['check-manifest'],
# 'test': ['coverage'],
#},
# If there are data files included in your packages that need to be
# installed, specify them here.
#
# If using Python 2.6 or earlier, then these have to be included in
# MANIFEST.in as well.
#package_data={ # Optional
# 'sample': ['package_data.dat'],
#},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files
#
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
#data_files=[('my_data', ['data/data_file'])], # Optional
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# `pip` to create the appropriate form of executable for the target
# platform.
#
# For example, the following would provide a command called `sample` which
# executes the function `main` from this package when invoked:
#entry_points={ # Optional
# 'console_scripts': [
# 'sample=sample:main',
# ],
#},
)
| {
"repo_name": "jprchlik/aia_mkmovie",
"path": "setup.py",
"copies": "1",
"size": "6781",
"license": "mit",
"hash": 9074219347890512000,
"line_mean": 39.3630952381,
"line_max": 171,
"alpha_frac": 0.673352013,
"autogenerated": false,
"ratio": 4.048358208955224,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5221710221955224,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/Livefyre/awscensus
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from os import path
here = path.abspath(path.dirname(__file__))
setup(
name='awscensus',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.8.31',
description='Tools to gather usage information in AWS',
# The project's main homepage.
url='https://github.com/Livefyre/awscensus',
# Author details
author='Nicholas Fowler',
author_email='nfowler@livefyre.com',
# What does your project relate to?
keywords='aws ec2 reap census reserved instances',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['py-yacc','boto','docopt', 'requests', 'simplejson','demjson', 'six', 'unicodecsv', 'csvorm'],
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'aws': ['app.yaml'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'reap=reap:main',
'awscensus=awscensus:main',
'billing=billing:main',
'snapcleaner=snapcleaner:main',
],
},
)
| {
"repo_name": "Livefyre/awscensus",
"path": "setup.py",
"copies": "1",
"size": "2182",
"license": "mit",
"hash": 4062496884474410000,
"line_mean": 35.3666666667,
"line_max": 116,
"alpha_frac": 0.6846929423,
"autogenerated": false,
"ratio": 3.841549295774648,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.0005698005698005699,
"num_lines": 60
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/Livefyre/dns-kit
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from os import path
setup(
name='dns-kit',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.9.5',
description='Tools for managing DNS zones',
# The project's main homepage.
url='https://github.com/Livefyre/dns-kit',
# Author details
author='Nicholas Fowler',
author_email='nfowler@livefyre.com',
# What does your project relate to?
keywords='dns route53 aws bindlite',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=['dns_kit'],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['py-yacc','boto','docopt','safeoutput','moto'],
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'dns_kit': ['app.yaml'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'bindlite2route53=dns_kit.bindlite2route53:main',
'route53dump=dns_kit.route53dump:main',
'route53diff=dns_kit.route53diff:main',
'push2route53=dns_kit.push2route53:main',
'filter_bindlite=dns_kit.filter_bindlite:main',
'merge_bindlite=dns_kit.merge_bindlite:main',
'bindlite_lookup=dns_kit.bindlite_lookup:main',
],
},
)
| {
"repo_name": "Livefyre/dns-kit",
"path": "setup.py",
"copies": "1",
"size": "2267",
"license": "mit",
"hash": 8261147303394839000,
"line_mean": 36.7833333333,
"line_max": 79,
"alpha_frac": 0.6837229819,
"autogenerated": false,
"ratio": 3.772046589018303,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.9951007666156398,
"avg_score": 0.0009523809523809524,
"num_lines": 60
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
https://pypi.python.org/pypi?%3Aaction=list_classifiers
"""
from setuptools import setup, find_packages
import omics as pkg # change 'omics' to your package name
# Get the long description from README.md
with open('README.md') as f:
long_description = f.read()
setup(
name=pkg.__name__,
version=pkg.__version__,
description=pkg.__doc__.split('\n')[0],
long_description=long_description,
url=pkg.__url__,
author=pkg.__author__,
author_email=pkg.__email__,
license=pkg.__license__,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
keywords='bioinformatics biostatistics genomics',
packages=find_packages(),
scripts=['scripts/biomart.py'],
install_requires=[
'numpy',
'scipy',
'matplotlib',
'seaborn',
'pandas',
'rpy2'
]
)
| {
"repo_name": "choyichen/omics",
"path": "setup.py",
"copies": "1",
"size": "1194",
"license": "mit",
"hash": 8790523736575413000,
"line_mean": 26.7674418605,
"line_max": 61,
"alpha_frac": 0.6289782245,
"autogenerated": false,
"ratio": 3.696594427244582,
"config_test": false,
"has_no_keywords": true,
"few_assignments": false,
"quality_score": 0.9825572651744582,
"avg_score": 0,
"num_lines": 43
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
from sauna import __version__ as version
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='sauna',
version=version,
description='Daemon that runs and reports health checks',
long_description=long_description,
url='https://github.com/NicolasLM/sauna',
author='Nicolas Le Manchet',
author_email='nicolas@lemanchet.fr',
license='BSD',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'Topic :: System :: Systems Administration',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='monitoring health checks nagios shinken',
packages=find_packages(exclude=['tests']),
install_requires=[
'docopt',
'PyYAML'
],
tests_require=[
'nose',
'pep8'
],
entry_points={
'console_scripts': [
'sauna = sauna.main:main',
],
},
)
| {
"repo_name": "bewiwi/sauna",
"path": "setup.py",
"copies": "1",
"size": "1698",
"license": "bsd-2-clause",
"hash": -9008446549063335000,
"line_mean": 25.53125,
"line_max": 65,
"alpha_frac": 0.6224970554,
"autogenerated": false,
"ratio": 3.9214780600461894,
"config_test": false,
"has_no_keywords": true,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0,
"num_lines": 64
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from codecs import open
from os import path
from pip.req import parse_requirements
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs = parse_requirements(here + "/resources/requirements/prod.txt", session=False)
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
reqs = [str(ir.req) for ir in install_reqs]
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='django_hashfield',
version='0.2.0',
description='A reusable Django field.',
long_description=long_description,
# The project's main homepage.
url='https://github.com/egemsoft/django-hashfield/',
author='Egemsoft',
author_email='info@egemsoft.net',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
# What does your project relate to?
keywords='A reusable Django field.',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=reqs,
dependency_links=[
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
)
| {
"repo_name": "egemsoft/django-hashfield",
"path": "setup.py",
"copies": "1",
"size": "2797",
"license": "mit",
"hash": 96126043538786190,
"line_mean": 30.7840909091,
"line_max": 91,
"alpha_frac": 0.6678584197,
"autogenerated": false,
"ratio": 3.961756373937677,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.00012351778656126481,
"num_lines": 88
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, Extension
# 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, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='plexus',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.0.4',
description='Plexus is exceptionally bio-inspired, a revolutionary\
approach to the artificial neural networks',
long_description=long_description,
# The project's main homepage.
url='https://github.com/mertyildiran/Plexus',
# Author details
author='Mehmet Mert Yildiran',
author_email='mert.yildiran@bil.omu.edu.tr',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
],
# What does your project relate to?
keywords='artifical neural networks',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=['plexus'],
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={},
ext_modules=[
Extension(
name='cplexus',
sources=['plexus/plexus.cpp', 'plexus/wrapper.cpp'],
language='c++',
extra_compile_args=['-w', '-std=c++17'],
)
]
)
| {
"repo_name": "mertyildiran/Plexus",
"path": "setup.py",
"copies": "1",
"size": "3789",
"license": "mit",
"hash": 2161452894519571200,
"line_mean": 34.0833333333,
"line_max": 94,
"alpha_frac": 0.672472948,
"autogenerated": false,
"ratio": 3.9968354430379747,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0,
"num_lines": 108
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
# To use a consistent encoding
from codecs import open
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='elastic_queries',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1.0',
description='Composable queries for Elasticsearch',
long_description=long_description,
# The project's main homepage.
url='https://github.com/pietermarsman/elastic-queries',
# Author details
author='Pieter Marsman',
author_email='pietermarsman@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Database',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
# 'Programming Language :: Python :: 2',
# 'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3',
# 'Programming Language :: Python :: 3.3',
# 'Programming Language :: Python :: 3.4',
# 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
# What does your project relate to?
keywords='elasticsearch query-builder',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['test']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage', 'nose'],
},
# Requires python 3
python_requires='>=3',
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
# package_data={
# 'sample': ['package_data.dat'],
# },
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)
| {
"repo_name": "pietermarsman/elastic-queries",
"path": "setup.py",
"copies": "1",
"size": "4101",
"license": "mit",
"hash": 1641949696395376000,
"line_mean": 33.7542372881,
"line_max": 94,
"alpha_frac": 0.6547183614,
"autogenerated": false,
"ratio": 4.0523715415019765,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5207089902901977,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from codecs import open
from os import path
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='pyassage',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.0.1',
description='A python library for the Cloud Passage API',
long_description=long_description,
# The project's main homepage.
url='https://github.com/jarretraim/pyassage',
# Author details
author='Jarret Raim',
author_email='jarret@raim.io',
# Choose your license
license='Apache Software License',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Apache Software License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
# What does your project relate to?
keywords='security cloudpassage api',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['six', 'requests', 'click'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
# package_data={
# 'sample': ['package_data.dat'],
# },
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'cpapi=pyassage.app:cli',
],
},
)
| {
"repo_name": "jarretraim/pyassage",
"path": "setup.py",
"copies": "1",
"size": "3765",
"license": "apache-2.0",
"hash": -4155427245733634600,
"line_mean": 34.5188679245,
"line_max": 94,
"alpha_frac": 0.6621513944,
"autogenerated": false,
"ratio": 4.057112068965517,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0,
"num_lines": 106
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='elsys-teachers-tools',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='15.11',
description='Teachers tools helping cource management in ELSYS',
long_description=long_description,
# The project's main homepage.
url='https://github.com/elsys/elsys-teachers-tools',
# Author details
author='ELSYS PO teachers',
author_email='elsys-po@googlegroups.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# Development Status :: 1 - Planning
# Development Status :: 2 - Pre-Alpha
# Development Status :: 3 - Alpha
# Development Status :: 4 - Beta
# Development Status :: 5 - Production/Stable
# Development Status :: 6 - Mature
# Development Status :: 7 - Inactive
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: Plugins',
'Intended Audience :: Education',
'Topic :: Education',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
'Natural Language :: Bulgarian',
'Natural Language :: English'
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3 :: Only'
],
# What does your project relate to?
keywords='buildtools utils helperscripts homework evaluators tests checks',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['pytoml'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'sample': ['package_data.dat'],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'evaluator=elsys_tools.homework.evaluator:main',
],
},
)
| {
"repo_name": "elsys/elsys-teachers-tools",
"path": "setup.py",
"copies": "1",
"size": "4475",
"license": "mit",
"hash": -8351243995054825000,
"line_mean": 36.2916666667,
"line_max": 94,
"alpha_frac": 0.6558659218,
"autogenerated": false,
"ratio": 4.1320406278855035,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5287906549685504,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
from io import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='ens',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.6.1',
description='Ethereum Name Service, made easy in Python',
long_description=long_description,
# The project's main homepage.
url='https://github.com/carver/ens.py',
# Author details
author='Jason Carver',
author_email='ut96caarrs@snkmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Information Technology',
'Topic :: Database :: Front-Ends',
'Topic :: Internet :: Finger',
'Topic :: Internet :: Name Service (DNS)',
'Topic :: Security :: Cryptography',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Systems Administration :: Authentication/Directory',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
# What does your project relate to?
keywords='ethereum eth web3 web3.py ENS',
python_requires='>=3.5',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['tests', 'venv']),
# https://packaging.python.org/en/latest/requirements.html
install_requires=['pytz', 'web3>=3.16.1,<4'],
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
)
| {
"repo_name": "carver/ens.py",
"path": "setup.py",
"copies": "1",
"size": "2174",
"license": "mit",
"hash": 5701367853362937000,
"line_mean": 30.5072463768,
"line_max": 80,
"alpha_frac": 0.6596136155,
"autogenerated": false,
"ratio": 3.882142857142857,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5041756472642858,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='seipy',
version='1.3.2',
description='Helper functions for data science',
long_description=long_description,
url='https://github.com/Seiji-Armstrong/seipy',
author_email='seiji.armstrong@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='pandas numpy spark jupyter data-science machine-learning s3',
packages=find_packages(exclude=[]),
install_requires=['pandas',
'requests',
'scipy',
'scikit-learn',
'numpy',
'pandas',
'matplotlib',
'scapy-python3',
'seaborn',
'ipython',
'boto3',
'pyspark'],
python_requires='>=3',
)
| {
"repo_name": "Seiji-Armstrong/seipy",
"path": "setup.py",
"copies": "1",
"size": "1590",
"license": "mit",
"hash": -8320047259007167000,
"line_mean": 31.4489795918,
"line_max": 75,
"alpha_frac": 0.5572327044,
"autogenerated": false,
"ratio": 4.184210526315789,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5241443230715789,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
setup(
name='twitchwatcher',
version='0.0.1',
description='A tiny wrapper for livestreamer to watch twitch streams',
long_description='A tiny wrapper to launch livestreamer made specificly for twitch streams',
url='https://github.com/MOZGIII/twitchwatcher',
author='MOZGIII',
author_email='mike-n@narod.ru',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'Topic :: Games/Entertainment',
'Topic :: Internet',
'Topic :: Multimedia :: Video :: Display',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
keywords='twitch livestreamer stream twitch.tv',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=['livestreamer'],
entry_points={
'console_scripts': [
'twitchwatcher=twitchwatcher:main',
'twitch=twitchwatcher:main',
],
},
)
| {
"repo_name": "MOZGIII/twitchwatcher",
"path": "setup.py",
"copies": "1",
"size": "1318",
"license": "mit",
"hash": -3226186879743966000,
"line_mean": 24.3461538462,
"line_max": 96,
"alpha_frac": 0.6358118361,
"autogenerated": false,
"ratio": 3.876470588235294,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5012282424335294,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import dork_compose
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
setup(
name='dork-compose',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=dork_compose.__version__,
description='docker-compose with magicks.',
# The project's main homepage.
url='https://github.com/iamdork/dork',
# Author details
author='Philipp Melab',
author_email='philipp.melab@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
# What does your project relate to?
keywords='docker docker-compose devops development',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
package_data={'dork_compose': [
'plugins/*.py',
'auxiliary/*/docker-compose.yml',
'auxiliary/*/docker-compose.yml',
'auxiliary/proxy/*/*',
]},
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'docker-compose==1.13.0',
'gitpython',
'terminaltables',
'filelock',
'hvac'
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest', 'minimock'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'dork-compose=dork_compose.main:run',
],
},
) | {
"repo_name": "iamdork/compose",
"path": "setup.py",
"copies": "1",
"size": "3077",
"license": "mit",
"hash": -9027641158036795000,
"line_mean": 31.0625,
"line_max": 79,
"alpha_frac": 0.648358791,
"autogenerated": false,
"ratio": 4.108144192256342,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.010416666666666666,
"num_lines": 96
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import re
from os import path
from codecs import open # To use a consistent encoding
from setuptools import setup # Always prefer setuptools over distutils
here = path.abspath(path.dirname(__file__))
name = 'bashtest'
description = 'UNIX command-line tool for bash/shell utils unit testing'
url = 'https://github.com/pahaz/bashtest'
ppa = 'https://pypi.python.org/packages/source/s/{0}/{0}-'.format(name)
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(here, name + '.py'), encoding='utf-8') as f:
data = f.read()
version = eval(re.search("__version__[ ]*=[ ]*([^\r\n]+)", data).group(1))
setup(
name=name,
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=version,
description=description,
long_description=long_description,
# The project's main homepage.
url=url,
download_url=ppa + version + '.zip', # noqa
# Author details
author='Pahaz Blinov',
author_email='pahaz.blinov@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Utilities',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
platforms=['unix', 'macos', 'windows'],
# What does your project relate to?
keywords='google spreadsheet api util helper',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
# packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
py_modules=["%s" % name],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest', 'docutils', 'Pygments'],
# 'test': [
# 'tox>=1.8.1',
# ],
# 'build_sphinx': [
# 'sphinx',
# 'sphinxcontrib-napoleon',
# ],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
# package_data={
# 'tests': ['testrsa.key'],
# },
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'bashtest=bashtest:main',
]
},
# Integrate tox with setuptools
# cmdclass={'test': Tox},
)
| {
"repo_name": "pahaz/bashtest",
"path": "setup.py",
"copies": "1",
"size": "4181",
"license": "mit",
"hash": 8962240137838859000,
"line_mean": 31.9212598425,
"line_max": 79,
"alpha_frac": 0.6378856733,
"autogenerated": false,
"ratio": 3.9184629803186506,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0,
"num_lines": 127
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import re
import sys
from os import path
from codecs import open # To use a consistent encoding
from setuptools import setup # Always prefer setuptools over distutils
from setuptools.command.test import test as TestCommand
here = path.abspath(path.dirname(__file__))
name = 'sshtunnel'
description = 'Pure python SSH tunnels'
url = 'https://github.com/pahaz/sshtunnel'
ppa = 'https://pypi.python.org/packages/source/s/{0}/{0}-'.format(name)
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(here, 'docs.rst'), encoding='utf-8') as f:
documentation = f.read()
with open(path.join(here, 'changelog.rst'), encoding='utf-8') as f:
changelog = f.read()
with open(path.join(here, name + '.py'), encoding='utf-8') as f:
data = f.read()
version = eval(re.search("__version__[ ]*=[ ]*([^\r\n]+)", data).group(1))
class Tox(TestCommand):
""" Integration with tox """
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = ['--recreate', '-v']
self.test_suite = True
def run_tests(self):
# import here, otherwise eggs aren't loaded
import tox
errcode = tox.cmdline(self.test_args)
sys.exit(errcode)
setup(
name=name,
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=version,
description=description,
long_description='\n'.join((long_description, documentation, changelog)),
# The project's main homepage.
url=url,
download_url=ppa + version + '.zip', # noqa
# Author details
author='Pahaz Blinov',
author_email='pahaz.blinov@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
platforms=['unix', 'macos', 'windows'],
# What does your project relate to?
keywords='ssh tunnel paramiko proxy tcp-forward',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
# packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
py_modules=["sshtunnel"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'paramiko>=1.15.2',
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
tests_require=[
'tox>=1.8.1',
],
extras_require={
'dev': ['check-manifest'],
'test': [
'tox>=1.8.1',
],
'build_sphinx': [
'sphinx',
'sphinxcontrib-napoleon',
],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'tests': ['testrsa.key'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sshtunnel=sshtunnel:_cli_main',
]
},
# Integrate tox with setuptools
cmdclass={'test': Tox},
)
| {
"repo_name": "fernandezcuesta/sshtunnel",
"path": "setup.py",
"copies": "1",
"size": "5037",
"license": "mit",
"hash": -2850636550569246000,
"line_mean": 31.2884615385,
"line_max": 79,
"alpha_frac": 0.6354973198,
"autogenerated": false,
"ratio": 3.8716372021521908,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0,
"num_lines": 156
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import setuptools
from codecs import open
from os import path
import versioneer
# class PyTest(TestCommand):
# def initialize_options(self):
# TestCommand.initialize_options(self)
# self.pytest_args = ["--verbose", "tests/tests.py"]
#
# def finalize_options(self):
# TestCommand.finalize_options(self)
# self.test_args = []
# self.test_suite = True
#
# def run_tests(self):
# import pytest
# errno = pytest.main(self.pytest_args)
# sys.exit(errno)
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.read()
requirements_f = open('requirements.txt', 'r')
dependencies = [req for req in requirements_f.readlines()]
setuptools.setup(
name='plantcv',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=versioneer.get_version(),
description='An image processing package for plant phenotyping.',
long_description=long_description,
long_description_content_type='text/markdown',
# The project's main homepage.
url='http://plantcv.danforthcenter.org',
# Author details
author='The PlantCV team',
author_email='plantcv@danforthcenter.org',
# Choose your license
license='MIT',
# Supported platforms
platforms=['Any'],
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
# What does your project relate to?
keywords='plant phenotyping bioinformatics',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=setuptools.find_packages(),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=dependencies,
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
# extras_require={
# 'test': ['pytest-runner', 'pytest'],
# },
setup_requires=["pytest-runner"],
tests_require=['pytest'],
cmdclass=versioneer.get_cmdclass(),
scripts=["plantcv-train.py", "plantcv-utils.py", "plantcv-workflow.py"]
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
# package_data={
# 'sample': ['package_data.dat'],
# },
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)
| {
"repo_name": "stiphyMT/plantcv",
"path": "setup.py",
"copies": "2",
"size": "4757",
"license": "mit",
"hash": 7337851268946924000,
"line_mean": 33.4710144928,
"line_max": 94,
"alpha_frac": 0.6592390162,
"autogenerated": false,
"ratio": 3.9023789991796556,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5561618015379655,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import sys
import setuptools
from setuptools.command.test import test as TestCommand
from codecs import open
from os import path
class PyTest(TestCommand):
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = ["--verbose", "tests/tests.py"]
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.pytest_args)
sys.exit(errno)
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.read()
try:
import cv2
except ImportError:
raise ImportError("ERROR: OpenCV package 'cv2' not found.")
setuptools.setup(
name='plantcv',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='2.0.dev0',
description='An image processing package for plant phenotyping.',
long_description=long_description,
# The project's main homepage.
url='http://plantcv.danforthcenter.org',
# Author details
author='The PlantCV team',
author_email='plantcv@danforthcenter.org',
# Choose your license
license='MIT',
# Supported platforms
platforms=['Any'],
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7'
],
# What does your project relate to?
keywords='image processing bioinformatics',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=setuptools.find_packages(),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['matplotlib>=1.5', 'numpy>=1.11', 'pandas', 'python-dateutil', 'scipy', 'scikit-image'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
# extras_require={
# 'test': ['pytest-runner', 'pytest'],
# },
tests_require=['pytest'],
cmdclass={'test': PyTest},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
# package_data={
# 'sample': ['package_data.dat'],
# },
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)
| {
"repo_name": "AntonSax/plantcv",
"path": "setup.py",
"copies": "1",
"size": "4569",
"license": "mit",
"hash": -7420258415145946000,
"line_mean": 32.5955882353,
"line_max": 110,
"alpha_frac": 0.6616327424,
"autogenerated": false,
"ratio": 3.9421915444348574,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5103824286834857,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import sys
# To use a consistent encoding
from codecs import open
from os import path
# Always prefer setuptools over distutils
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
try:
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
except FileNotFoundError:
long_description = "picoCTF shell_manager and hacksport"
setup(
name="ctf-shell-manager",
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version="1.2.1",
description="deploy and package hacksport problems",
long_description=long_description,
# The project's main homepage.
url="https://github.com/picoCTF/picoCTF",
# Author details
author="Christopher Ganas",
author_email="cganas@forallsecure.com",
# Choose your license
license="MIT",
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 3.7",
],
# What does your project relate to?
keywords="ctf hacksports",
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=["contrib", "docs", "tests*"]),
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
"coloredlogs==10.0",
"cryptography==3.3.2",
"docker[tls]==4.2.0",
"Flask==1.1.1",
"idna<3",
"Jinja2==2.11.3",
"openssh-wrapper==0.4",
"psutil==5.6.6",
"pytest==3.6.1",
"spur==0.3.21",
"voluptuous==0.11.7",
"Werkzeug==0.15.5",
],
extras_require={"dev": ["black", "flake8", "pydocstyle"]},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={"console_scripts": ["shell_manager=shell_manager.run:main"]},
# Include static files listed in Manifest.in
include_package_data=True,
)
| {
"repo_name": "picoCTF/picoCTF",
"path": "picoCTF-shell/setup.py",
"copies": "1",
"size": "3135",
"license": "mit",
"hash": -8888079365676966000,
"line_mean": 35.8823529412,
"line_max": 79,
"alpha_frac": 0.6622009569,
"autogenerated": false,
"ratio": 3.781664656212304,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.9943865613112304,
"avg_score": 0,
"num_lines": 85
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# To use a consistent encoding
from codecs import open
from os import path
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='slinkie',
version='0.4.2',
description='Method chains for Python.',
long_description=long_description,
# The project's main homepage.
url='https://github.com/segfaultsourcery/slinkie',
# Author details
author='Kim Hermansson',
author_email='',
# Choose your license
license='BSD',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: BSD License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
# What does your project relate to?
keywords='productivity development method-chains functional linq kotlin',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
py_modules=["slinkie"],
# 3.5 and up.
python_requires='~=3.5',
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[],
# # List additional groups of dependencies here (e.g. development
# # dependencies). You can install these using the following syntax,
# # for example:
# # $ pip install -e .[dev,test]
# extras_require={
# 'dev': ['check-manifest'],
# 'test': ['coverage'],
# },
# # If there are data files included in your packages that need to be
# # installed, specify them here. If using Python 2.6 or less, then these
# # have to be included in MANIFEST.in as well.
# package_data={
# 'sample': ['package_data.dat'],
# },
# # Although 'package_data' is the preferred approach, in some case you may
# # need to place data files outside of your packages. See:
# # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# # To provide executable scripts, use entry points in preference to the
# # "scripts" keyword. Entry points provide cross-platform support and allow
# # pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
) | {
"repo_name": "segfaultsourcery/slinkie",
"path": "setup.py",
"copies": "1",
"size": "3686",
"license": "bsd-2-clause",
"hash": 3045451852059708000,
"line_mean": 32.2162162162,
"line_max": 96,
"alpha_frac": 0.6511123169,
"autogenerated": false,
"ratio": 3.976267529665588,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.009230097305978065,
"num_lines": 111
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/sergyp/ctx_timer
"""
# 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, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='ctx_timer',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.0.1',
description='Contextual timer to measure python code',
long_description=long_description,
# The project's main homepage.
url='https://github.com/sergyp/ctx_timer',
# Author details
author='Sergey Punkoff',
author_email='svpmailbox@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 2 - Pre-Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Testing',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
#'Programming Language :: Python :: 3',
#'Programming Language :: Python :: 3.3',
#'Programming Language :: Python :: 3.4',
#'Programming Language :: Python :: 3.5',
],
# What does your project relate to?
keywords='timer development profiling',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
# package_data={
# 'sample': ['package_data.dat'],
# },
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)
| {
"repo_name": "sergyp/ctx_timer",
"path": "setup.py",
"copies": "1",
"size": "4081",
"license": "mit",
"hash": 2758125804544049000,
"line_mean": 34.798245614,
"line_max": 94,
"alpha_frac": 0.6564567508,
"autogenerated": false,
"ratio": 4.089178356713427,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.0007090643274853802,
"num_lines": 114
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
"""
# flake8: noqa
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from os import path
here = path.abspath(path.dirname(__file__))
setup(
name='pkaers',
version='0.0.2',
description='Python Khan Academy ELO Rating System',
long_description='Utilizes ELO Rating system to predict '
'RIT scores and to update a Khan exercise difficulties '
'on the RIT scale.',
url='https://github.com/kimjam/pkaers',
author='James Kim',
author_email='jamesykim10@gmail.com',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Topic :: Education'
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7'
],
keywords='education khan',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=['numpy', 'pandas'],
# Entry points for command line integration
entry_points="",
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
) | {
"repo_name": "kimjam/pkaers",
"path": "setup.py",
"copies": "1",
"size": "1384",
"license": "mit",
"hash": 5696409254086476000,
"line_mean": 22.8793103448,
"line_max": 77,
"alpha_frac": 0.6271676301,
"autogenerated": false,
"ratio": 3.898591549295775,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5025759179395775,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
"""
# 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, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='furrytrain',
version='0.0',
description='Scripts for interview.',
long_description=long_description,
author='Kichatov Feodor',
author_email='sozforex@gmail.com',
license='MIT',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
setup_requires=['pytest-runner'],
install_requires=['pytest', 'click'],
# package_data={
# # 'sample': ['package_data.dat'],
# },
entry_points={
'console_scripts': [
'nettoips=furrytrain.nettoips:main',
'countoccur=furrytrain.countoccur:main',
],
},
)
| {
"repo_name": "sozforex/furry-train",
"path": "setup.py",
"copies": "1",
"size": "1068",
"license": "mit",
"hash": 7923302303827362000,
"line_mean": 26.3846153846,
"line_max": 65,
"alpha_frac": 0.654494382,
"autogenerated": false,
"ratio": 3.5364238410596025,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.46909182230596025,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
"""
# Always prefer setuptools over distutils
from setuptools import setup
# 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, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='adtn',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1.4',
description='A aDTN library',
long_description=long_description,
# The project's main homepage.
url='https://github.com/SeNDA-UAB/aDTN-platform',
# Author details
author='SeNDA-UAB',
author_email='developers@senda.uab.cat',
# Choose your license
license='Apache2.0',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Apache Software License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
],
# What does your project relate to?
keywords='adtn dtn active-dtn development',
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
py_modules=["adtn"],
)
| {
"repo_name": "SeNDA-UAB/aDTN-platform",
"path": "libPython/setup.py",
"copies": "1",
"size": "1986",
"license": "apache-2.0",
"hash": -3115937555422878700,
"line_mean": 29.0909090909,
"line_max": 78,
"alpha_frac": 0.6666666667,
"autogenerated": false,
"ratio": 3.94831013916501,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0,
"num_lines": 66
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import io
from setuptools import setup, find_packages
description = "An example Python project"
with io.open('README.md') as readme:
long_description = ''.join(
filter(lambda x: 'https://travis-ci.org/' not in x,
readme.readlines()))
setup(
name='package-name',
# Versioning should conform to Semantic Versioning: http://semver.org/
version='0.0.1',
description=description,
long_description=long_description,
# The project's main homepage.
url='https://github.com/okfn/python-packaging-example',
# Author details
author='Open Knowledge Foundation',
author_email='info@okfn.org',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
# What does your project relate to?
keywords='',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'requests>=2.8.0',
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
# package_data={
# 'package_name': ['package_data.dat'],
# },
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)
| {
"repo_name": "okfn/python-packaging-example",
"path": "setup.py",
"copies": "1",
"size": "3901",
"license": "mit",
"hash": 4227141991593153500,
"line_mean": 32.3418803419,
"line_max": 94,
"alpha_frac": 0.6431684184,
"autogenerated": false,
"ratio": 4.097689075630252,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5240857494030252,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
"""
import os
# To use a consistent encoding
from codecs import open as openc
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with openc(os.path.join(HERE, 'README.md'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
setup(
name='scores',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.0.0',
description='A python flask app to manage board game scores',
LONG_DESCRIPTION=LONG_DESCRIPTION,
# The project's main homepage.
url='https://github.com/zesk06/scores',
# Author details
author='Nicolas Rouviere',
author_email='zesk06@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Web',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3',
# 'Programming Language :: Python :: 3.3',
# 'Programming Language :: Python :: 3.4',
# 'Programming Language :: Python :: 3.5',
],
# What does your project relate to?
keywords='boardgame',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['scores', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'flask==0.11.1',
'apipkg==1.4',
'autopep8==1.2.4',
'click==6.6',
'execnet==1.4.1',
'Flask==0.11.1',
'Flask-Login==0.3.2',
'gunicorn==19.6.0',
'itsdangerous==0.24',
'Jinja2==2.8',
'jsonpickle==0.9.3',
'MarkupSafe==0.23',
'mongokit==0.9.1.1',
'pbr==1.10.0',
'py==1.4.31',
'PyYAML==3.11',
'python-dateutil==1.5',
'requests==2.8.1',
'six==1.10.0',
'Werkzeug==0.11.11',
# pymongo 2.8.0 is the most we can have to have mongokit to work',
'pymongo==2.8.0',
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': [
'check-manifest',
'pep8==1.7.0',
'ipython<6',
'pylint==1.8.2',
'pytest==3.0.2',
'pytest-cache==1.0',
'pytest-cov==2.3.1',
'pytest-pep8==1.0.6',
'selenium==2.52.0',
'stevedore==1.17.1',
'virtualenv==15.0.3',
'virtualenv-clone==0.2.6',
'virtualenvwrapper==4.7.2',
'rope'
],
'test': ['coverage',
'coverage==4.2'],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'sample': ['package_data.dat'],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
)
| {
"repo_name": "zesk06/scores",
"path": "setup.py",
"copies": "1",
"size": "4975",
"license": "mit",
"hash": -6693873004328805000,
"line_mean": 32.1666666667,
"line_max": 94,
"alpha_frac": 0.5979899497,
"autogenerated": false,
"ratio": 3.6988847583643123,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.9796874708064313,
"avg_score": 0,
"num_lines": 150
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
"""
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, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='python-core-utils',
version='0.5.0',
description='Python core utility functions',
long_description=long_description,
url='https://github.com/ajaniv/python-core-utils',
author='Amnon Janiv',
author_email='amnon.janiv@ondalear.com',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
keywords='python core utility functions',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['Pillow>=4.1.1',
'docutils>=0.14'],
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
test_suite='tests'
)
| {
"repo_name": "ajaniv/python-core-utils",
"path": "setup.py",
"copies": "1",
"size": "1567",
"license": "mit",
"hash": -3593179673263052300,
"line_mean": 29.1346153846,
"line_max": 71,
"alpha_frac": 0.6145500957,
"autogenerated": false,
"ratio": 3.85012285012285,
"config_test": false,
"has_no_keywords": true,
"few_assignments": false,
"quality_score": 0.996467294582285,
"avg_score": 0,
"num_lines": 52
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
from io import open
here = path.abspath(path.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.read()
# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.
setup(
name='sync-py', # Required
version='1.0.4', # Required
description='Consume Paybook Sync REST API without pain', # Optional
long_description=long_description, # Optional
long_description_content_type='text/markdown', # Optional
url='https://github.com/Paybook/sync-py', # Optional
author='Paybook', # Optional
author_email='aldo.escobar@paybook.com', # Optional
license='MIT',
classifiers=[ # Optional
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='paybook sync bank sat', # Optional
package_dir={'': 'src'}, # Optional
packages=find_packages(where='src'), # Required
python_requires='!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4',
install_requires=['requests'], # Optional
extras_require={ # Optional
'dev': [''],
'test': [''],
},
entry_points={ # Optional
'console_scripts': [
'sync=sync.__main__:main',
],
},
project_urls={ # Optional
'Bug Reports': 'https://github.com/Paybook/sync-py/issues',
'Home': 'https://www.paybook.com/w/es/sync/site/home',
'Source': 'https://github.com/Paybook/sync-py',
},
)
| {
"repo_name": "Paybook/sync-py",
"path": "setup.py",
"copies": "1",
"size": "2656",
"license": "mit",
"hash": 4662718039446242000,
"line_mean": 35.8888888889,
"line_max": 75,
"alpha_frac": 0.6283885542,
"autogenerated": false,
"ratio": 3.8106169296987087,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.9939005483898709,
"avg_score": 0,
"num_lines": 72
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
# Python 3 only projects can skip this import
from io import open
import versioneer
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.read()
# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.
setup(
# This is the name of your project. The first time you publish this
# package, this name will be registered for you. It will determine how
# users can install this project, e.g.:
#
# $ pip install emu-docker
#
# And where it will live on PyPI: https://pypi.org/project/emu-docker/
#
# There are some restrictions on what makes a valid project name
# specification here:
# https://packaging.python.org/specifications/core-metadata/#name
name="emu-docker", # Required
# Versions should comply with PEP 440:
# https://www.python.org/dev/peps/pep-0440/
#
# We are using versioneer to make sure our versions include a git sha,
# which will make it easier to track and log issues we might encounter
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
# This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field:
# https://packaging.python.org/specifications/core-metadata/#summary
description="Tools to create and deploy android emulator docker containers.", # Optional
# This is an optional longer description of your project that represents
# the body of text which users will see when they visit PyPI.
#
# This field corresponds to the "Description" metadata field:
# https://packaging.python.org/specifications/core-metadata/#description-optional
long_description=long_description, # Optional
# Denotes that our long_description is in Markdown; valid values are
# text/plain, text/x-rst, and text/markdown
#
# This field corresponds to the "Description-Content-Type" metadata field:
# https://packaging.python.org/specifications/core-metadata/#description-content-type-optional
long_description_content_type="text/markdown", # Optional (see note above)
# This should be a valid link to your project's main homepage.
#
# This field corresponds to the "Home-Page" metadata field:
# https://packaging.python.org/specifications/core-metadata/#home-page-optional
url="https://github.com/google/android-emulator-container-scripts", # Optional
# This should be your name or the name of the organization which owns the
# project.
author="Frank Yang, Erwin Jansen", # Optional
# This should be a valid email address corresponding to the author listed
# above.
author_email="lfy@google.com, jansene@google.com", # Optional
# Classifiers help users find your project by categorizing it.
#
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers=[ # Optional
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: System :: Emulators",
# Pick your license as you wish
"License :: OSI Approved :: Apache Software License",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
# These classifiers are *not* checked by 'pip install'. See instead
# 'python_requires' below.
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
# This field adds keywords for your project which will appear on the
# project page. What does your project relate to?
#
# Note that this is a string of words separated by whitespace, not a list.
keywords="android emulator virtualization", # Optional
# You can just specify package directories manually here if your project is
# simple. Or you can use find_packages().
#
# Alternatively, if you just want to distribute a single Python file, use
# the `py_modules` argument instead as follows, which will expect a file
# called `my_module.py` to exist:
#
# py_modules=["my_module"],
#
packages=find_packages(exclude=["contrib", "docs", "tests"]), # Required
# Specify which Python versions you support. In contrast to the
# 'Programming Language' classifiers above, 'pip install' will check this
# and refuse to install the project if the version does not match. If you
# do not support Python 2, you can simplify this to '>=3.5' or similar, see
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4",
# This field lists other packages that your project depends on to run.
# Any package you put here will be installed by pip when your project is
# installed, so they must be valid existing projects.
install_requires=[
"requests",
"jinja2==2.11.1",
"console-menu",
"tqdm",
"docker",
"appdirs",
"click",
"colorlog",
"packaging",
"pyyaml",
], # Optional
# List additional groups of dependencies here (e.g. development
# dependencies). Users will be able to install these using the "extras"
# syntax, for example:
#
# $ pip install sampleproject[dev]
#
# Similar to `install_requires` above, these must be valid existing
# projects.
extras_require={"dev": ["check-manifest", "versioneer", "black"], "test": ["coverage", "mock", "tox"],}, # Optional
# If there are data files included in your packages that need to be
# installed, specify them here.
#
# If using Python 2.6 or earlier, then these have to be included in
# MANIFEST.in as well.
package_data={ # Optional
"emu": [
"templates/*",
"templates/avd/*",
],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files
#
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files={}, # Optional
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# `pip` to create the appropriate form of executable for the target
# platform.
entry_points={"console_scripts": ["emu-docker=emu.emu_docker:main",],}, # Optional
# List additional URLs that are relevant to your project as a dict.
#
# This field corresponds to the "Project-URL" metadata fields:
# https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use
#
# Examples listed include a pattern for specifying where the package tracks
# issues, where the source is hosted, where to say thanks to the package
# maintainers, and where to support the project financially. The key is
# what's used to render the link text on PyPI.
project_urls={ # Optional
"Bug Reports": "https://github.com/google/android-emulator-container-scripts/issues",
#'Say Thanks!': 'http://saythanks.io/to/example',
"Source": "https://github.com/google/android-emulator-container-scripts",
},
)
| {
"repo_name": "google/android-emulator-container-scripts",
"path": "setup.py",
"copies": "1",
"size": "8386",
"license": "apache-2.0",
"hash": 365618666284935400,
"line_mean": 45.5888888889,
"line_max": 120,
"alpha_frac": 0.6779155736,
"autogenerated": false,
"ratio": 4.104747919725893,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5282663493325893,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module."""
# See:
# https://packaging.python.org/
# https://packaging.python.org/tutorials/packaging-projects/
# https://setuptools.readthedocs.io/en/latest/setuptools.html
# https://packaging.python.org/tutorials/distributing-packages/
# https://github.com/pypa/sampleproject
from setuptools import find_packages, setup
# Get the long description from the README file
with open('README.rst') as f:
long_description = f.read()
setup(
name='dwilib',
version='0.1.8.dev',
description='Research tools for MRI-based CAD of cancer',
long_description=long_description,
long_description_content_type='text/x-rst',
url='https://github.com/jupito/dwilib',
author='Jussi Toivonen',
author_email='jupito@iki.fi',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.4',
'Topic :: Scientific/Engineering :: Image Recognition',
'Topic :: Scientific/Engineering :: Medical Science Apps.',
'Topic :: Utilities',
],
keywords='medical imaging cancer mri',
python_requires='>=3.4',
# # https://packaging.python.org/en/latest/requirements.html
# install_requires=[
# # 'doit',
# 'h5py',
# 'joblib',
# 'leastsqbound',
# 'mahotas',
# 'matplotlib',
# # 'nibabel',
# 'numpy',
# # 'Pillow',
# 'pandas',
# 'pydicom',
# 'scikit-image',
# 'scikit-learn',
# 'scipy',
# # 'seaborn',
# # 'tabulate',
# # 'xarray',
# ],
# packages=find_packages(exclude=['contrib', 'doc', 'tests']),
packages=find_packages(),
include_package_data=True,
package_data={
# 'dwilib': ['examples/doit.cfg'],
# 'dwilib': ['examples/doit.cfg'],
'': [
'doc/*',
'examples/*',
'tools/*',
],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)
| {
"repo_name": "jupito/dwilib",
"path": "setup.py",
"copies": "1",
"size": "2907",
"license": "mit",
"hash": 8787227407197401000,
"line_mean": 31.6629213483,
"line_max": 94,
"alpha_frac": 0.5958032336,
"autogenerated": false,
"ratio": 3.588888888888889,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.46846921224888893,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://python-packaging.readthedocs.io/en/latest/everything.html
"""
from setuptools import setup
def readme():
"""Loads the content of the readme file."""
with open('README.md') as rmfile:
return rmfile.read()
setup(name='tensorlight',
version='1.0.0',
description='TensorLight - A high-level framework for TensorFlow.',
long_description=readme(),
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
keywords='tenforflow library framework dataset deep-learning neural-network machine-learning',
url='https://github.com/bsautermeister/tensorlight',
author='Benjamin Sautermeister',
author_email='mail@bsautermeister.de',
license='MIT',
packages=['tensorlight'],
install_requires=[
'tensorflow>=1.0.0'
'numpy',
'matplotlib',
'opencv-python',
'scipy',
'scikit-image',
'sk-video',
'moviepy',
'rarfile',
'h5py',
'jsonpickle'
],
include_package_data=True,
zip_safe=False)
| {
"repo_name": "bsautermeister/tensorlight",
"path": "setup.py",
"copies": "1",
"size": "1456",
"license": "mit",
"hash": 7869338742524622000,
"line_mean": 28.12,
"line_max": 100,
"alpha_frac": 0.5803571429,
"autogenerated": false,
"ratio": 4.044444444444444,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.00019801980198019803,
"num_lines": 50
} |
"""A setuptools based setup module.
THIS CODE IS TAKEN FROM
https://gemfury.com/stevenferreira/python:sample/-/content/setup.py?gclid=CjwKCAjw-qbLBRB7EiwAftBCI9Jkutdz7_GQ0G4q3KfxlHQBKZZf1DPTWkKvzfwJsnZhrP8VTDUYVhoCYVEQAvD_BwE
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='PyAngular',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1.0',
description='A Python + Angular2 skeleton project',
long_description=long_description,
# The project's main homepage.
url='https://github.com/emillynge/pyangular',
# Author details
author='Emil Sauer Lynge',
author_email='emillynge24@gmail.com',
# Choose your license
license='Apache 2.0',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Apache 2.0 License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.6',
],
# What does your project relate to?
keywords='angular2 asyncio aiohttp',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['backend']),
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'uvloop',
'oauth2client',
'python-dotenv',
'aiohttp',
'google-api-python-client',
'google-auth',
'requests',
'graphene',
'aiogcd',
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'sample': ['package_data.dat'],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file.txt'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
) | {
"repo_name": "emillynge/pyangular",
"path": "setup.py",
"copies": "1",
"size": "3969",
"license": "apache-2.0",
"hash": -318625131425627650,
"line_mean": 33.224137931,
"line_max": 165,
"alpha_frac": 0.6681783825,
"autogenerated": false,
"ratio": 3.7728136882129277,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.49409920707129273,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See: https://packaging.python.org/en/latest/distributing.html
"""
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='opensextant',
version='1.3.3',
description='OpenSextant APIs and Utilities',
long_description=long_description,
# The project's main homepage.
url='https://github.com/OpenSextant/Xponents',
# Author details
author='Marc Ubaldino',
author_email='mubaldino@gmail.com',
# Choose your license
license='Apache Software License',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Text Processing',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Apache Software License',
# Python 3+ only. Python 2 support remains in ver 1.1.x
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
],
# What does your project relate to?
keywords='geography taxonomy tagging',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
package_data={'opensextant': ['./resources/geonames.org/*.txt', './resources/*.csv', './resources/*.cfg']},
install_requires=['pysolr>=3.9.0', 'chardet>=3.0.0', 'requests>=2.18', 'arrow>=1.1.0', 'PyGeodesy>=21.3.3']
)
| {
"repo_name": "OpenSextant/Xponents",
"path": "python/setup.py",
"copies": "1",
"size": "1868",
"license": "apache-2.0",
"hash": 498145200367115460,
"line_mean": 30.1333333333,
"line_max": 111,
"alpha_frac": 0.6386509636,
"autogenerated": false,
"ratio": 3.713717693836978,
"config_test": false,
"has_no_keywords": true,
"few_assignments": false,
"quality_score": 0.4852368657436978,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://github.com/briandailey/sample-s3-csv
"""
# 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, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='sample-s3',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.0.4',
description='Create a sample data set from a large CSV file on Amazon S3.',
long_description=long_description,
# The project's main homepage.
url='https://github.com/briandailey/sample-s3-csv',
# Author details
author='Brian Dailey',
author_email='brian@realm3.com',
maintainer='Brian Dailey',
maintainer_email='brian@realm3.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
],
# What does your project relate to?
keywords='aws s3 data csv',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['boto3', 'click'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
scripts=['bin/ss3'],
)
| {
"repo_name": "briandailey/sample-s3-csv",
"path": "setup.py",
"copies": "1",
"size": "2444",
"license": "mit",
"hash": 1016920848485846000,
"line_mean": 30.7402597403,
"line_max": 79,
"alpha_frac": 0.6698036007,
"autogenerated": false,
"ratio": 3.854889589905363,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5024693190605363,
"avg_score": null,
"num_lines": null
} |
# A setuptools based setup module.
# See:
# https://packaging.python.org/en/latest/distributing.html
# https://github.com/pypa/sampleproject
#codecov skip start
# 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, 'PYPI-README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='cinefiles',
version='1.1.1',
description='Organize your movie folder and files',
long_description=long_description,
# The project's main homepage.
url='https://github.com/hgibs/cinefiles',
# Author details
author='Holland Gibson',
author_email='cinefiles-hgibs@googlegroups.com',
# Choose your license
license='Apache 2.0',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: End Users/Desktop',
'Topic :: Desktop Environment :: File Managers',
'Topic :: Games/Entertainment',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Apache Software License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
# 'Programming Language :: Python :: 2',
# 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
# 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='movies organization folder',
packages=find_packages('src'),
# packages = [],
package_dir={'': 'src'},
# package_data={'': ['src/cinefiles/resources']},
include_package_data=True,
# entry_points = {'console_scripts':
# ['cinefiles=cinefiles.__main__:main_cfiles',
# 'cinefolders=cinefiles.__main__:main_cfolders'],},
install_requires=[ 'requests<3,>=2.4.3',
'youtube_dl>=2017.2.17',
'guessit<3,>=2.1.1',
'pycountry<18,>=17.0.0',
'google-api-python-client<2,>=1.6.2',
'lxml<4,>=3.7.3',
],
# $ pip install -e .[dev,test]
extras_require={
'dev': ['twine','wheel'],
'test': ['codecov','pytest','pytest-pep8','pytest-cov',
'pytest-console-scripts'],
},
)
#codecov skip end | {
"repo_name": "hgibs/cinefiles",
"path": "setup.py",
"copies": "1",
"size": "2969",
"license": "apache-2.0",
"hash": -24613906261999012,
"line_mean": 30.935483871,
"line_max": 77,
"alpha_frac": 0.590097676,
"autogenerated": false,
"ratio": 3.8458549222797926,
"config_test": true,
"has_no_keywords": true,
"few_assignments": false,
"quality_score": 0.49359525982797925,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from __future__ import absolute_import
import os
import sys
import re
# Always prefer setuptools over distutils
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
# To use a consistent encoding
from codecs import open
pj = os.path.join
dirname = os.path.dirname
abspath = os.path.abspath
# need to kill off link if we're in docker builds
if os.environ.get('PYTHON_BUILD_DOCKER', None) == 'true':
del os.link
def get_version(*path):
filename = pj(dirname(__file__), *path)
version_file = open(filename, encoding='utf-8').read()
version_match = re.search(r"^__VERSION__ = (['\"])([^'\"]*)\1",
version_file, re.M)
if version_match:
groups = version_match.groups()
if len(groups) > 1:
return version_match.group(2)
raise RuntimeError('Unable to find version string.')
version = get_version('tml', '__init__.py')
here = abspath(dirname(__file__))
# Get the long description from the relevant file
if sys.argv[-1] == 'publish':
try:
import wheel
except ImportError:
print('Wheel library missing. Please run "pip install wheel"')
sys.exit()
os.system('python setup.py sdist upload')
os.system('python setup.py bdist_wheel upload')
sys.exit()
if sys.argv[-1] == 'tag':
print("Tagging the version on github:")
os.system("git tag -f -a %s -m 'version %s'" % (version, version))
os.system("git push --tags --force")
sys.exit()
with open(pj(here, 'README.md'), encoding='utf-8') as f:
readme = f.read()
with open(pj(here, 'HISTORY.rst'), encoding='utf-8') as f:
history = f.read()
requirements = [
'requests==2.7.0',
'six==1.10.0',
'lxml==3.6.0'
]
setup(
name='tml',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=version,
description='Python SDK for tranlationexchange.com',
long_description=readme,
# The project's main homepage.
url='https://github.com/translationexchange/tml-python.git',
# Author details
author='Translation Exchange, Inc.',
author_email='r.kamun@gmail.com',
# Choose your license
license='MIT',
zip_safe=False,
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
# What does your project relate to?
keywords='tml tml-python translationexchange',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=('tests',)),
include_package_data=True,
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=requirements,
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[memcached,pylibmc] or
# tml django setup.py: install_requires = ["tml[memcached]"],
extras_require={
'memcached': ['python-memcached>=1.57'],
'pylibmc': ['pylibmc>=1.5.0'],
'redis': ['redis==2.10.5']
},
)
| {
"repo_name": "translationexchange/tml-python",
"path": "setup.py",
"copies": "1",
"size": "4568",
"license": "mit",
"hash": 5758743865901133000,
"line_mean": 31.8633093525,
"line_max": 79,
"alpha_frac": 0.6431698774,
"autogenerated": false,
"ratio": 3.838655462184874,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.997830997006231,
"avg_score": 0.0007030739045127533,
"num_lines": 139
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
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, 'readme.rst'), encoding='utf-8') as f:
long_description = f.read()
exec(open('src/pyvap/version.py').read())
setup(
name='pyvap',
version=__version__,
description='Kinetic model of particle evaporation',
long_description=long_description,
url='https://github.com/awbirdsall/pyvap',
author='Adam Birdsall',
author_email='abirdsall@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
keywords=['kinetics', 'chemistry', 'evaporation'],
package_dir = {'': 'src'},
packages=['pyvap'],
install_requires=['matplotlib>=1.5','numpy','scipy'],
package_data={},
include_package_data=False,
entry_points={
# entry point for command line interface would go here
# 'console_scripts': [
# 'pyccutof=pyccutof.command_line:command',
# ],
},
)
| {
"repo_name": "awbirdsall/pyvap",
"path": "setup.py",
"copies": "1",
"size": "1641",
"license": "mit",
"hash": -1276373689859236600,
"line_mean": 32.4897959184,
"line_max": 65,
"alpha_frac": 0.634369287,
"autogenerated": false,
"ratio": 3.704288939051919,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.4838658226051919,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
# with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
# long_description = f.read()
setup(
name='FancyLogger',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.1.0',
description='Fork of aubricus/print_progress.py originated from StackOverflow\'s Greenstick to allow using '
'multiple progress bars along with regular message logger.',
long_description='',
# The project's main homepage.
url='https://github.com/peepall/FancyLogger',
# Author details
author='peepall',
author_email='ms.acc.783@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: System :: Logging',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3'
],
# What does your project relate to?
keywords='logging progress bar debug logger info task multiprocess',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['dill'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
},
)
| {
"repo_name": "peepall/FancyLogger",
"path": "setup.py",
"copies": "1",
"size": "3579",
"license": "mit",
"hash": -4876769051286868000,
"line_mean": 34.4356435644,
"line_max": 112,
"alpha_frac": 0.6784017882,
"autogenerated": false,
"ratio": 4.090285714285714,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.00008761938140716726,
"num_lines": 101
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from setuptools.command.develop import develop
from setuptools.command.install import install
from setuptools.command.test import test as TestCommand
# To use a consistent encoding
from codecs import open
from os import path, system
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
class PostDevelopCommand(develop):
"""Post-installation for development mode."""
def run(self):
print("TODO: PostDevelopCommand")
develop.run(self)
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
print("TODO: PostInstallCommand")
install.run(self)
class Tox(TestCommand):
user_options = [('tox-args=', 'a', "Arguments to pass to tox")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.tox_args = None
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import tox
import shlex
args = self.tox_args
if args:
args = shlex.split(self.tox_args)
tox.cmdline(args=args)
setup(
name='ethnicolr',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.6.0',
description='Predict Race/Ethnicity Based on Sequence of Characters in the Name',
long_description=long_description,
# The project's main homepage.
url='https://github.com/appeler/ethnicolr',
# Author details
author='Suriyan Laohaprapanon, Gaurav Sood',
author_email='suriyant@gmail.com, gsood07@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
],
# What does your project relate to?
keywords='race ethnicity names',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['data', 'docs', 'tests', 'scripts']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'pandas',
'h5py',
'Keras==2.4.3',
'numpy==1.19.5',
'tensorflow==2.5.0'
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'ethnicolr': ['data/census/census_2000.csv',
'data/census/census_2010.csv',
'data/census/readme.md',
'data/census/*.pdf',
'data/census/*.R',
'data/wiki/*.*',
'models/*.ipynb',
'models/*.md',
'models/census/lstm/*.h5',
'models/census/lstm/*.csv',
'models/wiki/lstm/*.h5',
'models/wiki/lstm/*.csv',
'models/fl_voter_reg/lstm/*.h5',
'models/fl_voter_reg/lstm/*.csv',
'models/nc_voter_reg/lstm/*.h5',
'models/nc_voter_reg/lstm/*.csv',
'data/input*.csv',
'examples/*.ipynb'],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'ethnicolr' will be installed into '<sys.prefix>/ethnicolr'
#data_files=[('ethnicolr', ['ethnicolr/data/test.txt'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'census_ln=ethnicolr.census_ln:main',
'pred_census_ln=ethnicolr.pred_census_ln:main',
'pred_wiki_name=ethnicolr.pred_wiki_name:main',
'pred_wiki_ln=ethnicolr.pred_wiki_ln:main',
'pred_fl_reg_name=ethnicolr.pred_fl_reg_name:main',
'pred_fl_reg_ln=ethnicolr.pred_fl_reg_ln:main',
'pred_fl_reg_ln_five_cat=ethnicolr.pred_fl_reg_ln_five_cat:main',
'pred_fl_reg_name_five_cat=ethnicolr.pred_fl_reg_name_five_cat:main',
'pred_nc_reg_name=ethnicolr.pred_nc_reg_name:main',
],
},
cmdclass={
'develop': PostDevelopCommand,
'install': PostInstallCommand,
'test': Tox,
},
tests_require=['tox'],
)
| {
"repo_name": "suriyan/ethnicolr",
"path": "setup.py",
"copies": "1",
"size": "6746",
"license": "mit",
"hash": -4493489896486747600,
"line_mean": 35.2688172043,
"line_max": 94,
"alpha_frac": 0.6159205455,
"autogenerated": false,
"ratio": 3.8048505358150027,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.9912695271602867,
"avg_score": 0.001615161942427023,
"num_lines": 186
} |
""""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='idfpy',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1.dev1',
description='Read and write iMOD IDF files',
long_description=long_description,
# The project's main homepage.
# url='https://github.com/pypa/sampleproject',
# Author details
author='Tom van Steijn',
author_email='tom.van.steijn@rhdhv.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Topic :: Groundwater modelling :: Hydrology',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.6',
],
# What does your project relate to?
keywords='geohydrology modelling binary',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=['idfpy', ],
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['numpy', 'rasterio', 'click'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
# 'dev': ['check-manifest'],
# 'test': ['coverage'],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
# 'sample': ['package_data.dat'],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'idfstack=idfpy.cli:stack',
'idf2tif=idfpy.cli:idf2tif',
'idf2asc=idfpy.cli:idf2asc',
],
},
)
| {
"repo_name": "tomvansteijn/idfpy",
"path": "setup.py",
"copies": "1",
"size": "3775",
"license": "mit",
"hash": -6627397644609675000,
"line_mean": 33.9537037037,
"line_max": 94,
"alpha_frac": 0.6649006623,
"autogenerated": false,
"ratio": 3.9078674948240164,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5072768157124017,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='ipfn',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.4.1',
description='Iterative Proportional Fitting with N dimensions, for python',
long_description=long_description,
# The project's main homepage.
url='https://github.com/Dirguis/ipfn.git',
# Author details
author='Damien Forthommme',
author_email='damien2227@hotmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3'
],
# What does your project relate to?
keywords='iterative proportional fitting ipfp biproportional ras raking scaling',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['pandas', 'numpy'],
platforms=["Any"],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={},
)
| {
"repo_name": "Dirguis/ipfn",
"path": "setup.py",
"copies": "1",
"size": "3625",
"license": "mit",
"hash": 8128377216401868000,
"line_mean": 35.25,
"line_max": 94,
"alpha_frac": 0.6852413793,
"autogenerated": false,
"ratio": 4.041248606465998,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.00011627906976744185,
"num_lines": 100
} |
'''A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
'''
# Always prefer setuptools over distutils
from setuptools import setup
# 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 relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='ligament',
version='0.0.3.dev',
description='A grunt-like build system for python',
url='http://github.com/Adjective-Object/ligament',
author='Adjective-Object',
author_email='mhuan13@gmail.com',
license='Apache 2',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7'],
keywords='ligament grunt build automation',
install_requires=['watchdog>=0.8.3', 'colorama>=0.3.3'],
packages=['ligament', 'ligament_fs',
'ligament_precompiler_template'],
entry_points={
'console_scripts': [
'ligament=ligament:main']}
)
| {
"repo_name": "Adjective-Object/ligament",
"path": "setup.py",
"copies": "1",
"size": "1307",
"license": "apache-2.0",
"hash": 1524322730894435600,
"line_mean": 28.0444444444,
"line_max": 69,
"alpha_frac": 0.6648814078,
"autogenerated": false,
"ratio": 3.7449856733524354,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.4909867081152436,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup
# To use a consistent encoding
import codecs
import os
import sys
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, 'description.txt'), encoding='utf-8') as f:
long_description = f.read()
version_filename = os.path.join('pysat', 'version.txt')
with codecs.open(os.path.join(here, version_filename)) as version_file:
version = version_file.read().strip()
# packages to be installed
# starting with packages common across all setups
install_requires = ['requests', 'beautifulsoup4',
'lxml', 'netCDF4']
# packages with Fortran code
fortran_install = ['pysatCDF', 'madrigalWeb', 'h5py', 'PyForecastTools']
# python version specific support libraries
if sys.version_info.major == 2:
install_requires.extend(['xarray<0.12', 'pandas>=0.23, <0.25',
'numpy>=1.12, <1.17', 'scipy<1.3',
'matplotlib<3.0'])
else:
# python 3+
install_requires.extend(['xarray', 'pandas>=0.23, <0.25', 'numpy>=1.12',
'scipy', 'matplotlib'])
# flag, True if on readthedocs
on_rtd = os.environ.get('READTHEDOCS') == 'True'
# include Fortran for normal install
# read the docs doesn't do Fortran
if not on_rtd:
# not on ReadTheDocs, add Fortran
install_requires.extend(fortran_install)
setup(
name='pysat',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=version,
description='Supports science data analysis across measurement platforms',
long_description=long_description,
# The project's main homepage.
url='http://github.com/pysat/pysat',
# Author details
author='Russell Stoneback',
author_email='rstoneba@utdallas.edu',
package_data={'pysat': ['pysat/version*.txt']},
include_package_data=True,
# Choose your license
license='BSD',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Atmospheric Science',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: BSD License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
# What does your project relate to?
# keywords='sample setuptools development',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=['pysat', 'pysat.instruments', 'pysat.ssnl'],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=install_requires,
)
| {
"repo_name": "jklenzing/pysat",
"path": "setup.py",
"copies": "2",
"size": "3859",
"license": "bsd-3-clause",
"hash": -4240345762920673000,
"line_mean": 35.0654205607,
"line_max": 79,
"alpha_frac": 0.6602746826,
"autogenerated": false,
"ratio": 3.843625498007968,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5503900180607968,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
import re
import os
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
def get_requires(filename):
requirements = []
with open(filename, 'rt') as req_file:
for line in req_file.read().splitlines():
if not line.strip().startswith("#"):
requirements.append(line)
return requirements
def load_version():
"""Loads a file content"""
filename = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)),
"cpt", "__init__.py"))
with open(filename, "rt") as version_file:
conan_init = version_file.read()
version = re.search("__version__ = '([0-9a-z.-]+)'", conan_init).group(1)
return version
project_requirements = get_requires("cpt/requirements.txt")
setup(
name='conan_package_tools',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=load_version(),
description='Packaging tools for Conan C/C++ package manager',
# The project's main homepage.
url='https://github.com/conan-io/conan-package-tools',
# Author details
author='JFrog LTD',
author_email='info@conan.io',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
# What does your project relate to?
keywords=['conan', 'C/C++', 'package', 'libraries', 'developer', 'manager',
'dependency', 'tool', 'c', 'c++', 'cpp'],
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=project_requirements,
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'cpt': ['*.txt'],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'run_create_in_docker=cpt.run_in_docker:run',
],
},
)
| {
"repo_name": "conan-io/conan-package-tools",
"path": "setup.py",
"copies": "1",
"size": "3966",
"license": "mit",
"hash": -7437662378348127000,
"line_mean": 34.0973451327,
"line_max": 94,
"alpha_frac": 0.6490166415,
"autogenerated": false,
"ratio": 3.962037962037962,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.00020848458685713165,
"num_lines": 113
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from os import path
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
PROJECT = "machinetalk"
PROJECT_NAME = "%s-protobuf" % PROJECT
DESCRIPTION = "Protobuf Python modules for %s" % PROJECT
VERSION = "1.1.5"
AUTHOR = "Alexander Roessler"
AUTHOR_EMAIL = "alex@machinekoder.com"
PROJECT_URL = "https://github.com/machinekit/%s" % PROJECT_NAME
DOWNLOAD_URL = "https://github.com/machinekit/%s/archive/%s.tar.gz" % (
PROJECT_NAME,
VERSION,
)
KEYWORDS = "protobuf machinekit motion-control hal"
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.read()
setup(
name=PROJECT_NAME,
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
# The project's main homepage.
url=PROJECT_URL,
download_url=DOWNLOAD_URL,
# Author details
author=AUTHOR,
author_email=AUTHOR_EMAIL,
# Choose your license
license="MIT",
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 5 - Production/Stable",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development :: Object Brokering",
# Pick your license as you wish (should match "license" above)
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
# What does your project relate to?
keywords=KEYWORDS,
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(where="build/python", exclude=["contrib", "docs", "tests"]),
# Our packages live under src but src is not a package itself
package_dir={"": "build/python"},
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["corenlp_protobuf"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=["protobuf"],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={"dev": ["check-manifest"], "test": ["coverage"]},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={},
)
| {
"repo_name": "machinekit/machinetalk-protobuf",
"path": "setup.py",
"copies": "1",
"size": "4465",
"license": "mit",
"hash": -2394717914581000700,
"line_mean": 40.7289719626,
"line_max": 94,
"alpha_frac": 0.6804031355,
"autogenerated": false,
"ratio": 4.000896057347671,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.00010620220900594733,
"num_lines": 107
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import find_packages
from setuptools import setup
setup(
name='randrot',
use_scm_version=True,
description='A sample Python project',
long_description=open('README.md').read(),
url='https://github.com/qobilidop/randrot',
author='Bili Dong',
author_email='qobilidop@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research'
'Topic :: Scientific/Engineering :: Mathematics',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='random rotation matrix',
packages=find_packages(),
install_requires=['numpy'],
setup_requires=['pytest-runner', 'setuptools_scm'],
tests_require=['pytest']
)
| {
"repo_name": "qobilidop/randrot",
"path": "setup.py",
"copies": "1",
"size": "1243",
"license": "mit",
"hash": -2003195465668768300,
"line_mean": 25.4468085106,
"line_max": 57,
"alpha_frac": 0.6323411102,
"autogenerated": false,
"ratio": 4.04885993485342,
"config_test": false,
"has_no_keywords": true,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0,
"num_lines": 47
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
import sys
PACKAGE = "mq"
NAME = "pymq"
DESCRIPTION = "A python library to connect different Message Queues such as RabbitMQ, Kafka and so on."
AUTHOR = "Samuel Chen"
AUTHOR_EMAIL = "me@samuelchen.net"
URL = "https://github.com/samuelchen/pymq"
VERSION = __import__(PACKAGE).__version__
REQUIREMENTS = []
with open('requirements.txt', 'rt') as f:
for line in f.readlines():
REQUIREMENTS.append(line)
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
LONG_DESC = read_md('README.md')
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESC,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license="APACHE 2.0",
url=URL,
packages=find_packages(),
include_package_data=True,
exclude_package_data={
'': ['*.pyc'],
},
platforms='any',
# What does your project relate to?
keywords='python mq client rabbitmq kafka',
# Must check with "requirements.txt" while releasing.
# See;
# https://python-packaging-user-guide.readthedocs.org/en/latest/requirements/#install-requires-vs-requirements-files
install_requires=REQUIREMENTS,
classifiers=[
# How mature is this project? Common values are
# 2 - Pre-Alpha
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 2 - Pre-Alpha',
# Indicate who your project is intended for.
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Topic :: Software Development :: Library',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
# 'Programming Language :: Python :: 2.6',
# 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
"Operating System :: OS Independent",
"Programming Language :: Python",
],
zip_safe=False,
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'',
],
}
)
| {
"repo_name": "samuelchen/pymq",
"path": "setup.py",
"copies": "1",
"size": "3011",
"license": "apache-2.0",
"hash": -332336302814198140,
"line_mean": 30.0412371134,
"line_max": 120,
"alpha_frac": 0.64264364,
"autogenerated": false,
"ratio": 4.030789825970549,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.011012374988899645,
"num_lines": 97
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup
import codecs
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with codecs.open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='lyxexporter',
version='1.2.0',
description='Scans a directory for *.lyx files and makes sure they are '
+ 'exported to PDF',
long_description=long_description,
url='https://github.com/OrangeFoil/LyxExporter',
author='Marcus Legendre',
author_email='marcus.legendre@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Education',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'Operating System :: POSIX',
'Topic :: Text Processing :: Markup :: LaTeX',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='latex lyx pdf export',
packages=['lyxexporter'],
install_requires=[],
test_suite="tests",
entry_points={
'console_scripts': [
'lyxexporter=lyxexporter.cli:main',
],
},
)
| {
"repo_name": "OrangeFoil/LyxExporter",
"path": "setup.py",
"copies": "1",
"size": "1602",
"license": "mit",
"hash": -7827280785446291000,
"line_mean": 27.1052631579,
"line_max": 76,
"alpha_frac": 0.6198501873,
"autogenerated": false,
"ratio": 3.985074626865672,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5104924814165671,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst')) as f:
long_description = f.read()
setup(
name='ckip-segmenter',
version='1.0.2',
description='Ckip Segmenter',
long_description=long_description,
url='https://github.com/henryyang42/ckip-segmenter',
author='henryyang42',
author_email='henryyang42@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: Chinese (Traditional)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Text Processing',
'Topic :: Text Processing :: Indexing',
'Topic :: Text Processing :: Linguistic'
],
python_requires='>=3',
keywords='NLP,tokenizing,Chinese word segementation,part-of-speech tagging',
py_modules=["ckip"],
)
| {
"repo_name": "henryyang42/ckip-segmenter",
"path": "setup.py",
"copies": "1",
"size": "1450",
"license": "mit",
"hash": 9146004716013696000,
"line_mean": 31.2222222222,
"line_max": 80,
"alpha_frac": 0.64,
"autogenerated": false,
"ratio": 3.8666666666666667,
"config_test": false,
"has_no_keywords": true,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.0002743484224965706,
"num_lines": 45
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup
# 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 relevant file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='imagine-core', # pip install imagine
description='Image archive, core (models)',
#long_description=open('README.md', 'rt').read(),
long_description=long_description,
# version
# third part for minor release
# second when api changes
# first when it becomes stable someday
version='0.1.0',
author='Michiel Scholten',
author_email='michiel@diginaut.net',
url='https://github.com/aquatix/imagine-core',
license='Apache',
# as a practice no need to hard code version unless you know program wont
# work unless the specific versions are used
install_requires=['peewee'],
# Flask for web
py_modules=['imagine-core'],
zip_safe=True,
)
| {
"repo_name": "aquatix/imagine-gallery",
"path": "setup.py",
"copies": "1",
"size": "1160",
"license": "apache-2.0",
"hash": 76796621735021000,
"line_mean": 25.976744186,
"line_max": 77,
"alpha_frac": 0.6948275862,
"autogenerated": false,
"ratio": 3.647798742138365,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.4842626328338365,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import os
import re
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
def get_requires(filename):
"""
List all the requirements from the given file.
"""
requirements = []
if not os.path.exists(filename):
return requirements
with open(filename, 'rt') as req_file:
for line in req_file.read().splitlines():
if not line.strip().startswith('#'):
requirements.append(line)
return requirements
PROJECT_REQUIREMENTS = get_requires('requirements.txt')
DEV_REQUIREMENTS = get_requires('requirements-dev.txt')
def load_description():
"""
Read the contents of your README file
"""
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
return long_description
setup(
name='bld',
use_scm_version={'write_to': 'bldlib/_version.py'},
setup_requires=['setuptools-scm', 'setuptools>=40.0'],
description='Bld project build helper',
long_description=load_description(),
long_description_content_type='text/markdown',
# The project's main homepage.
url='https://github.com/osechet/bld',
# Author details
author='Olivier Sechet',
author_email='osechet@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3 :: Only',
],
# What does your project relate to?
keywords=['build', 'project', 'developer', 'tool'],
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['tests']),
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=PROJECT_REQUIREMENTS,
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': DEV_REQUIREMENTS,
'test': DEV_REQUIREMENTS,
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'bldlib': ['*.txt'],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'bld=bldlib.bld:main',
],
},
)
| {
"repo_name": "osechet/bld",
"path": "setup.py",
"copies": "1",
"size": "3924",
"license": "mit",
"hash": -707726967842424200,
"line_mean": 32.2542372881,
"line_max": 94,
"alpha_frac": 0.6544342508,
"autogenerated": false,
"ratio": 4.053719008264463,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0.00010462439840970913,
"num_lines": 118
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import re
# Always prefer setuptools over distutils
from setuptools import setup, find_packages, Command
# To use a consistent encoding
from codecs import open
from os import path, system
class CoverageCommand(Command):
description = "coverage report"
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
system('coverage run --source sofort setup.py test')
system('coverage html')
VERSIONFILE="sofort/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='sofort',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=verstr,
description='Sofort API',
long_description=long_description,
url='https://github.com/spreecode/python-sofort',
author='Leonid Suprun',
author_email='mr.slay@gmail.com',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Office/Business',
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7'
],
# What does your project relate to?
keywords='sofort',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'requests >= 2.9, < 3.0',
'lxml >= 3.5, < 4.0',
'xmltodict >= 0.9, < 1.0',
'schematics >= 1.1, < 2.0',
'iso8601 >= 0.1, < 1.0'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
# 'dev': ['check-manifest'],
'test': ['mock', 'coverage'],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
# package_data={
# 'sample': ['package_data.dat'],
# },
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
#entry_points={
# 'console_scripts': [
# 'sample=dpd:main',
# ],
#},
cmdclass={
'coverage': CoverageCommand
},
test_suite="tests",
)
| {
"repo_name": "spreecode/python-sofort",
"path": "setup.py",
"copies": "1",
"size": "4369",
"license": "mit",
"hash": -6489752072360731000,
"line_mean": 31.362962963,
"line_max": 94,
"alpha_frac": 0.6445410849,
"autogenerated": false,
"ratio": 3.7663793103448278,
"config_test": true,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.9903316579307678,
"avg_score": 0.001520763187429854,
"num_lines": 135
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# To use a consistent encoding
from codecs import open as codec_open
from os import path
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with codec_open(path.join(HERE, 'README.rst'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
setup(
name='wsdotroute',
version='2.0.0-beta.6',
description="Geoprocessing tools for locating along WA LRS",
long_description=LONG_DESCRIPTION,
url="https://github.com/WSDOT-GIS/wsdot-route-gp",
author='WSDOT',
author_email='WSDOTGISDevelopers@WSDOT.WA.GOV',
license="Unlicense",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: Public Domain",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities"
],
keywords="WA Washington WSDOT transportation department state linear referencing route",
packages=find_packages(),
package_data={'wsdotroute': ['esri/toolboxes/*', 'esri/help/gp/toolboxes/*']}
)
| {
"repo_name": "WSDOT-GIS/wsdot-route-gp",
"path": "setup.py",
"copies": "1",
"size": "1659",
"license": "unlicense",
"hash": 2291769151142170000,
"line_mean": 35.0652173913,
"line_max": 92,
"alpha_frac": 0.6678722122,
"autogenerated": false,
"ratio": 3.867132867132867,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5035005079332867,
"avg_score": null,
"num_lines": null
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# To use a consistent encoding
from codecs import open
from os import path
# Always prefer setuptools over distutils
from setuptools import find_packages, setup
from modis.tools import 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.read()
setup(
name='modis',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=version.VERSION,
description='A modular Discord bot',
long_description=long_description,
# The project's main homepage.
url='https://github.com/Infraxion/modis/',
# Author details
author='Infraxion and YtnomSnrub',
author_email='jalaunder@gmail.com',
# Choose your license
license='Apache',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Communications :: Chat',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Apache Software License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.6',
],
# What does your project relate to?
keywords='modis discord bot music',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
include_package_data=True,
packages=find_packages(exclude=["__pycache__"]),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'discord.py[voice]>=0.16.12,<1',
'youtube-dl>=2017.11.15',
'pynacl>=1.0.1',
'google-api-python-client>=1.6.4',
'requests>=2.18.4',
'lxml>=4.1.1',
'praw>=5.2.0',
'soundcloud>=0.5.0',
'spotipy>=2.4.4'
],
python_requires=">=3.6, <4",
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={},
)
| {
"repo_name": "Infraxion/modis",
"path": "setup.py",
"copies": "1",
"size": "3875",
"license": "apache-2.0",
"hash": -2913860401780676600,
"line_mean": 32.9912280702,
"line_max": 94,
"alpha_frac": 0.6655483871,
"autogenerated": false,
"ratio": 3.871128871128871,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 1,
"avg_score": 0,
"num_lines": 114
} |
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='ardoqpy',
version='0.6.2',
description='A small REST API wratter in python for Ardoq - https://ardoq.com.',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/jbaragry/ardoq-python-client',
author='Jason Baragry',
author_email='jason.baragry@gmail.com',
license='MIT',
packages=['ardoqpy'],
data_files=[('ardoqpy.cfg', ['ardoqpy/ardoqpy.cfg'])],
classifiers=[
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Documentation',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
],
keywords='architecture ardoq REST API wrapper tool',
install_requires=['cookiejar', 'configparser', 'requests'],
)
| {
"repo_name": "jbaragry/ardoq-python-client",
"path": "setup.py",
"copies": "1",
"size": "1821",
"license": "mit",
"hash": -2185478041978193000,
"line_mean": 34.7058823529,
"line_max": 84,
"alpha_frac": 0.6441515651,
"autogenerated": false,
"ratio": 3.958695652173913,
"config_test": false,
"has_no_keywords": false,
"few_assignments": false,
"quality_score": 0.5102847217273913,
"avg_score": null,
"num_lines": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.