commit
stringlengths 40
40
| subject
stringlengths 4
1.73k
| repos
stringlengths 5
127k
| old_file
stringlengths 2
751
| new_file
stringlengths 2
751
| new_contents
stringlengths 1
8.98k
| old_contents
stringlengths 0
6.59k
| license
stringclasses 13
values | lang
stringclasses 23
values |
---|---|---|---|---|---|---|---|---|
5f0a1afdf1317da3b101171e6935be3b891a8a73
|
Add more detailed metadata to setup.py
|
BHSPitMonkey/vmflib
|
setup.py
|
setup.py
|
#! /usr/bin/env python3
from setuptools import setup, find_packages
setup(
name = "vmflib",
version = "0.1",
packages = find_packages(),
scripts = ['tools/buildbsp.py'],
entry_points = {
'console_scripts': [
'buildbsp = buildbsp:main'
]
},
# metadata for upload to PyPI
author = "Stephen Eisenhauer",
author_email = "[email protected]",
description = "A package for creating Valve Map Format (VMF) files for the Source engine",
license = "BSD",
keywords = "vmf valve map format source engine",
url = "http://github.com/BHSPitMonkey/vmflib",
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Games/Entertainment",
],
long_description = """\
Tools for creating Valve Map Format (VMF) files
-----------------------------------------------
vmflib is a python module to help developers create maps for VMF-compatible
video games procedurally using Python. The VMF format is best known for its
use in the Source Engine and its many games.
Also included is a script (buildbsp) to help automate the process of compiling
and installing VMF maps into ready-to-use BSP files.
This package requires Python 3 or later.
"""
)
|
from setuptools import setup, find_packages
setup(
name = "vmflib",
version = "0.1",
packages = find_packages(),
scripts = ['tools/buildbsp.py'],
entry_points = {
'console_scripts': [
'buildbsp = buildbsp:main'
]
},
# metadata for upload to PyPI
author = "Stephen Eisenhauer",
author_email = "[email protected]",
description = "A package for creating Valve Map Format (VMF) files for the Source engine",
license = "BSD",
keywords = "vmf valve map format source engine",
url = "http://github.com/BHSPitMonkey/vmflib",
# could also include long_description, download_url, classifiers, etc.
)
|
bsd-2-clause
|
Python
|
35fd4836b0d823dbceea8694c9f7a23c4dc40f20
|
update the realease
|
LabD/wagtail-personalisation,LabD/wagtail-personalisation,LabD/wagtail-personalisation
|
setup.py
|
setup.py
|
import re
from setuptools import find_packages, setup
install_requires = [
'wagtail>=1.9,<1.11',
'user-agents>=1.0.1',
'wagtailfontawesome>=1.0.6',
]
tests_require = [
'factory_boy==2.8.1',
'flake8',
'flake8-blind-except',
'flake8-debugger',
'flake8-imports',
'freezegun==0.3.8',
'pytest-cov==2.4.0',
'pytest-django==3.1.2',
'pytest-sugar==0.7.1',
'pytest-mock==1.6.3',
'pytest==3.1.0',
'wagtail_factories==0.3.0',
]
docs_require = [
'sphinx>=1.4.0',
]
with open('README.rst') as fh:
long_description = re.sub(
'^.. start-no-pypi.*^.. end-no-pypi', '', fh.read(), flags=re.M | re.S)
setup(
name='wagtail-personalisation',
version='0.10.0beta1',
description='A Wagtail add-on for showing personalized content',
author='Lab Digital BV',
author_email='[email protected]',
url='http://labdigital.nl',
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'docs': docs_require,
'test': tests_require,
},
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
license='MIT',
long_description=long_description,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'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',
'Framework :: Django',
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
'Topic :: Internet :: WWW/HTTP :: Site Management',
],
)
|
import re
from setuptools import find_packages, setup
install_requires = [
'wagtail>=1.9,<1.11',
'user-agents>=1.0.1',
'wagtailfontawesome>=1.0.6',
]
tests_require = [
'factory_boy==2.8.1',
'flake8',
'flake8-blind-except',
'flake8-debugger',
'flake8-imports',
'freezegun==0.3.8',
'pytest-cov==2.4.0',
'pytest-django==3.1.2',
'pytest-sugar==0.7.1',
'pytest-mock==1.6.3',
'pytest==3.1.0',
'wagtail_factories==0.3.0',
]
docs_require = [
'sphinx>=1.4.0',
]
with open('README.rst') as fh:
long_description = re.sub(
'^.. start-no-pypi.*^.. end-no-pypi', '', fh.read(), flags=re.M | re.S)
setup(
name='wagtail-personalisation',
version='0.9.1',
description='A Wagtail add-on for showing personalized content',
author='Lab Digital BV',
author_email='[email protected]',
url='http://labdigital.nl',
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'docs': docs_require,
'test': tests_require,
},
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
license='MIT',
long_description=long_description,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'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',
'Framework :: Django',
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
'Topic :: Internet :: WWW/HTTP :: Site Management',
],
)
|
mit
|
Python
|
4ca207458b1007fbef11d62f63af9fdf8f91a19b
|
Fix req parsing
|
CodersOfTheNight/oshino-admin
|
setup.py
|
setup.py
|
#!/usr/bin/python
# -*- coding: UTF-8 -*-
from setuptools import setup
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
from oshino_admin.version import get_version
install_reqs = list(parse_requirements("requirements/release.txt", session={}))
test_reqs = list(parse_requirements("requirements/test.txt", session={}))
setup(name="oshino-admin",
version=get_version(),
description="",
author="zaibacu",
author_email="[email protected]",
packages=["oshino_admin"],
install_requires=[str(ir.req) for ir in install_reqs],
test_suite="pytest",
tests_require=[str(tr.req) for tr in test_reqs],
setup_requires=["pytest-runner"],
entry_points={'console_scripts': ['oshino-admin = oshino_admin.run:main'
]
}
)
|
#!/usr/bin/python
# -*- coding: UTF-8 -*-
from setuptools import setup
from pip.req import parse_requirements
from oshino_admin.version import get_version
install_reqs = list(parse_requirements("requirements/release.txt", session={}))
test_reqs = list(parse_requirements("requirements/test.txt", session={}))
setup(name="oshino-admin",
version=get_version(),
description="",
author="zaibacu",
author_email="[email protected]",
packages=["oshino_admin"],
install_requires=[str(ir.req) for ir in install_reqs],
test_suite="pytest",
tests_require=[str(tr.req) for tr in test_reqs],
setup_requires=["pytest-runner"],
entry_points={'console_scripts': ['oshino-admin = oshino_admin.run:main'
]
}
)
|
mit
|
Python
|
59091a8c2bb76860d52eac5214166eb57ec013a7
|
change project, package name to all lowercase letters
|
jesford/cluster-lensing
|
setup.py
|
setup.py
|
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
DESCRIPTION = "Galaxy Cluster and Weak Lensing Tools"
LONG_DESCRIPTION = """
clusterlensing: galaxy cluster halo calculations
======================================================
This package includes tools for calculating a variety of galaxy cluster properties, as well as mass-richness and mass-concentration scaling relations, and weak lensing profiles. These include surface mass density (Sigma) and differential surface mass density (DeltaSigma) for NFW halos, both with and without the effects of cluster miscentering.
For more information, visit http://clusterlensing.readthedocs.org/
"""
NAME = "clusterlensing"
AUTHOR = "Jes Ford"
AUTHOR_EMAIL = "[email protected]"
MAINTAINER = "Jes Ford"
MAINTAINER_EMAIL = "[email protected]"
URL = 'http://github.com/jesford/clusterlensing'
DOWNLOAD_URL = 'http://github.com/jesford/clusterlensing'
LICENSE = 'MIT'
VERSION = '0.1.0'
setup(name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
url=URL,
download_url=DOWNLOAD_URL,
license=LICENSE,
packages=['clusterlensing'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2.7'
],
install_requires=[
"numpy",
"scipy",
"pandas",
"astropy"
]
)
|
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
DESCRIPTION = "Galaxy Cluster Properties and Weak Lensing Profiles"
LONG_DESCRIPTION = """
cluster-lensing: galaxy cluster halo calculations
======================================================
This package includes tools for calculating a variety of galaxy cluster properties, as well as mass-richness and mass-concentration scaling relations, and weak lensing profiles. These include surface mass density (Sigma) and differential surface mass density (DeltaSigma) for NFW halos, both with and without the effects of cluster miscentering.
For more information, visit http://github.com/jesford/cluster-lensing
"""
NAME = "cluster-lensing"
AUTHOR = "Jes Ford"
AUTHOR_EMAIL = "[email protected]"
MAINTAINER = "Jes Ford"
MAINTAINER_EMAIL = "[email protected]"
URL = 'http://github.com/jesford/cluster-lensing'
DOWNLOAD_URL = 'http://github.com/jesford/cluster-lensing'
LICENSE = 'MIT'
VERSION = '0.0.1'
setup(name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
url=URL,
download_url=DOWNLOAD_URL,
license=LICENSE,
packages=['cluster-lensing'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
)
|
mit
|
Python
|
1f9c491ccf8411eb68c4992cf9f50b2b852e8cb1
|
Bump version to pre-release
|
OrganicIrradiation/scholarly
|
setup.py
|
setup.py
|
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='scholarly',
version='1.5.0-alpha',
author='Steven A. Cholewiak, Panos Ipeirotis, Victor Silva, Arun Kannawadi',
author_email='[email protected], [email protected], [email protected], [email protected]',
description='Simple access to Google Scholar authors and citations',
long_description=long_description,
long_description_content_type="text/markdown",
license='Unlicense',
url='https://github.com/scholarly-python-package/scholarly',
packages=setuptools.find_packages(),
keywords=['Google Scholar', 'academics', 'citations'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules'],
install_requires=['arrow',
'beautifulsoup4',
'bibtexparser',
'requests[security]',
'requests[socks]',
'stem',
'fake_useragent',
'PySocks',
'selenium',
'python-dotenv',
'free-proxy',
'sphinx_rtd_theme',
'typing_extensions'
],
test_suite="test_module.py"
)
|
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='scholarly',
version='1.4.5',
author='Steven A. Cholewiak, Panos Ipeirotis, Victor Silva, Arun Kannawadi',
author_email='[email protected], [email protected], [email protected], [email protected]',
description='Simple access to Google Scholar authors and citations',
long_description=long_description,
long_description_content_type="text/markdown",
license='Unlicense',
url='https://github.com/scholarly-python-package/scholarly',
packages=setuptools.find_packages(),
keywords=['Google Scholar', 'academics', 'citations'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules'],
install_requires=['arrow',
'beautifulsoup4',
'bibtexparser',
'requests[security]',
'requests[socks]',
'stem',
'fake_useragent',
'PySocks',
'selenium',
'python-dotenv',
'free-proxy',
'sphinx_rtd_theme',
'typing_extensions'
],
test_suite="test_module.py"
)
|
unlicense
|
Python
|
c0bbad726a92bbda75d4de6ba73ce49c97a5fba8
|
Bump version to 1.1
|
ox-it/requests-negotiate
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name='requests-negotiate',
version='1.1',
license='BSD',
packages=['requests_negotiate'],
classifiers=['License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content'],
install_requires=['requests', 'python-gssapi'],
)
|
from distutils.core import setup
setup(
name='requests-negotiate',
version='1.0',
license='BSD',
packages=['requests_negotiate'],
classifiers=['License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content'],
install_requires=['requests', 'python-gssapi'],
)
|
bsd-3-clause
|
Python
|
68e7ba3db32e1a8632cd317206769e5b5e96c9a8
|
Bump version
|
thibault/django-zipview
|
setup.py
|
setup.py
|
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-zipview',
version='1.0.0',
packages=['zipview'],
include_package_data=True,
license='MIT License', # example license
description='A simple Django base view to zip and stream several files.',
long_description=README,
url='https://github.com/thibault/django-zipview/',
author='Thibault Jouannic',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
|
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-zipview',
version='0.1',
packages=['zipview'],
include_package_data=True,
license='MIT License', # example license
description='A simple Django base view to zip and stream several files.',
long_description=README,
url='https://github.com/thibault/django-zipview/',
author='Thibault Jouannic',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
|
mit
|
Python
|
39a3eb69dd98518093ac84025eb6d037aceb0d10
|
Fix setup.py, and bump version
|
Tehnix/cred-client
|
setup.py
|
setup.py
|
""" Setup file for the cred-client package. """
from setuptools import setup
import sys
# The package only works with python >=3.0
if sys.version_info < (3,):
print("I'm only for 3, please upgrade")
sys.exit(1)
version = '0.2.5'
setup(
name='cred-client',
version=version,
author='Tehnix',
author_email='[email protected]',
packages=['cred'],
include_package_data=True,
scripts=[],
url='https://github.com/Tehnix/cred-client',
download_url='https://github.com/Tehnix/cred-client/tarball/v{0}'.format(version),
license='BSD',
description='Client Library for cred-server.',
# long_description=open('README.md').read(),
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Home Automation',
],
install_requires=[],
#test_suite='nose.collector',
)
|
""" Setup file for the cred-client package. """
from setuptools import setup
import sys
# The package only works with python >=3.0
if sys.version_info < (3,):
print("I'm only for 3, please upgrade")
sys.exit(1)
version = '0.2.4'
setup(
name='cred-client',
version=version,
author='Tehnix',
author_email='[email protected]',
packages=[
'cred',
'cred.client'
],
scripts=[],
url='https://github.com/Tehnix/cred-client',
download_url='https://github.com/Tehnix/cred-client/tarball/v{0}'.format(version),
license='BSD',
description='Client Library for cred-server.',
# long_description=open('README.md').read(),
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Home Automation',
],
install_requires=[],
#test_suite='nose.collector',
)
|
bsd-3-clause
|
Python
|
f5082476aa8c25bcdea6fe1f96e0f1184195d875
|
update setup.py
|
WMD-group/SMACT
|
setup.py
|
setup.py
|
#!/usr/bin/env python
__author__ = "Daniel W. Davies"
__copyright__ = "Copyright Daniel W. Davies, Adam J. Jackson, Keith T. Butler (2019)"
__version__ = "2.3.4"
__maintainer__ = "Anthony O. Onwuli"
__email__ = "[email protected]"
__date__ = "July 7 2022"
from setuptools import setup, Extension
import os
import unittest
module_dir = os.path.dirname(os.path.abspath(__file__))
if __name__ == "__main__":
setup(
name="SMACT",
version="2.3.3",
description="Semiconducting Materials by Analogy and Chemical Theory",
long_description=open(os.path.join(module_dir, "README.md")).read(),
long_description_content_type="text/markdown",
url="https://github.com/WMD-group/SMACT",
author="Daniel W. Davies",
author_email="[email protected]",
maintainer="Anthony O. Onwuli",
maintainer_email="[email protected]",
license="MIT",
packages=["smact", "smact.tests", "smact.structure_prediction"],
package_data={
"smact": [
"data/*.txt",
"data/*.csv",
"data/*.data",
"data/*.xlsx",
"data/*.json",
]
},
zip_safe=False,
test_suite="smact.tests.test",
install_requires=[
"scipy",
"numpy",
"spglib",
"pymatgen",
"ase",
"pandas",
"pathos",
],
classifiers=[
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
],
)
|
#!/usr/bin/env python
__author__ = "Daniel W. Davies"
__copyright__ = "Copyright Daniel W. Davies, Adam J. Jackson, Keith T. Butler (2019)"
__version__ = "2.3.2"
__maintainer__ = "Anthony O. Onwuli"
__email__ = "[email protected]"
__date__ = "Nov 4 2021"
from setuptools import setup, Extension
import os
import unittest
module_dir = os.path.dirname(os.path.abspath(__file__))
if __name__ == "__main__":
setup(
name="SMACT",
version="2.3.2",
description="Semiconducting Materials by Analogy and Chemical Theory",
long_description=open(os.path.join(module_dir, "README.md")).read(),
long_description_content_type="text/markdown",
url="https://github.com/WMD-group/SMACT",
author="Daniel W. Davies",
author_email="[email protected]",
maintainer="Anthony O. Onwuli",
maintainer_email="[email protected]",
license="MIT",
packages=["smact", "smact.tests", "smact.structure_prediction"],
package_data={
"smact": [
"data/*.txt",
"data/*.csv",
"data/*.data",
"data/*.xlsx",
"data/*.json",
]
},
zip_safe=False,
test_suite="smact.tests.test",
install_requires=[
"scipy",
"numpy",
"spglib",
"pymatgen",
"ase",
"pandas",
"pathos",
],
classifiers=[
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
],
)
|
mit
|
Python
|
6dfe9f2ef3072ee52bcfa12eaf4cf4d6127af846
|
Revert back to simple installation.
|
e2crawfo/dps,e2crawfo/dps
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='dps',
author="Eric Crawford",
author_email="[email protected]",
version='0.1',
packages=find_packages(),
entry_points={
'console_scripts': ['dps-hyper=dps.hyper.command_line:dps_hyper_cl',
'dps-run=dps.run:run',
'readme=dps.utils.base:view_readme_cl',
'tf-inspect=dps.utils.tf:tf_inspect_cl',
'git-summary=dps.utils.base:git_summary_cl',
'report-to-videos=dps.utils.html_report:report_to_videos_cl']
}
)
|
from setuptools import setup, find_packages
import os
import subprocess
from setuptools.command.install import install as install_command
from setuptools.command.develop import develop as develop_command
from setuptools.command.egg_info import egg_info as egg_info_command
try: # for pip >= 10
from pip._internal.req import parse_requirements
from pip._internal.download import PipSession
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
from pip.download import PipSession
links = []
requires = []
try:
requirements = list(parse_requirements('requirements.txt'))
except Exception:
# new versions of pip requires a session
requirements = list(parse_requirements('requirements.txt', session=PipSession()))
to_manually_install = []
for item in requirements:
# we want to handle package names and also repo urls
link = None
if getattr(item, 'url', None): # older pip has url
link = str(item.url)
elif getattr(item, 'link', None): # newer pip has link
link = str(item.link)
if link is not None and item.editable:
to_manually_install.append(link)
continue
if link is not None:
links.append(link)
if item.req:
requires.append(str(item.req))
def manual_install():
global to_manually_install
for link in to_manually_install:
print("Manually installing editable url: {}".format(link))
command = 'pip install -v -e {}'.format(link)
subprocess.run(command.split())
class InstallCommand(install_command):
def run(self):
manual_install()
super().run()
class DevelopCommand(develop_command):
def run(self):
manual_install()
super().run()
class EggInfoCommand(egg_info_command):
def run(self):
manual_install()
super().run()
setup(
name='dps',
author="Eric Crawford",
author_email="[email protected]",
version='0.1',
packages=find_packages(),
setup_requires=['numpy>=1.7'],
install_requires=requires,
dependency_links=links,
cmdclass={'install': InstallCommand, 'develop': DevelopCommand, 'egg_info': EggInfoCommand},
entry_points={
'console_scripts': ['dps-hyper=dps.hyper.command_line:dps_hyper_cl',
'dps-run=dps.run:run',
'readme=dps.utils.base:view_readme_cl',
'tf-inspect=dps.utils.tf:tf_inspect_cl',
'git-summary=dps.utils.base:git_summary_cl',
'report-to-videos=dps.utils.html_report:report_to_videos_cl']
}
)
|
apache-2.0
|
Python
|
82cda10d145faa1ef13c22cdbd6e1c586a6dfdf9
|
remove debug print and update dependencies
|
bwesterb/tkbd
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# vim: et:sta:bs=2:sw=4:
from setuptools import setup, find_packages, findall
from get_git_version import get_git_version
import os, os.path
def find_package_data():
base = os.path.join(os.path.dirname(__file__), 'src')
s, r = ['.'], []
while s:
p = s.pop()
for c in os.listdir(os.path.join(base, p)):
if os.path.isdir(os.path.join(base, p, c)):
s.append(os.path.join(p, c))
elif c.endswith('.mirte'):
r.append(os.path.join(p, c))
return r
setup(name='tkbd',
version=get_git_version(),
description='Terminal Kamer Bezetting Daemon voor de faculteit NWI '+
'van de Radboud Universiteit',
author='Bas Westerbaan',
author_email='[email protected]',
url='http://github.com/bwesterb/tkbd',
packages=['tkbd'],
zip_safe=False,
package_dir={'tkbd': 'src'},
package_data={'tkbd': find_package_data()},
install_requires = [
'docutils>=0.3',
'mirte>=0.1.0a3',
'sarah>=0.1.2',
'msgpack-python>=0.1.10',
'joyce>=0.1.2'],
)
|
#!/usr/bin/env python
# vim: et:sta:bs=2:sw=4:
from setuptools import setup, find_packages, findall
from get_git_version import get_git_version
import os, os.path
def find_package_data():
base = os.path.join(os.path.dirname(__file__), 'src')
s, r = ['.'], []
while s:
p = s.pop()
for c in os.listdir(os.path.join(base, p)):
if os.path.isdir(os.path.join(base, p, c)):
s.append(os.path.join(p, c))
elif c.endswith('.mirte'):
r.append(os.path.join(p, c))
print r
return r
setup(name='tkbd',
version=get_git_version(),
description='Terminal Kamer Bezetting Daemon voor de faculteit NWI '+
'van de Radboud Universiteit',
author='Bas Westerbaan',
author_email='[email protected]',
url='http://github.com/bwesterb/tkbd',
packages=['tkbd'],
zip_safe=False,
package_dir={'tkbd': 'src'},
package_data={'tkbd': find_package_data()},
install_requires = [
'docutils>=0.3',
'mirte>=0.1.0a3',
'sarah>=0.1.1',
'msgpack-python>=0.1.10',
'joyce>=0.1.1'],
)
|
agpl-3.0
|
Python
|
b0ebc89420a9a1f3d49369fb1ce50f102a2d2495
|
Move repository from @edoburu to @django-parler team
|
edoburu/django-categories-i18n,edoburu/django-categories-i18n
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
from os import path
import codecs
import os
import re
import sys
def read(*parts):
file_path = path.join(path.dirname(__file__), *parts)
return codecs.open(file_path, encoding='utf-8').read()
def find_version(*parts):
version_file = read(*parts)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
if version_match:
return str(version_match.group(1))
raise RuntimeError("Unable to find version string.")
setup(
name='django-categories-i18n',
version=find_version('categories_i18n', '__init__.py'),
license='Apache 2.0',
install_requires=[
'django-mptt>=0.5.5',
'django-parler>=1.4',
],
requires=[
'Django (>=1.5)',
],
description='Translatable Categories model',
long_description=read('README.rst'),
author='Diederik van der Boor',
author_email='[email protected]',
url='https://github.com/django-parler/django-categories-i18n',
download_url='https://github.com/django-parler/django-categories-i18n/zipball/master',
packages=find_packages(exclude=('example*',)),
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Framework :: Django',
'Framework :: Django :: 1.6',
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
from os import path
import codecs
import os
import re
import sys
def read(*parts):
file_path = path.join(path.dirname(__file__), *parts)
return codecs.open(file_path, encoding='utf-8').read()
def find_version(*parts):
version_file = read(*parts)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
if version_match:
return str(version_match.group(1))
raise RuntimeError("Unable to find version string.")
setup(
name='django-categories-i18n',
version=find_version('categories_i18n', '__init__.py'),
license='Apache 2.0',
install_requires=[
'django-mptt>=0.5.5',
'django-parler>=1.4',
],
requires=[
'Django (>=1.5)',
],
description='Translatable Categories model',
long_description=read('README.rst'),
author='Diederik van der Boor',
author_email='[email protected]',
url='https://github.com/edoburu/django-categories-i18n',
download_url='https://github.com/edoburu/django-categories-i18n/zipball/master',
packages=find_packages(exclude=('example*',)),
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Framework :: Django',
'Framework :: Django :: 1.6',
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
apache-2.0
|
Python
|
2e62f1dff218f4357bee0ad2a6e9a0e5e956ad55
|
fix twine check warnings (#23)
|
Arello-Mobile/sphinx-confluence,Arello-Mobile/sphinx-confluence
|
setup.py
|
setup.py
|
import os
from setuptools import setup
long_description = open('README.rst' if os.path.exists('README.rst') else 'README.md').read()
setup(
name='sphinx-confluence',
description='Atlassian Confluence extension for sphinx',
long_description_content_type='text/markdown',
long_description=long_description,
version='0.0.4',
author='Arello Mobile',
url='https://github.com/Arello-Mobile/sphinx-confluence',
packages=['sphinx_confluence'],
include_package_data=True,
license='MIT',
install_requires=open('requirements.txt').read(),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
|
import os
from setuptools import setup
long_description = open('README.rst' if os.path.exists('README.rst') else 'README.md').read()
setup(
name='sphinx-confluence',
description='Atlassian Confluence extension for sphinx',
long_description=long_description,
version='0.0.4',
author='Arello Mobile',
url='https://github.com/Arello-Mobile/sphinx-confluence',
packages=['sphinx_confluence'],
include_package_data=True,
license='MIT',
install_requires=open('requirements.txt').read(),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
|
mit
|
Python
|
cc33a5ebed8132c1fa87fa83710693e6130bc12e
|
remove extra = in setup.py
|
fugue/credstash,fugue/credstash,stephen-164/credstash,3stack-software/credsmash
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='credstash',
version='1.5',
description='A utility for managing secrets in the cloud using AWS KMS and DynamoDB',
license='Apache2',
url='https://github.com/LuminalOSS/credstash',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
],
install_requires=['boto>=2.38.0', 'pycrypto>=2.6.1', 'boto3>=1.1.1'],
extras_require = {'YAML': ['PyYAML>=3.10']},
scripts=['credstash.py'],
py_modules=['credstash'],
entry_points={
'console_scripts': [
'credstash = credstash:main'
]
}
)
|
from setuptools import setup, find_packages
setup(
name='credstash',
version='1.5',
description='A utility for managing secrets in the cloud using AWS KMS and DynamoDB',
license='Apache2',
url='https://github.com/LuminalOSS/credstash',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
],
install_requires=['boto>=2.38.0', 'pycrypto>=2.6.1', 'boto3>==1.1.1'],
extras_require = {'YAML': ['PyYAML>=3.10']},
scripts=['credstash.py'],
py_modules=['credstash'],
entry_points={
'console_scripts': [
'credstash = credstash:main'
]
}
)
|
apache-2.0
|
Python
|
06db8ec819fe8f2dffc6b7c93e9a72fcb24b188c
|
Add oscar 0.8 as a valid version
|
django-oscar/django-oscar-adyen,oscaro/django-oscar-adyen
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
# dirty hack to allow running sdist in a vbox
# source: Leonardo.Z's answer on this StackOverflow thread:
# http://stackoverflow.com/questions/7719380/python-setup-py-sdist-error-operation-not-permitted
import os
if os.environ.get('USER', '') == 'vagrant':
del os.link
# /dirty hack
setup(
name='django-oscar-adyen',
version='0.1.3',
url='https://github.com/oscaro/django-oscar-adyen',
author='Mathieu Richardoz',
author_email='[email protected]',
description='Adyen payment module for django-oscar',
long_description=open('README.rst').read(),
keywords='payment, django, oscar, adyen',
license='BSD',
packages=find_packages(),
include_package_data=True,
install_requires=[
'bleach==1.4',
'django-oscar>=0.7,<0.9',
'freezegun==0.1.18',
'requests>=2.0,<3.0',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
from setuptools import setup, find_packages
# dirty hack to allow running sdist in a vbox
# source: Leonardo.Z's answer on this StackOverflow thread:
# http://stackoverflow.com/questions/7719380/python-setup-py-sdist-error-operation-not-permitted
import os
if os.environ.get('USER', '') == 'vagrant':
del os.link
# /dirty hack
setup(
name='django-oscar-adyen',
version='0.1.2',
url='https://github.com/oscaro/django-oscar-adyen',
author='Mathieu Richardoz',
author_email='[email protected]',
description='Adyen payment module for django-oscar',
long_description=open('README.rst').read(),
keywords='payment, django, oscar, adyen',
license='BSD',
packages=find_packages(),
include_package_data=True,
install_requires=[
'bleach==1.4',
'django-oscar>=0.7,<0.8',
'freezegun==0.1.18',
'requests>=2.0,<3.0',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Office/Business :: Financial :: Point-Of-Sale',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
bsd-3-clause
|
Python
|
31f08ace2e2ea8266fc17350b2e3dbd832517515
|
Upgrade to prompt_toolkit==0.42.
|
dbcli/pgcli,n-someya/pgcli,janusnic/pgcli,koljonen/pgcli,bitemyapp/pgcli,w4ngyi/pgcli,johshoff/pgcli,suzukaze/pgcli,w4ngyi/pgcli,d33tah/pgcli,yx91490/pgcli,suzukaze/pgcli,TamasNo1/pgcli,dbcli/vcli,thedrow/pgcli,dbcli/pgcli,MattOates/pgcli,TamasNo1/pgcli,koljonen/pgcli,zhiyuanshi/pgcli,yx91490/pgcli,j-bennet/pgcli,darikg/pgcli,bitmonk/pgcli,nosun/pgcli,nosun/pgcli,darikg/pgcli,johshoff/pgcli,dbcli/vcli,joewalnes/pgcli,joewalnes/pgcli,n-someya/pgcli,bitmonk/pgcli,lk1ngaa7/pgcli,bitemyapp/pgcli,j-bennet/pgcli,zhiyuanshi/pgcli,thedrow/pgcli,d33tah/pgcli,lk1ngaa7/pgcli,janusnic/pgcli,MattOates/pgcli
|
setup.py
|
setup.py
|
import re
import ast
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('pgcli/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
description = 'CLI for Postgres Database. With auto-completion and syntax highlighting.'
setup(
name='pgcli',
author='Amjith Ramanujam',
author_email='amjith[dot]r[at]gmail.com',
version=version,
license='LICENSE.txt',
url='http://pgcli.com',
packages=find_packages(),
package_data={'pgcli': ['pgclirc']},
description=description,
long_description=open('README.rst').read(),
install_requires=[
'click >= 3.2',
'Pygments >= 2.0', # Pygments has to be Capitalcased. WTF?
'prompt_toolkit==0.42',
'psycopg2 >= 2.5.4',
'sqlparse == 0.1.14',
'configobj >= 5.0.6'
],
entry_points='''
[console_scripts]
pgcli=pgcli.main:cli
''',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: Unix',
'Programming Language :: Python',
'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 :: SQL',
'Topic :: Database',
'Topic :: Database :: Front-Ends',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
import re
import ast
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('pgcli/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
description = 'CLI for Postgres Database. With auto-completion and syntax highlighting.'
setup(
name='pgcli',
author='Amjith Ramanujam',
author_email='amjith[dot]r[at]gmail.com',
version=version,
license='LICENSE.txt',
url='http://pgcli.com',
packages=find_packages(),
package_data={'pgcli': ['pgclirc']},
description=description,
long_description=open('README.rst').read(),
install_requires=[
'click >= 3.2',
'Pygments >= 2.0', # Pygments has to be Capitalcased. WTF?
'prompt_toolkit==0.40',
'psycopg2 >= 2.5.4',
'sqlparse == 0.1.14',
'configobj >= 5.0.6'
],
entry_points='''
[console_scripts]
pgcli=pgcli.main:cli
''',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: Unix',
'Programming Language :: Python',
'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 :: SQL',
'Topic :: Database',
'Topic :: Database :: Front-Ends',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
bsd-3-clause
|
Python
|
f581deba1b3058b4bce38810682a0f2f4c1dedf8
|
Bump to v1.4.1
|
gisce/primestg
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='primestg',
version='1.4.1',
packages=find_packages(),
url='https://github.com/gisce/primestg',
license='GNU Affero General Public License v3',
author='GISCE-TI, S.L.',
author_email='[email protected]',
install_requires=[
'lxml',
'zeep'
],
description='Prime STG-DC Interface Specification',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
]
)
|
from setuptools import setup, find_packages
setup(
name='primestg',
version='1.4.0',
packages=find_packages(),
url='https://github.com/gisce/primestg',
license='GNU Affero General Public License v3',
author='GISCE-TI, S.L.',
author_email='[email protected]',
install_requires=[
'lxml',
'zeep'
],
description='Prime STG-DC Interface Specification',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
]
)
|
agpl-3.0
|
Python
|
3d2bbe90617ec090b5f413b95fc9d1161c2848fa
|
Update package name in setup.py
|
jbutler/lenderbot,jbutler/auto-investor
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from distutils.core import setup
setup(name='lenderbot',
version='1.0.6',
description='LendingClub auto investor tool',
author='Joe Butler',
author_email='[email protected]',
packages=['investor'],
)
|
#!/usr/bin/env python3
from distutils.core import setup
setup(name='auto-investor',
version='1.0.5',
description='LendingClub auto-investment tool',
author='Joe Butler',
author_email='[email protected]',
packages=['investor'],
)
|
mit
|
Python
|
39ebb2d463dc7185801aac2dee8ec30fa4adcfac
|
Allow cryptography versions >3 (but <4) (#164)
|
XML-Security/signxml,XML-Security/signxml
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='signxml',
version="2.8.0",
url='https://github.com/kislyuk/signxml',
license='Apache Software License',
author='Andrey Kislyuk',
author_email='[email protected]',
description='Python XML Signature library',
long_description=open('README.rst').read(),
install_requires=[
'lxml >= 4.2.1, < 5',
'eight >= 0.4.2, < 2',
'cryptography >= 2.1.4, < 4',
'pyOpenSSL >= 17.5.0, < 20',
'certifi >= 2018.1.18'
],
extras_require={
':python_version == "2.7"': [
'enum34 >= 1.1.6, < 2',
'ipaddress >= 1.0.17, < 2'
]
},
packages=find_packages(exclude=['test']),
platforms=['MacOS X', 'Posix'],
package_data={'signxml': ['schemas/*.xsd']},
zip_safe=False,
include_package_data=True,
test_suite='test',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python',
'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',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='signxml',
version="2.8.0",
url='https://github.com/kislyuk/signxml',
license='Apache Software License',
author='Andrey Kislyuk',
author_email='[email protected]',
description='Python XML Signature library',
long_description=open('README.rst').read(),
install_requires=[
'lxml >= 4.2.1, < 5',
'eight >= 0.4.2, < 2',
'cryptography >= 2.1.4, < 3',
'pyOpenSSL >= 17.5.0, < 20',
'certifi >= 2018.1.18'
],
extras_require={
':python_version == "2.7"': [
'enum34 >= 1.1.6, < 2',
'ipaddress >= 1.0.17, < 2'
]
},
packages=find_packages(exclude=['test']),
platforms=['MacOS X', 'Posix'],
package_data={'signxml': ['schemas/*.xsd']},
zip_safe=False,
include_package_data=True,
test_suite='test',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python',
'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',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
|
apache-2.0
|
Python
|
67c6f7b1460403e51125eb15f7d081e6de20f6ab
|
Downgrade Celery and kombu.
|
Kegbot/kegbot-server,Kegbot/kegbot-server,Kegbot/kegbot-server,Kegbot/kegbot-server,Kegbot/kegbot-server
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""Kegbot Beer Kegerator Server package.
Kegbot is a hardware and software system to record and monitor access to a beer
kegerator. For more information and documentation, see http://kegbot.org/
"""
from setuptools import setup, find_packages
VERSION = '0.9.25'
DOCLINES = __doc__.split('\n')
SHORT_DESCRIPTION = DOCLINES[0]
LONG_DESCRIPTION = '\n'.join(DOCLINES[2:])
DEPENDENCIES = [
'kegbot-pyutils == 0.1.7',
'kegbot-api == 0.1.14',
'Django == 1.6.4',
'django-imagekit == 3.1',
'django-registration == 1.0',
'django-socialregistration == 0.5.10',
'django-bootstrap-pagination == 0.1.10',
# See kegbot-server issue #264
'Celery == 3.1.9',
'kombu == 3.0.14',
'South == 0.8.4',
'django-crispy-forms == 1.2.8',
'foursquare == 2014.04.10',
'gunicorn == 18.0',
'MySQL-python == 1.2.5',
'pillow == 2.4.0',
'protobuf == 2.5.0',
'python-gflags == 2.0',
'django-redis == 3.6.1',
'pytz == 2014.2',
'redis == 2.9.1',
'requests == 2.2.1',
'tweepy == 2.2',
'jsonfield == 0.9.20',
]
def setup_package():
setup(
name = 'kegbot',
version = VERSION,
description = SHORT_DESCRIPTION,
long_description = LONG_DESCRIPTION,
author = 'Bevbot LLC',
author_email = '[email protected]',
url = 'http://kegbot.org/',
packages = find_packages(),
scripts = [
'bin/kegbot',
'bin/setup-kegbot.py',
],
install_requires = DEPENDENCIES,
dependency_links = [
'https://github.com/rem/python-protobuf/tarball/master#egg=protobuf-2.4.1',
],
include_package_data = True,
entry_points = {
'console_scripts': ['instance=django.core.management:execute_manager'],
},
)
if __name__ == '__main__':
setup_package()
|
#!/usr/bin/env python
"""Kegbot Beer Kegerator Server package.
Kegbot is a hardware and software system to record and monitor access to a beer
kegerator. For more information and documentation, see http://kegbot.org/
"""
from setuptools import setup, find_packages
VERSION = '0.9.25'
DOCLINES = __doc__.split('\n')
SHORT_DESCRIPTION = DOCLINES[0]
LONG_DESCRIPTION = '\n'.join(DOCLINES[2:])
DEPENDENCIES = [
'kegbot-pyutils == 0.1.7',
'kegbot-api == 0.1.14',
'Django == 1.6.4',
'django-imagekit == 3.1',
'django-registration == 1.0',
'django-socialregistration == 0.5.10',
'django-bootstrap-pagination == 0.1.10',
'Celery == 3.1.11',
'South == 0.8.4',
'django-crispy-forms == 1.2.8',
'foursquare == 2014.04.10',
'gunicorn == 18.0',
'MySQL-python == 1.2.5',
'pillow == 2.4.0',
'protobuf == 2.5.0',
'python-gflags == 2.0',
'django-redis == 3.6.1',
'pytz == 2014.2',
'redis == 2.9.1',
'requests == 2.2.1',
'tweepy == 2.2',
'jsonfield == 0.9.20',
]
def setup_package():
setup(
name = 'kegbot',
version = VERSION,
description = SHORT_DESCRIPTION,
long_description = LONG_DESCRIPTION,
author = 'Bevbot LLC',
author_email = '[email protected]',
url = 'http://kegbot.org/',
packages = find_packages(),
scripts = [
'bin/kegbot',
'bin/setup-kegbot.py',
],
install_requires = DEPENDENCIES,
dependency_links = [
'https://github.com/rem/python-protobuf/tarball/master#egg=protobuf-2.4.1',
],
include_package_data = True,
entry_points = {
'console_scripts': ['instance=django.core.management:execute_manager'],
},
)
if __name__ == '__main__':
setup_package()
|
mit
|
Python
|
768820a4af086e72c88e779f08a7f597ad4a2774
|
Update email
|
gsakkis/valideer,podio/valideer
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="valideer",
version="0.2",
description="Lightweight data validation and adaptation library for Python",
long_description=open("README.rst").read(),
url="https://github.com/podio/valideer",
author="George Sakkis",
author_email="[email protected]",
packages=find_packages(),
install_requires=["decorator"],
tests_require=["nose", "coverage"],
platforms=["any"],
keywords="validation adaptation typechecking jsonschema",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
],
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="valideer",
version="0.2",
description="Lightweight data validation and adaptation library for Python",
long_description=open("README.rst").read(),
url="https://github.com/podio/valideer",
author="George Sakkis",
author_email="[email protected]",
packages=find_packages(),
install_requires=["decorator"],
tests_require=["nose", "coverage"],
platforms=["any"],
keywords="validation adaptation typechecking jsonschema",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
],
)
|
mit
|
Python
|
b99c83ff15a02d4be3dc2e7f6e4a27601fdbdbf2
|
fix setup.py
|
cangencer/hazelcast-python-client,hazelcast/hazelcast-python-client,hazelcast/hazelcast-python-client
|
setup.py
|
setup.py
|
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='hazelcast-python-client',
version='0.1',
description='Hazelcast Python Client',
long_description=long_description,
url='https://github.com/hazelcast/hazelcast-python-client',
author='Hazelcast Inc. Developers',
author_email='[email protected]',
classifiers=[
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
# 'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3.3',
# 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: CPython',
# 'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=find_packages(exclude=['examples', 'docs', 'tests', 'benchmark']),
package_dir={'hazelcast': 'hazelcast'},
install_requires=[],
tests_require=['hazelcast-remote-controller'],
)
|
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='hazelcast-python-client',
version='0.1',
description='Hazelcast Python Client',
long_description=long_description,
url='https://github.com/hazelcast/hazelcast-python-client',
author='The Python Packaging Authority',
author_email='[email protected]',
classifiers=[
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
# 'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3.3',
# 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: CPython',
# 'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=find_packages(exclude=['examples', 'docs', 'tests']),
package_dir={'hazelcast': 'hazelcast'},
install_requires=[],
tests_require=['hazelcast-remote-controller'],
)
|
apache-2.0
|
Python
|
0a0a64aab06e202fe37805523dd2f3e862fcb7d8
|
Bump version to 0.3.16
|
mwilliamson/python-mammoth
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import sys
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
_install_requires = [
"parsimonious>=0.5,<0.6",
"dodge>=0.1.5,<0.2",
]
if sys.version_info[:2] <= (2, 6):
_install_requires.append("argparse>=1.1,<2.0")
setup(
name='mammoth',
version='0.3.16',
description='Convert Word documents from docx to simple and clean HTML and Markdown',
long_description=read("README"),
author='Michael Williamson',
author_email='[email protected]',
url='http://github.com/mwilliamson/python-mammoth',
packages=['mammoth', 'mammoth.docx', 'mammoth.style_reader', 'mammoth.writers'],
scripts=["scripts/mammoth"],
keywords="docx word office clean html markdown md",
install_requires=_install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'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',
],
)
|
#!/usr/bin/env python
import os
import sys
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
_install_requires = [
"parsimonious>=0.5,<0.6",
"dodge>=0.1.5,<0.2",
]
if sys.version_info[:2] <= (2, 6):
_install_requires.append("argparse>=1.1,<2.0")
setup(
name='mammoth',
version='0.3.15',
description='Convert Word documents from docx to simple and clean HTML and Markdown',
long_description=read("README"),
author='Michael Williamson',
author_email='[email protected]',
url='http://github.com/mwilliamson/python-mammoth',
packages=['mammoth', 'mammoth.docx', 'mammoth.style_reader', 'mammoth.writers'],
scripts=["scripts/mammoth"],
keywords="docx word office clean html markdown md",
install_requires=_install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'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',
],
)
|
bsd-2-clause
|
Python
|
b87f2d324ec42a294f557064933a3e21d4507e70
|
Bump pandas from 1.3.2 to 1.3.3
|
bugra/l1
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='[email protected]',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.3.3',
'cvxopt==1.2.6',
'statsmodels==0.12.2',
]
)
|
#!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='[email protected]',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.3.2',
'cvxopt==1.2.6',
'statsmodels==0.12.2',
]
)
|
apache-2.0
|
Python
|
0e5e46615ce8f599483c5075cc120cf6aad4c8a5
|
Tweak setup.py
|
Fitblip/wsstat
|
setup.py
|
setup.py
|
from __future__ import print_function
from setuptools import setup
from setuptools.command.test import test as TestCommand
import io
import os
import sys
import wsstat
py_version = sys.version_info[:2]
if py_version < (3, 3):
raise Exception("websockets requires Python >= 3.3.")
here = os.path.abspath(os.path.dirname(__file__))
with open('requirements.txt') as f:
dependencies = f.read().splitlines()
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
long_description = read('README.md')
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errcode = pytest.main(self.test_args)
sys.exit(errcode)
setup(
name='wsstat',
version=wsstat.__version__,
url='http://github.com/fitblip/wsstat/',
author='Ryan Sears',
tests_require=['pytest'],
install_requires=dependencies,
cmdclass={'test': PyTest},
author_email='[email protected]',
description='Websocket health monitoring made simple (and beautiful)',
long_description=long_description,
packages=['wsstat'],
include_package_data=True,
test_suite='test.test_wsstat',
entry_points={
'console_scripts': [
'wsstat = wsstat.main:run',
],
},
classifiers = [],
extras_require={
'testing': ['pytest'],
}
)
|
from __future__ import print_function
from setuptools import setup
from setuptools.command.test import test as TestCommand
import io
import os
import sys
import wsstat
py_version = sys.version_info[:2]
if py_version < (3, 3):
raise Exception("websockets requires Python >= 3.3.")
here = os.path.abspath(os.path.dirname(__file__))
with open('requirements.txt') as f:
dependencies = f.read().splitlines()
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
long_description = read('README.rst')
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errcode = pytest.main(self.test_args)
sys.exit(errcode)
setup(
name='wsstat',
version=wsstat.__version__,
url='http://github.com/fitblip/wsstat/',
author='Ryan Sears',
tests_require=['pytest'],
install_requires=dependencies,
cmdclass={'test': PyTest},
author_email='[email protected]',
description='Websocket health monitoring made simple (and beautiful)',
long_description=long_description,
packages=['wsstat'],
include_package_data=True,
test_suite='test.test_wsstat',
entry_points={
'console_scripts': [
'wsstat = wsstat.main:run',
],
},
classifiers = [],
extras_require={
'testing': ['pytest'],
}
)
|
mit
|
Python
|
7bda19daf9fba63ea3e2d374a5f13390f3f7fa05
|
Bump version to 3.1
|
cloudify-cosmo/cloudify-diamond-plugin,codilime/cloudify-diamond-plugin,geokala/cloudify-diamond-plugin,cloudify-cosmo/cloudify-diamond-plugin
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='cloudify-diamond-plugin',
version='1.1',
author='Cloudify',
author_email='[email protected]',
packages=['diamond_agent', 'cloudify_handler'],
install_requires=['cloudify-plugins-common==3.1',
'diamond==3.5.0',
'ConfigObj==5.0.6',
'psutil==2.1.1'],
)
|
from setuptools import setup
setup(
name='cloudify-diamond-plugin',
version='3.1',
author='Cloudify',
author_email='[email protected]',
packages=['diamond_agent', 'cloudify_handler'],
install_requires=['cloudify-plugins-common==3.1',
'diamond==3.5.0',
'ConfigObj==5.0.6',
'psutil==2.1.1'],
)
|
apache-2.0
|
Python
|
0f6be423058d98f7365f95c427ab59db5608af80
|
use jsonobject in setup.py
|
dimagi/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='pillowtop',
version='0.1.3.1',
description='A couchdbkit changes listener for doing backend processing',
author='Dimagi',
author_email='[email protected]',
url='http://www.dimagi.com/',
packages=find_packages(exclude=['*.pyc']),
include_package_data=True,
test_suite='pillowtop.tests',
test_loader='unittest2:TestLoader',
install_requires=[
"restkit",
"jsonobject-couchdbkit>=0.6.5.2",
"simplejson",
"requests",
"gevent",
"greenlet",
"rawes",
'django>=1.3.1',
'dimagi-utils>=1.0.0'
],
tests_require=[
'unittest2',
]
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='pillowtop',
version='0.1.3.1',
description='A couchdbkit changes listener for doing backend processing',
author='Dimagi',
author_email='[email protected]',
url='http://www.dimagi.com/',
packages=find_packages(exclude=['*.pyc']),
include_package_data=True,
test_suite='pillowtop.tests',
test_loader='unittest2:TestLoader',
install_requires=[
"restkit",
"couchdbkit",
"simplejson",
"requests",
"gevent",
"greenlet",
"rawes",
'django>=1.3.1',
'dimagi-utils>=1.0.0'
],
tests_require=[
'unittest2',
]
)
|
bsd-3-clause
|
Python
|
9444be6e891e7f7690dc10415690e484e17b3b61
|
Extend base extraction module
|
LucidAi/nlcd,LucidAi/nlcd,LucidAi/nlcd,LucidAi/nlcd
|
fenrir/extraction/base.py
|
fenrir/extraction/base.py
|
# coding: utf-8
# Author: Vova Zaytsev <[email protected]>
import re
import textblob
from client.api import common
class TextPreprocessor(object):
RE_HTML_SPECIAL_CHARS = re.compile("\&#?[a-z0-9]+;")
RE_Q_PHRASE_PATTERN_1 = re.compile("\"([^\"]*)\"")
RE_Q_PHRASE_PATTERN_2 = re.compile("\'([^\"]*)\'")
RE_Q_PHRASE_PATTERN_3 = re.compile("“([^“”]*)”")
def __init__(self):
pass
def clean_html_junk(self, text):
return self.RE_HTML_SPECIAL_CHARS.sub("", text)
def sent_segmentize(self, text):
text = self.clean_html_junk(text)
lines = text.split("\n")
sents = []
for line in lines:
blob = textblob.TextBlob(line)
sents.extend(map(str, blob.sentences))
return sents
def extract_quoted(self, sentence_list):
quoted = []
for sent in sentence_list:
quoted.extend(self.RE_Q_PHRASE_PATTERN_1.findall(sent))
quoted.extend(self.RE_Q_PHRASE_PATTERN_2.findall(sent))
quoted.extend(self.RE_Q_PHRASE_PATTERN_3.findall(sent))
return quoted
def filter_sents(self, sentence_list,
tokens_min=4,
tokens_max=30):
filtered = []
for sentno, sent in enumerate(sentence_list):
text = sent.decode("utf-8")
tokens = [t.lower() for t in textblob.TextBlob(text).tokens]
tk_size = len(tokens)
tx_size = len(text)
is_important = tk_size >= tokens_min and tk_size <= tokens_max
filtered.append({
"id": sentno,
"text": text,
"tokens": tokens,
"tk_size": tk_size,
"tx_size": tx_size,
"is_important": is_important
})
return filtered
|
# coding: utf-8
# Author: Vova Zaytsev <[email protected]>
import re
import textblob
class TextPreprocessor(object):
HTML_SPECIAL_CHARS = re.compile("\&#?[a-z0-9]+;")
def __init__(self):
pass
def clean_html_junk(self, text):
return self.HTML_SPECIAL_CHARS.sub("", text)
def sent_segmentize(self, text):
text = self.clean_html_junk(text)
lines = text.split("\n")
sents = []
for line in lines:
blob = textblob.TextBlob(line)
sents.extend(map(str, blob.sentences))
return sents
|
mit
|
Python
|
f77e92aef7e337ed67ebc78d4de5829285ed651a
|
Update url
|
unitedstates/python-us,0x19/python-us
|
setup.py
|
setup.py
|
from us import __appname__, __version__
from setuptools import setup, find_packages
long_description = open('README.rst').read()
setup(
name=__appname__,
version=__version__,
author="Jeremy Carbaugh",
author_email="[email protected]",
url='https://github.com/unitedstates/python-us',
description='US state meta information and other fun stuff',
long_description=long_description,
license='BSD',
packages=find_packages(),
package_data={'us': ['*.pkl']},
include_package_data=True,
install_requires=['jellyfish==0.2.0'],
entry_points={
'console_scripts': ['states = us.cli.states:main']},
platforms=['any'],
)
|
from us import __appname__, __version__
from setuptools import setup, find_packages
long_description = open('README.rst').read()
setup(
name=__appname__,
version=__version__,
author="Jeremy Carbaugh",
author_email="[email protected]",
url='https://github.com/sunlightlabs/python-us',
description='US state meta information and other fun stuff',
long_description=long_description,
license='BSD',
packages=find_packages(),
package_data={'us': ['*.pkl']},
include_package_data=True,
install_requires=['jellyfish==0.2.0'],
entry_points={
'console_scripts': ['states = us.cli.states:main']},
platforms=['any'],
)
|
bsd-3-clause
|
Python
|
50d2b9cf2640c7788cb890ad945a64ac2f5613f3
|
Update version for packaging.
|
bdastur/spam,bdastur/spam
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
with open('README.md') as fhandle:
long_description = fhandle.read()
setup(
name='pyansible',
version='1.0.3',
description='A module for interfacing with Ansible Runner and Inventory.',
long_description=long_description,
url="https://github.com/bdastur/spam",
author="Behzad Dastur",
author_email="[email protected]",
license='Apache Software License',
classifier=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: Apache Software License',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
],
keywords='ansible',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['rexutil',
'MarkupSafe',
'jinja2',
'PyYAML',
'ansible==1.9.4']
)
|
from setuptools import setup, find_packages
with open('README.md') as fhandle:
long_description = fhandle.read()
setup(
name='pyansible',
version='1.0.2',
description='A module for interfacing with Ansible Runner and Inventory.',
long_description=long_description,
url="https://github.com/bdastur/spam",
author="Behzad Dastur",
author_email="[email protected]",
license='Apache Software License',
classifier=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: Apache Software License',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
],
keywords='ansible',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['rexutil',
'MarkupSafe',
'jinja2',
'PyYAML',
'ansible==1.9.4']
)
|
apache-2.0
|
Python
|
1f7decd74c8e4bd5e8d2f9ee387e4fcd3f860f58
|
update statistics
|
mehmetkose/python3-async-crawler
|
async_crawler.py
|
async_crawler.py
|
#!/usr/bin/env python3
# python dictionary object to html5 json form generator.
# https://github.com/mehmetkose/python3-async-crawler
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2016 Mehmet Kose [email protected]
import aiohttp
import asyncio
from html.parser import HTMLParser
from urllib.parse import urljoin, urldefrag
root_url = "http://python.org"
crawled_urls = []
url_hub = [root_url, "%s/robots.txt" % (root_url), "%s/sitemap.xml" % (root_url)]
async def get_body(client, url):
async with client.get(url) as response:
return await response.read()
def list_uniqifier(seq):
keys = {}
for e in seq:
if len(e) > 1:
keys[e] = 1
return keys.keys()
def remove_fragment(url):
pure_url, frag = urldefrag(url)
return pure_url
def get_links(html):
new_urls = [link.split('"')[0] for link in str(html).replace("'",'"').split('href="')[1:]]
return [urljoin(root_url, remove_fragment(new_url)) for new_url in new_urls]
if __name__ == '__main__':
loop = asyncio.get_event_loop()
client = aiohttp.ClientSession(loop=loop)
for to_crawl in url_hub:
raw_html = loop.run_until_complete(get_body(client, to_crawl))
for link in get_links(raw_html):
if root_url in link and not link in crawled_urls:
url_hub.append(link)
url_hub.remove(to_crawl)
crawled_urls.append(to_crawl)
print("url hub: %s | crawled: %s |url : %s" % (len(url_hub), len(crawled_urls), to_crawl))
client.close()
|
#!/usr/bin/env python3
# python dictionary object to html5 json form generator.
# https://github.com/mehmetkose/python3-async-crawler
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2016 Mehmet Kose [email protected]
import aiohttp
import asyncio
from html.parser import HTMLParser
from urllib.parse import urljoin, urldefrag
root_url = "http://python.org"
crawled_urls = []
will_be_crawl_urls = [root_url, root_url.replace('http:','https:'),
"%s/robots.txt" % (root_url), "%s/sitemap.xml" % (root_url)]
async def get_body(client, url):
async with client.get(url) as response:
return await response.read()
def list_uniqifier(seq):
keys = {}
for e in seq:
if len(e) > 1:
keys[e] = 1
return keys.keys()
def remove_fragment(url):
pure_url, frag = urldefrag(url)
return pure_url
def get_links(html):
new_urls = [link.split('"')[0] for link in str(html).replace("'",'"').split('href="')[1:]]
return [urljoin(root_url, remove_fragment(new_url)) for new_url in new_urls]
if __name__ == '__main__':
loop = asyncio.get_event_loop()
client = aiohttp.ClientSession(loop=loop)
for to_crawl in will_be_crawl_urls:
raw_html = loop.run_until_complete(get_body(client, to_crawl))
for link in get_links(raw_html):
if root_url in link:
will_be_crawl_urls.append(link)
print(len(will_be_crawl_urls))
client.close()
|
mit
|
Python
|
7a7dd4ed8285d4963d05612870206db7b07b2452
|
Add jmespath as a dependency
|
boto/botocore,pplu/botocore,jonparrott/botocore
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""
distutils/setuptools install script.
"""
import os
import sys
import botocore
try:
from setuptools import setup
setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'botocore',
]
requires = ['requests==1.1.0',
'six>=1.1.0',
'jmespath==0.0.1',
'python-dateutil>=2.1']
setup(
name='botocore',
version=botocore.__version__,
description='Low-level, data-driven core of boto 3.',
long_description=open('README.md').read(),
author='Mitch Garnaat',
author_email='[email protected]',
url='https://github.com/boto/botocore',
scripts=[],
packages=packages,
package_data={'botocore': ['data/*.json', 'data/aws/*.json']},
package_dir={'botocore': 'botocore'},
include_package_data=True,
install_requires=requires,
license=open("LICENSE.txt").read(),
classifiers=(
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
),
)
|
#!/usr/bin/env python
"""
distutils/setuptools install script.
"""
import os
import sys
import botocore
try:
from setuptools import setup
setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'botocore',
]
requires = ['requests==1.1.0',
'six>=1.1.0',
'python-dateutil>=2.1']
setup(
name='botocore',
version=botocore.__version__,
description='Low-level, data-driven core of boto 3.',
long_description=open('README.md').read(),
author='Mitch Garnaat',
author_email='[email protected]',
url='https://github.com/boto/botocore',
scripts=[],
packages=packages,
package_data={'botocore': ['data/*.json', 'data/aws/*.json']},
package_dir={'botocore': 'botocore'},
include_package_data=True,
install_requires=requires,
license=open("LICENSE.txt").read(),
classifiers=(
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
),
)
|
apache-2.0
|
Python
|
522c7d13cb491998f8feba99f3657e77310f275b
|
add sparc.testing dependency
|
davisd50/sparc.common
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import os
version = '0.0.3'
setup(name='sparc.common',
version=version,
description="Common utilities used within SPARC platform",
long_description=open("README.md").read() + "\n" +
open("HISTORY.txt").read(),
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
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',
],
keywords=['zca'],
author='David Davis',
author_email='[email protected]',
url='https://github.com/davisd50/sparc.common',
download_url = '',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['sparc'],
include_package_data=True,
package_data = {
'': ['*.zcml']
},
zip_safe=False,
install_requires=[
'setuptools',
'zope.interface',
'zope.component',
'zope.configuration',
'zope.security',
'zope.i18nmessageid'
# -*- Extra requirements: -*-
],
tests_require=[
'sparc.testing'
],
entry_points="""
# -*- Entry points: -*-
""",
)
|
from setuptools import setup, find_packages
import os
version = '0.0.3'
setup(name='sparc.common',
version=version,
description="Common utilities used within SPARC platform",
long_description=open("README.md").read() + "\n" +
open("HISTORY.txt").read(),
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
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',
],
keywords=['zca'],
author='David Davis',
author_email='[email protected]',
url='https://github.com/davisd50/sparc.common',
download_url = '',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['sparc'],
include_package_data=True,
package_data = {
'': ['*.zcml']
},
zip_safe=False,
install_requires=[
'setuptools',
'zope.interface',
'zope.component',
'zope.configuration',
'zope.security',
'zope.i18nmessageid'
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
|
mit
|
Python
|
18191319f244ea9f1ab7a874467e944d051724e8
|
Add credentials, description, etc.
|
bradleygolden/boxer
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
author='Bradley Golden',
author_email='[email protected]',
description='Tox wrapped in docker',
name='boxer',
version='0.1',
py_modules=['boxer'],
include_package_data=True,
url='https://github.com/bradleygolden/boxer',
download_url='https://github.com/bgolden/boxer/archive/0.1.tar.gz.',
keywords=['tox', 'pyenv', 'docker'],
install_requires=[
'Click',
'docker'
],
entry_points='''
[console_scripts]
boxer=boxer.boxer:cli
''',
)
|
from setuptools import setup
setup(
name='boxer',
version='0.1',
py_modules=['boxer'],
include_package_data=True,
url='https://github.com/bradleygolden/boxer',
download_url='https://github.com/bgolden/boxer/archive/0.1.tar.gz.',
keywords=['tox', 'pyenv', 'docker'],
install_requires=[
'Click',
'docker'
],
entry_points='''
[console_scripts]
boxer=boxer.boxer:cli
''',
)
|
mit
|
Python
|
4bfaf45ed2f27dca0105975243da093cf518ef4b
|
Bump version
|
cloudify-cosmo/cloudify-rest-client
|
setup.py
|
setup.py
|
########
# Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
from setuptools import setup
setup(
name='cloudify-rest-client',
version='4.0.1',
author='cosmo-admin',
author_email='[email protected]',
packages=['cloudify_rest_client'],
license='LICENSE',
description='Cloudify REST client',
install_requires=[
'requests>=2.7.0,<3.0.0',
'requests_toolbelt'
]
)
|
########
# Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
from setuptools import setup
setup(
name='cloudify-rest-client',
version='4.0',
author='cosmo-admin',
author_email='[email protected]',
packages=['cloudify_rest_client'],
license='LICENSE',
description='Cloudify REST client',
install_requires=[
'requests>=2.7.0,<3.0.0',
'requests_toolbelt'
]
)
|
apache-2.0
|
Python
|
b9b8a65234ba36c34a10db2b0f9fe0ee526dea70
|
Bump version in setup.py
|
graze/pycmd-utils
|
setup.py
|
setup.py
|
'''
Setup File
'''
from setuptools import setup
import multiprocessing
setup(name='cmd_utils',
version='0.4.0',
description='Wrapper for subprocess.Popen and paramiko',
long_description=('Wrapper for subprocess.Popen and paramiko '
'to allow easy running of commands locally and '
'remotely with error handling'),
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'Operating System :: Unix',
'License :: OSI Approved :: MIT License',
],
keywords='cmd shell ssh command run paramiko',
url='https://github.com/graze/pycmd-utils',
author='Mark Egan-Fuller',
author_email='[email protected]',
license='MIT',
packages=['cmd_utils'],
zip_safe=False,
install_requires=["paramiko"],
test_suite='nose.collector',
tests_require=['nose']
)
|
'''
Setup File
'''
from setuptools import setup
import multiprocessing
setup(name='cmd_utils',
version='0.3.0',
description='Wrapper for subprocess.Popen and paramiko',
long_description=('Wrapper for subprocess.Popen and paramiko '
'to allow easy running of commands locally and '
'remotely with error handling'),
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'Operating System :: Unix',
'License :: OSI Approved :: MIT License',
],
keywords='cmd shell ssh command run paramiko',
url='https://github.com/graze/pycmd-utils',
author='Mark Egan-Fuller',
author_email='[email protected]',
license='MIT',
packages=['cmd_utils'],
zip_safe=False,
install_requires=["paramiko"],
test_suite='nose.collector',
tests_require=['nose']
)
|
mit
|
Python
|
dc6df0448d9a7f921c7dc078eecbb6d65fc29320
|
Bump version to 0.0.6
|
bdupharm/falcon-autocrud
|
setup.py
|
setup.py
|
from setuptools import setup
version = '0.0.6'
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
long_description = open('README.md').read()
setup(name='falcon-autocrud',
version=version,
description='Makes RESTful CRUD easier',
long_description=long_description,
url='https://bitbucket.org/garymonson/falcon-autocrud',
author='Gary Monson',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Database :: Front-Ends',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
],
keywords='falcon crud rest database',
packages=['falcon_autocrud'],
install_requires=[
'falcon',
'falconjsonio',
'sqlalchemy',
],
zip_safe=False)
|
from setuptools import setup
version = '0.0.5'
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
long_description = open('README.md').read()
setup(name='falcon-autocrud',
version=version,
description='Makes RESTful CRUD easier',
long_description=long_description,
url='https://bitbucket.org/garymonson/falcon-autocrud',
author='Gary Monson',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Database :: Front-Ends',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
],
keywords='falcon crud rest database',
packages=['falcon_autocrud'],
install_requires=[
'falcon',
'falconjsonio',
'sqlalchemy',
],
zip_safe=False)
|
mit
|
Python
|
2e25125904c94fa7250f6a8a0f4de4e2c463644b
|
Update Chapter04/reverseCipher.py added docstring and wrapped in main() function
|
JoseALermaIII/python-tutorials,JoseALermaIII/python-tutorials
|
books/CrackingCodesWithPython/Chapter04/reverseCipher.py
|
books/CrackingCodesWithPython/Chapter04/reverseCipher.py
|
"""Reverse Cipher
https://www.nostarch.com/crackingcodes/ (BSD Licensed)
Note:
Pretty much the same, except I use double quotes,
expand variable names for readability, simplify the while loop, and use fancier operators
"""
def main():
message = "Three can keep a secret, if two of them are dead."
#message = input("Enter message: ") # Allow users to enter message
translated = ""
index = len(message)
while index:
index -= 1 # equivalent to index = index - 1
translated += message[index]
#print("index is", i, ", message[index] is", message[index], ", translated is", translated) #DEBUG
print(translated)
# Decrypt example
# Was going to make a function out of it so it's easier, but I
# didn't want to change it more than I already did. (^_^;)
#print(translated[::-1]) # a step of -1 reverses the string
if __name__ == '__main__':
main()
|
# Reverse Cipher
# https://www.nostarch.com/crackingcodes/ (BSD Licensed)
# Note: pretty much the same, except I use double quotes,
# expand variable names for readability, simplify the while loop,
# and use fancier operators
message = "Three can keep a secret, if two of them are dead."
#message = input("Enter message: ") # Allow users to enter message
translated = ""
index = len(message)
while index:
index -= 1 # equivalent to index = index - 1
translated += message[index]
#print("index is", i, ", message[index] is", message[index], ", translated is", translated) #DEBUG
print(translated)
# Decrypt example
# Was going to make a function out of it so it's easier, but I
# didn't want to change it more than I already did. (^_^;)
#print(translated[::-1]) # a step of -1 reverses the string
|
mit
|
Python
|
c24bab2ac07dcbcaf214fe396db7a154a0d3baec
|
Bump version
|
BroganD1993/MoodleFUSE,BroganD1993/MoodleFUSE
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# encoding: utf-8
import os
from setuptools import setup
def read_file(name):
filepath = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
name
)
data = open(filepath)
try:
return data.read()
except IOError:
print "could not read %r" % name
data.close()
PROJECT = 'moodlefuse'
VERSION = '0.2.1'
URL = 'http://github.com/brogand1993/MoodleFUSE'
AUTHOR = 'Darren Brogan'
AUTHOR_EMAIL = '[email protected]'
DESC = "FUSE filesystem based on moodle implementation"
LONG_DESC = read_file('README.rst')
REQUIRES = [
'requests',
'fusepy',
'mechanize',
'selenium==2.45.0',
'beautifulsoup4',
'alembic',
'sqlalchemy',
'xvfbwrapper'
]
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=LONG_DESC,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
license='MIT License',
package_data={
'alembic': ['*.mako', 'versions/*']
},
packages=[
'tests',
'alembic',
'moodlefuse',
'tests.data',
'tests.courses',
'tests.resources',
'tests.courses.data',
'tests.resources.data',
'moodlefuse.moodle',
'moodlefuse.models',
'moodlefuse.filesystem',
'moodlefuse.models.users',
'moodlefuse.moodle.courses',
'moodlefuse.moodle.emulator',
'moodlefuse.moodle.resources',
'moodlefuse.filesystem.files',
'moodlefuse.moodle.assignments',
],
include_package_data=True,
zip_safe=False,
install_requires=REQUIRES,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
'Programming Language :: Python :: 2.7',
],
entry_points="""
[console_scripts]
moodlefuse = moodlefuse.__main__:main
moodlefuse-configure = moodlefuse.configure:main
"""
)
|
#!/usr/bin/env python
# encoding: utf-8
import os
from setuptools import setup
def read_file(name):
filepath = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
name
)
data = open(filepath)
try:
return data.read()
except IOError:
print "could not read %r" % name
data.close()
PROJECT = 'moodlefuse'
VERSION = '0.2.0'
URL = 'http://github.com/brogand1993/MoodleFUSE'
AUTHOR = 'Darren Brogan'
AUTHOR_EMAIL = '[email protected]'
DESC = "FUSE filesystem based on moodle implementation"
LONG_DESC = read_file('README.rst')
REQUIRES = [
'requests',
'fusepy',
'mechanize',
'selenium==2.45.0',
'beautifulsoup4',
'alembic',
'sqlalchemy',
'xvfbwrapper'
]
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=LONG_DESC,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
license='MIT License',
package_data={
'alembic': ['*.mako', 'versions/*']
},
packages=[
'tests',
'alembic',
'moodlefuse',
'tests.data',
'tests.courses',
'tests.resources',
'tests.courses.data',
'tests.resources.data',
'moodlefuse.moodle',
'moodlefuse.models',
'moodlefuse.filesystem',
'moodlefuse.models.users',
'moodlefuse.moodle.courses',
'moodlefuse.moodle.emulator',
'moodlefuse.moodle.resources',
'moodlefuse.filesystem.files',
'moodlefuse.moodle.assignments',
],
include_package_data=True,
zip_safe=False,
install_requires=REQUIRES,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
'Programming Language :: Python :: 2.7',
],
entry_points="""
[console_scripts]
moodlefuse = moodlefuse.__main__:main
moodlefuse-configure = moodlefuse.configure:main
"""
)
|
mit
|
Python
|
d699cc1d34436c5bb53f008f7abf1f3325d2efa7
|
Bump flake8-bugbear from 20.11.1 to 21.3.1
|
maximkulkin/marshmallow-oneofschema
|
setup.py
|
setup.py
|
from setuptools import setup
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock"],
"lint": ["flake8==3.8.4", "flake8-bugbear==21.3.1", "pre-commit~=2.7"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"]
def read(fname):
with open(fname) as fp:
content = fp.read()
return content
setup(
name="marshmallow-oneofschema",
version="2.1.0",
description="marshmallow multiplexing schema",
long_description=read("README.rst"),
author="Maxim Kulkin",
author_email="[email protected]",
maintainer="Steven Loria",
maintainer_email="[email protected]",
url="https://github.com/marshmallow-code/marshmallow-oneofschema",
packages=["marshmallow_oneofschema"],
license="MIT",
keywords=[
"serialization",
"deserialization",
"json",
"marshal",
"marshalling",
"schema",
"validation",
"multiplexing",
"demultiplexing",
"polymorphic",
],
python_requires=">=3.6",
install_requires=["marshmallow>=3.0.0,<4.0.0"],
extras_require=EXTRAS_REQUIRE,
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)
|
from setuptools import setup
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock"],
"lint": ["flake8==3.8.4", "flake8-bugbear==20.11.1", "pre-commit~=2.7"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"]
def read(fname):
with open(fname) as fp:
content = fp.read()
return content
setup(
name="marshmallow-oneofschema",
version="2.1.0",
description="marshmallow multiplexing schema",
long_description=read("README.rst"),
author="Maxim Kulkin",
author_email="[email protected]",
maintainer="Steven Loria",
maintainer_email="[email protected]",
url="https://github.com/marshmallow-code/marshmallow-oneofschema",
packages=["marshmallow_oneofschema"],
license="MIT",
keywords=[
"serialization",
"deserialization",
"json",
"marshal",
"marshalling",
"schema",
"validation",
"multiplexing",
"demultiplexing",
"polymorphic",
],
python_requires=">=3.6",
install_requires=["marshmallow>=3.0.0,<4.0.0"],
extras_require=EXTRAS_REQUIRE,
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)
|
mit
|
Python
|
1b1ad61f2637acefa8b70a926e078f2e567cfd06
|
add a version check here too
|
Schevo/kiwi,Schevo/kiwi,Schevo/kiwi
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# Setup file for Kiwi
# Code by Async Open Source <http://www.async.com.br>
# setup.py written by Christian Reis <[email protected]>
# re-written various times by Johan Dahlin <[email protected]>
"""
kiwi offers a set of enhanced widgets for
Python based on PyGTK. It also includes a framework designed to make
creating Python applications using PyGTK and libglade much
simpler.
"""
from distutils.core import setup
try:
import gobject
import gtk
except ImportError:
raise SystemExit("Kiwi requires PyGTK 2.8 or higher")
from kiwi.dist import listfiles, listpackages, TemplateInstallLib, \
get_site_packages_dir
class InstallLib(TemplateInstallLib):
name = 'kiwi'
global_resources = dict(glade='$datadir/glade',
pixmap='$datadir/pixmaps')
version = ''
execfile("kiwi/__version__.py")
assert version
setup(name="kiwi",
version=".".join(map(str, version)),
description="A framework and a set of enhanced widgets based on PyGTK",
long_description=__doc__,
author="Async Open Source",
author_email="[email protected]",
url="http://www.async.com.br/projects/",
license="GNU LGPL 2.1 (see COPYING)",
data_files=[('share/kiwi/glade',
listfiles('glade', '*.glade')),
('share/kiwi/pixmaps',
listfiles('pixmaps', '*.png')),
('share/gazpacho/catalogs',
listfiles('gazpacho-plugin', 'kiwiwidgets.xml')),
('share/gazpacho/resources/kiwiwidgets',
listfiles('gazpacho-plugin', 'resources',
'kiwiwidgets', '*.png')),
(get_site_packages_dir('gazpacho', 'widgets'),
listfiles('gazpacho-plugin', 'kiwiwidgets.py')),
('share/doc/kiwi',
('AUTHORS', 'ChangeLog', 'NEWS', 'README')),
],
scripts=['bin/kiwi-i18n',
'bin/kiwi-ui-test'],
packages=listpackages('kiwi'),
cmdclass=dict(install_lib=InstallLib),
)
|
#!/usr/bin/env python
# Setup file for Kiwi
# Code by Async Open Source <http://www.async.com.br>
# setup.py written by Christian Reis <[email protected]>
# re-written various times by Johan Dahlin <[email protected]>
"""
kiwi offers a set of enhanced widgets for
Python based on PyGTK. It also includes a framework designed to make
creating Python applications using PyGTK and libglade much
simpler.
"""
from distutils.core import setup
from kiwi.dist import listfiles, listpackages, TemplateInstallLib, \
get_site_packages_dir
class InstallLib(TemplateInstallLib):
name = 'kiwi'
global_resources = dict(glade='$datadir/glade',
pixmap='$datadir/pixmaps')
version = ''
execfile("kiwi/__version__.py")
assert version
setup(name="kiwi",
version=".".join(map(str, version)),
description="A framework and a set of enhanced widgets based on PyGTK",
long_description=__doc__,
author="Async Open Source",
author_email="[email protected]",
url="http://www.async.com.br/projects/",
license="GNU LGPL 2.1 (see COPYING)",
data_files=[('share/kiwi/glade',
listfiles('glade', '*.glade')),
('share/kiwi/pixmaps',
listfiles('pixmaps', '*.png')),
('share/gazpacho/catalogs',
listfiles('gazpacho-plugin', 'kiwiwidgets.xml')),
('share/gazpacho/resources/kiwiwidgets',
listfiles('gazpacho-plugin', 'resources',
'kiwiwidgets', '*.png')),
(get_site_packages_dir('gazpacho', 'widgets'),
listfiles('gazpacho-plugin', 'kiwiwidgets.py')),
('share/doc/kiwi',
('AUTHORS', 'ChangeLog', 'NEWS', 'README')),
],
scripts=['bin/kiwi-i18n',
'bin/kiwi-ui-test'],
packages=listpackages('kiwi'),
cmdclass=dict(install_lib=InstallLib),
)
|
lgpl-2.1
|
Python
|
2b06bfa93a476aa140539e6ad86fcc10bcd495e3
|
Bump version to 0.9a5
|
onyb/reobject,onyb/reobject
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='reobject',
version='0.9a6',
description='Python without ifs and buts',
url='https://github.com/onyb/reobject',
author='Anirudha Bose',
author_email='[email protected]',
license='Apache-2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: Apache Software 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',
],
keywords=['orm', 'python', 'object-oriented-programming', 'django'],
install_requires=[
'attrs>=17.2.0',
],
packages=find_packages(exclude=['tests', 'tests.*']),
)
|
from setuptools import setup, find_packages
setup(
name='reobject',
version='0.9a5',
description='Python without ifs and buts',
url='https://github.com/onyb/reobject',
author='Anirudha Bose',
author_email='[email protected]',
license='Apache-2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: Apache Software 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',
],
keywords=['orm', 'python', 'object-oriented-programming', 'django'],
install_requires=[
'attrs>=17.2.0',
],
packages=find_packages(exclude=['tests', 'tests.*']),
)
|
apache-2.0
|
Python
|
3cac863dfbd4261a0429f2562bf1d8a1bc854d91
|
Bump version
|
lambdalisue/django-permission
|
setup.py
|
setup.py
|
# coding=utf-8
import sys
from setuptools import setup, find_packages
NAME = 'django-permission'
VERSION = '0.8.3'
def read(filename):
import os
BASE_DIR = os.path.dirname(__file__)
filename = os.path.join(BASE_DIR, filename)
with open(filename, 'r') as fi:
return fi.read()
def readlist(filename):
rows = read(filename).split("\n")
rows = [x.strip() for x in rows if x.strip()]
return list(rows)
# if we are running on python 3, enable 2to3 and
# let it use the custom fixers from the custom_fixers
# package.
extra = {}
if sys.version_info >= (3, 0):
extra.update(
use_2to3=True,
)
setup(
name=NAME,
version=VERSION,
description=('A enhanced permission system which enable logical permission'
'systems to complex permissions'),
long_description = read('README.rst'),
classifiers = (
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'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',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
),
keywords = 'django object logical permission auth authentication',
author = 'Alisue',
author_email = '[email protected]',
url = 'https://github.com/lambdalisue/%s' % NAME,
download_url = 'https://github.com/lambdalisue/%s/tarball/master' % NAME,
license = 'MIT',
packages = find_packages('src'),
package_dir = {'': 'src'},
include_package_data = True,
package_data = {
'': ['README.rst',
'requirements.txt',
'requirements-test.txt',
'requirements-docs.txt'],
},
zip_safe=True,
install_requires=readlist('requirements.txt'),
test_suite='runtests.run_tests',
tests_require=readlist('requirements-test.txt'),
**extra
)
|
# coding=utf-8
import sys
from setuptools import setup, find_packages
NAME = 'django-permission'
VERSION = '0.8.2'
def read(filename):
import os
BASE_DIR = os.path.dirname(__file__)
filename = os.path.join(BASE_DIR, filename)
with open(filename, 'r') as fi:
return fi.read()
def readlist(filename):
rows = read(filename).split("\n")
rows = [x.strip() for x in rows if x.strip()]
return list(rows)
# if we are running on python 3, enable 2to3 and
# let it use the custom fixers from the custom_fixers
# package.
extra = {}
if sys.version_info >= (3, 0):
extra.update(
use_2to3=True,
)
setup(
name=NAME,
version=VERSION,
description=('A enhanced permission system which enable logical permission'
'systems to complex permissions'),
long_description = read('README.rst'),
classifiers = (
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'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',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
),
keywords = 'django object logical permission auth authentication',
author = 'Alisue',
author_email = '[email protected]',
url = 'https://github.com/lambdalisue/%s' % NAME,
download_url = 'https://github.com/lambdalisue/%s/tarball/master' % NAME,
license = 'MIT',
packages = find_packages('src'),
package_dir = {'': 'src'},
include_package_data = True,
package_data = {
'': ['README.rst',
'requirements.txt',
'requirements-test.txt',
'requirements-docs.txt'],
},
zip_safe=True,
install_requires=readlist('requirements.txt'),
test_suite='runtests.run_tests',
tests_require=readlist('requirements-test.txt'),
**extra
)
|
mit
|
Python
|
4f2761011f170cf978fd77b9b25c754d158f88b9
|
bump version
|
Infinidat/gitpy
|
setup.py
|
setup.py
|
# Copyright (c) 2009, Rotem Yaari <[email protected]>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of organization nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY Rotem Yaari ''AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL Rotem Yaari BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
from setuptools import setup
setup(name="git-py",
description="Python bindings for the Git source control system",
author="Rotem Yaari",
author_email="[email protected]",
version="1.0.2",
install_requires=["infi.execute>=0.1", "six"],
packages=["gitpy"],
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Python Software Foundation License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
],)
|
# Copyright (c) 2009, Rotem Yaari <[email protected]>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of organization nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY Rotem Yaari ''AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL Rotem Yaari BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
from setuptools import setup
setup(name="git-py",
description="Python bindings for the Git source control system",
author="Rotem Yaari",
author_email="[email protected]",
version="1.0.1",
install_requires=["infi.execute>=0.1", "six"],
packages=["gitpy"],
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Python Software Foundation License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
],)
|
bsd-3-clause
|
Python
|
f968629f36516df4134a06d0a439bc57e4457cd6
|
remove platform dependence
|
mnishida/PyMWM
|
setup.py
|
setup.py
|
import os
import numpy as np
from Cython.Distutils import build_ext
from setuptools import Extension, find_packages, setup
ext_modules = []
for shape in ["cylinder", "slit"]:
pkg = f"pymwm.{shape}.utils.{shape}_utils"
basename = os.path.join("pymwm", shape, "utils", f"{shape}_utils")
ext_modules.append(
Extension(
pkg,
sources=[basename + ".pyx"],
depends=[basename + ".pxd"],
include_dirs=[np.get_include(), "."],
)
)
setup(
name="pymwm",
version="0.1.2",
url="https://github.com/mnishida/PyMWM",
license="MIT",
author="Munehiro Nishida",
author_email="[email protected]",
description="A metallic waveguide mode solver",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
zip_safe=False,
packages=find_packages(),
setup_requires=["cython", "numpy", "scipy"],
install_requires=[line.strip() for line in open("requirements.txt").readlines()],
python_requires=">=3.7",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
],
keywords="metallic waveguide mode, electromagnetism",
ext_modules=ext_modules,
cmdclass={"build_ext": build_ext},
)
|
import os
from distutils.util import get_platform
import numpy as np
from Cython.Distutils import build_ext
from setuptools import Extension, find_packages, setup
platform = get_platform()
if platform.startswith("win"):
extra_compile_args = []
extra_link_args = []
else:
extra_compile_args = [
"-fPIC",
"-m64",
"-fopenmp",
"-march=native",
"-O3",
"-ftree-vectorizer-verbose=2",
"-Wl,--no-as-needed",
]
extra_link_args = ["-shared"]
ext_modules = []
for shape in ["cylinder", "slit"]:
pkg = f"pymwm.{shape}.utils.{shape}_utils"
basename = os.path.join("pymwm", shape, "utils", f"{shape}_utils")
ext_modules.append(
Extension(
pkg,
sources=[basename + ".pyx"],
depends=[basename + ".pxd"],
include_dirs=[np.get_include(), "."],
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args,
libraries=[],
language="c++",
)
)
setup(
name="pymwm",
version="0.1.2",
url="https://github.com/mnishida/PyMWM",
license="MIT",
author="Munehiro Nishida",
author_email="[email protected]",
description="A metallic waveguide mode solver",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
zip_safe=False,
packages=find_packages(),
setup_requires=["cython", "numpy", "scipy"],
install_requires=[line.strip() for line in open("requirements.txt").readlines()],
python_requires=">=3.7",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
],
keywords="metallic waveguide mode, electromagnetism",
ext_modules=ext_modules,
cmdclass={"build_ext": build_ext},
)
|
mit
|
Python
|
d4ad94d1e78de00bb047359f5056a5a5cf41df49
|
remove analysis package from install script
|
lobocv/anonymoususage
|
setup.py
|
setup.py
|
__author__ = 'lobocv'
import os
from setuptools import setup
from anonymoususage import __version__
setup(
name='anonymoususage',
packages=['anonymoususage', 'anonymoususage.tables'], # this must be the same as the name above
version=__version__,
description='Anonymously track user usage patterns and statistics.',
author='Calvin Lobo',
author_email='[email protected]',
url='https://github.com/lobocv/anonymoususage',
download_url='https://github.com/lobocv/anonymoususage/tarball/%s' % __version__,
keywords=['logging', 'usage', 'tracking', 'statistics', 'anonymous'],
classifiers=[],
install_requires=[]
)
|
__author__ = 'lobocv'
import os
from setuptools import setup
from anonymoususage import __version__
setup(
name='anonymoususage',
packages=['anonymoususage', 'anonymoususage.tables', 'anonymoususage.analysis'], # this must be the same as the name above
version=__version__,
description='Anonymously track user usage patterns and statistics.',
author='Calvin Lobo',
author_email='[email protected]',
url='https://github.com/lobocv/anonymoususage',
download_url='https://github.com/lobocv/anonymoususage/tarball/%s' % __version__,
keywords=['logging', 'usage', 'tracking', 'statistics', 'anonymous'],
classifiers=[],
install_requires=[]
)
|
mit
|
Python
|
9e7ce48bfb2d9b6f7bfb881b8b587d2ae730f8e2
|
Bump version to 0.4.1
|
thombashi/pingparsing,thombashi/pingparsing
|
setup.py
|
setup.py
|
# encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <[email protected]>
"""
from __future__ import unicode_literals
import os.path
import sys
import setuptools
MISC_DIR = "misc"
REQUIREMENT_DIR = "requirements"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join(MISC_DIR, "summary.txt")) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pingparsing",
version="0.4.1",
author="Tsuyoshi Hombashi",
author_email="[email protected]",
url="https://github.com/thombashi/pingparsing",
keywords=["ping", "parser", "transmitter"],
license="MIT License",
description=summary,
long_description=long_description,
include_package_data=True,
install_requires=install_requires,
packages=setuptools.find_packages(exclude=["test*"]),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"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",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking",
],
)
|
import sys
import os.path
import setuptools
MISC_DIR = "misc"
REQUIREMENT_DIR = "requirements"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join(MISC_DIR, "summary.txt")) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pingparsing",
version="0.4.0",
author="Tsuyoshi Hombashi",
author_email="[email protected]",
url="https://github.com/thombashi/pingparsing",
keywords=["ping", "parser", "transmitter"],
license="MIT License",
description=summary,
long_description=long_description,
include_package_data=True,
install_requires=install_requires,
packages=setuptools.find_packages(exclude=["test*"]),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"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",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking",
],
)
|
mit
|
Python
|
93c866cc0c815bf7c4f4eabd50274a474bd98ad4
|
Tweak setup.py so that it may run even when fired from different locations, as suggested by Maarten Damen.
|
shutej/dateutil
|
setup.py
|
setup.py
|
#!/usr/bin/python
from os.path import isfile, join
import glob
import os
import re
from setuptools import setup
if isfile("MANIFEST"):
os.unlink("MANIFEST")
TOPDIR = os.path.dirname(__file__) or "."
VERSION = re.search('__version__ = "([^"]+)"',
open(TOPDIR + "/dateutil/__init__.py").read()).group(1)
setup(name="python-dateutil",
version = VERSION,
description = "Extensions to the standard python 2.3+ datetime module",
author = "Gustavo Niemeyer",
author_email = "[email protected]",
url = "http://labix.org/python-dateutil",
license = "PSF License",
long_description =
"""\
The dateutil module provides powerful extensions to the standard
datetime module, available in Python 2.3+.
""",
packages = ["dateutil", "dateutil.zoneinfo"],
package_data={"": ["*.tar.gz"]},
include_package_data=True,
zip_safe=False,
)
|
#!/usr/bin/python
from os.path import isfile, join
import glob
import os
import re
from setuptools import setup
if isfile("MANIFEST"):
os.unlink("MANIFEST")
VERSION = re.search('__version__ = "([^"]+)"',
open("dateutil/__init__.py").read()).group(1)
setup(name="python-dateutil",
version = VERSION,
description = "Extensions to the standard python 2.3+ datetime module",
author = "Gustavo Niemeyer",
author_email = "[email protected]",
url = "http://labix.org/python-dateutil",
license = "PSF License",
long_description =
"""\
The dateutil module provides powerful extensions to the standard
datetime module, available in Python 2.3+.
""",
packages = ["dateutil", "dateutil.zoneinfo"],
package_data={"": ["*.tar.gz"]},
include_package_data=True,
zip_safe=False,
)
|
bsd-3-clause
|
Python
|
a9bdeadeefee0e107a6d86fb055d3a4c10f08d2f
|
更新setup.py
|
xcbat/vnpy,harveywwu/vnpy,harveywwu/vnpy,rrrrrr8/vnpy,harveywwu/vnpy,wisfern/vnpy,msincenselee/vnpy,ujfjhz/vnpy,jiangjinjinyxt/vnpy,wisfern/vnpy,andrewchenshx/vnpy,msincenselee/vnpy,wylwang/vnpy,harveywwu/vnpy,rrrrrr8/vnpy,bigdig/vnpy,rrrrrr8/vnpy,xcbat/vnpy,andrewchenshx/vnpy,wylwang/vnpy,rrrrrr8/vnpy,jiangjinjinyxt/vnpy,jiangjinjinyxt/vnpy,bigdig/vnpy,wylwang/vnpy,bigdig/vnpy,ujfjhz/vnpy,vnpy/vnpy,ujfjhz/vnpy,ujfjhz/vnpy,andrewchenshx/vnpy,vnpy/vnpy,xcbat/vnpy,rrrrrr8/vnpy,xcbat/vnpy,msincenselee/vnpy,wylwang/vnpy,msincenselee/vnpy,harveywwu/vnpy,ujfjhz/vnpy,rrrrrr8/vnpy,bigdig/vnpy,wisfern/vnpy,wisfern/vnpy,jiangjinjinyxt/vnpy,andrewchenshx/vnpy,wisfern/vnpy,jiangjinjinyxt/vnpy,xcbat/vnpy,wylwang/vnpy,harveywwu/vnpy,wisfern/vnpy,andrewchenshx/vnpy
|
setup.py
|
setup.py
|
# encoding: UTF-8
'''
vn.py - By Traders, For Traders.
The vn.py project is an open-source quantitative trading framework
that is developed by traders, for traders.
The project is mainly written in Python and uses C++ for low-layer
and performance sensitive infrastructure.
Using the vn.py project, institutional investors and professional
traders, such as hedge funds, prop trading firms and investment banks,
can easily develop complex trading strategies with the Event Engine
Strategy Module, and automatically route their orders to the most
desired destinations, including equity, commodity, forex and many
other financial markets.
'''
import os
from setuptools import setup
import vnpy
def getSubpackages(name):
"""获取该模块下所有的子模块名称"""
splist = []
for dirpath, _dirnames, _filenames in os.walk(name):
if os.path.isfile(os.path.join(dirpath, '__init__.py')):
splist.append(".".join(dirpath.split(os.sep)))
return splist
setup(
name='vnpy',
version=vnpy.__version__,
author=vnpy.__author__,
author_email='[email protected]',
license='MIT',
url='http://www.vnpy.org',
description='A framework for developing Quantitative Trading programmes',
long_description = __doc__,
keywords='quant quantitative investment trading algotrading',
classifiers=['Development Status :: 4 - Beta',
'Operating System :: Microsoft :: Windows :: Windows 7',
'Operating System :: Microsoft :: Windows :: Windows 8',
'Operating System :: Microsoft :: Windows :: Windows 10',
'Operating System :: Microsoft :: Windows :: Windows Server 2008',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Office/Business :: Financial :: Investment',
'Programming Language :: Python :: Implementation :: CPython',
'License :: OSI Approved :: MIT License'],
packages=getSubpackages('vnpy'),
package_data={'': ['*.json', '*.md', '*.ico',
'*.h', '*.cpp', '*.bash', '*.txt',
'*.dll', '*.lib', '*.so', '*.pyd',
'*.dat', '*.ini', '*.pfx', '*.scc', '*.crt', '*.key']},
)
|
# encoding: UTF-8
'''
vn.py - By Traders, For Traders.
The vn.py project is an open-source quantitative trading framework
that is developed by traders, for traders.
The project is mainly written in Python and uses C++ for low-layer
and performance sensitive infrastructure.
Using the vn.py project, institutional investors and professional
traders, such as hedge funds, prop trading firms and investment banks,
can easily develop complex trading strategies with the Event Engine
Strategy Module, and automatically route their orders to the most
desired destinations, including equity, commodity, forex and many
other financial markets.
'''
import os
from setuptools import setup
import vnpy
def getSubpackages(name):
"""获取该模块下所有的子模块名称"""
splist = []
for dirpath, _dirnames, _filenames in os.walk(name):
if os.path.isfile(os.path.join(dirpath, '__init__.py')):
splist.append(".".join(dirpath.split(os.sep)))
return splist
setup(
name='vnpy',
version=vnpy.__version__,
author=vnpy.__author__,
author_email='[email protected]',
license='MIT',
url='http://www.vnpy.org',
description='A framework for developing quantitative trading programmes',
long_description = __doc__,
keywords='quant quantitative investment trading algotrading',
classifiers=['Development Status :: 4 - Beta',
'Environment :: Quantiative Trading',
'Operating System :: Windows 7',
'Operating System :: Windows 8',
'Operating System :: Windows 10',
'Operating System :: Windows Server 2008',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License'],
packages=getSubpackages('vnpy'),
package_data={'': ['*.json', '*.md', '*.ico',
'*.h', '*.cpp', '*.bash', '*.txt',
'*.dll', '*.lib', '*.so', '*.pyd',
'*.dat', '*.ini', '*.pfx', '*.scc', '*.crt', '*.key']},
)
|
mit
|
Python
|
dd1bb5d8d00c676fef91ce7d3f58cd7af44f854f
|
Bump version to 2.0.0
|
kstark/months
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
# TODO: put package requirements here
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='months',
version='2.0.0',
description="Python library for representing specific months",
long_description=readme + '\n\n' + history,
author="Kyle Stark",
author_email='[email protected]',
url='https://github.com/kstark/months',
packages=[
'months',
],
package_dir={'months':
'months'},
include_package_data=True,
install_requires=requirements,
license="MIT",
zip_safe=False,
keywords='months',
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.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
test_suite='tests',
tests_require=test_requirements
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
# TODO: put package requirements here
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='months',
version='1.1.0',
description="Python library for representing specific months",
long_description=readme + '\n\n' + history,
author="Kyle Stark",
author_email='[email protected]',
url='https://github.com/kstark/months',
packages=[
'months',
],
package_dir={'months':
'months'},
include_package_data=True,
install_requires=requirements,
license="MIT",
zip_safe=False,
keywords='months',
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.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
test_suite='tests',
tests_require=test_requirements
)
|
mit
|
Python
|
972a4088a11c03e514ff9f75636166951561fe6d
|
Add copyright header to setup.py
|
pwithnall/dbus-deviation,pwithnall/dbus-deviation,pwithnall/dbus-deviation
|
setup.py
|
setup.py
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
# vim: ai ts=4 sts=4 et sw=4
#
# Copyright © 2015 Collabora Ltd.
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
# (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, merge,
# publish, distribute, sublicense, and/or sell copies of the Software,
# and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
"""
Parse D-Bus introspection XML and process it in various ways
"""
from setuptools import setup, find_packages
import os
__version__ = '0.1.0'
README = open('README').read()
NEWS = open('NEWS').read()
setup(
name='dbus-deviation',
version=__version__,
packages=find_packages(exclude=['*.tests']),
include_package_data=True,
exclude_package_data={'': ['.gitignore']},
zip_safe=True,
setup_requires=[
'setuptools_git >= 0.3',
'setuptools_pep8',
],
install_requires=[],
tests_require=[],
entry_points={
'console_scripts': [
'dbus-interface-diff = dbusdeviation.utilities.diff:main',
],
},
author='Philip Withnall',
author_email='[email protected]',
description=__doc__,
long_description=README + '\n\n' + NEWS,
license='GPLv2+',
url='http://people.collabora.com/~pwith/dbus-deviation/',
test_suite='dbusdeviation.tests',
)
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
# vim: ai ts=4 sts=4 et sw=4
"""
Parse D-Bus introspection XML and process it in various ways
"""
from setuptools import setup, find_packages
import os
__version__ = '0.1.0'
README = open('README').read()
NEWS = open('NEWS').read()
setup(
name='dbus-deviation',
version=__version__,
packages=find_packages(exclude=['*.tests']),
include_package_data=True,
exclude_package_data={'': ['.gitignore']},
zip_safe=True,
setup_requires=[
'setuptools_git >= 0.3',
'setuptools_pep8',
],
install_requires=[],
tests_require=[],
entry_points={
'console_scripts': [
'dbus-interface-diff = dbusdeviation.utilities.diff:main',
],
},
author='Philip Withnall',
author_email='[email protected]',
description=__doc__,
long_description=README + '\n\n' + NEWS,
license='GPLv2+',
url='http://people.collabora.com/~pwith/dbus-deviation/',
test_suite='dbusdeviation.tests',
)
|
lgpl-2.1
|
Python
|
b2640f0b9f9b36ab06066873bc8179842ae3bc24
|
Prepare openprocurement.api 2.3.36.
|
openprocurement/openprocurement.api
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
requires = [
'barbecue',
'chaussette',
'cornice',
'couchdb-schematics',
'gevent',
'iso8601',
'jsonpatch',
'libnacl',
'pbkdf2',
'pycrypto',
'pyramid_exclog',
'requests',
'rfc6266',
'setuptools',
'tzlocal',
]
test_requires = requires + [
'webtest',
'python-coveralls',
]
docs_requires = requires + [
'sphinxcontrib-httpdomain',
]
entry_points = {
'paste.app_factory': [
'main = openprocurement.api:main'
],
'openprocurement.api.plugins': [
'belowThreshold = openprocurement.api:includeme'
],
'openprocurement.api.migrations': [
'tenders = openprocurement.api.migration:migrate_data'
]
}
setup(name='openprocurement.api',
version='2.3.36',
description='openprocurement.api',
long_description=README,
classifiers=[
"Framework :: Pylons",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application"
],
keywords="web services",
author='Quintagroup, Ltd.',
author_email='[email protected]',
license='Apache License 2.0',
url='https://github.com/openprocurement/openprocurement.api',
package_dir={'': 'src'},
py_modules=['cgi'],
packages=find_packages('src'),
namespace_packages=['openprocurement'],
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=test_requires,
extras_require={'test': test_requires, 'docs': docs_requires},
test_suite="openprocurement.api.tests.main.suite",
entry_points=entry_points)
|
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
requires = [
'barbecue',
'chaussette',
'cornice',
'couchdb-schematics',
'gevent',
'iso8601',
'jsonpatch',
'libnacl',
'pbkdf2',
'pycrypto',
'pyramid_exclog',
'requests',
'rfc6266',
'setuptools',
'tzlocal',
]
test_requires = requires + [
'webtest',
'python-coveralls',
]
docs_requires = requires + [
'sphinxcontrib-httpdomain',
]
entry_points = {
'paste.app_factory': [
'main = openprocurement.api:main'
],
'openprocurement.api.plugins': [
'belowThreshold = openprocurement.api:includeme'
],
'openprocurement.api.migrations': [
'tenders = openprocurement.api.migration:migrate_data'
]
}
setup(name='openprocurement.api',
version='2.3.33',
description='openprocurement.api',
long_description=README,
classifiers=[
"Framework :: Pylons",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application"
],
keywords="web services",
author='Quintagroup, Ltd.',
author_email='[email protected]',
license='Apache License 2.0',
url='https://github.com/openprocurement/openprocurement.api',
package_dir={'': 'src'},
py_modules=['cgi'],
packages=find_packages('src'),
namespace_packages=['openprocurement'],
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=test_requires,
extras_require={'test': test_requires, 'docs': docs_requires},
test_suite="openprocurement.api.tests.main.suite",
entry_points=entry_points)
|
apache-2.0
|
Python
|
fe34a52f7aab7119c2aa8f69b0db914f33902d97
|
bump version before release (no refs)
|
Opentopic/falcon-api
|
setup.py
|
setup.py
|
from setuptools import find_packages, setup
setup(
name='opentopic-falcon-api',
version='0.3.6',
author='Tomasz Roszko',
author_email='[email protected]',
description='Base Library for services api endpoints',
url='http://git.opentopic.com/backend/falcon-api',
license='GNU GENERAL PUBLIC LICENSE',
platforms=['OS Independent'],
packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.x',
],
install_requires=[
'falcon==1.0.0',
'mongoengine==0.10.6',
'SQLAlchemy==1.0.12',
'sphinx-rtd-theme==0.1.9'
],
)
|
from setuptools import find_packages, setup
setup(
name='opentopic-falcon-api',
version='0.3.5',
author='Tomasz Roszko',
author_email='[email protected]',
description='Base Library for services api endpoints',
url='http://git.opentopic.com/backend/falcon-api',
license='GNU GENERAL PUBLIC LICENSE',
platforms=['OS Independent'],
packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.x',
],
install_requires=[
'falcon==1.0.0',
'mongoengine==0.10.6',
'SQLAlchemy==1.0.12',
'sphinx-rtd-theme==0.1.9'
],
)
|
mit
|
Python
|
6dfaa5c97fe9342a26610f53aea533a39af5d8c5
|
Use setuptools instead of distutils
|
abusesa/idiokit
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
from idiokit import __version__
setup(
name="idiokit",
version=__version__,
author="Clarified Networks",
author_email="[email protected]",
url="https://github.com/abusesa/idiokit",
packages=find_packages(exclude=["*.tests"]),
license="MIT"
)
|
import os
import errno
from distutils.core import setup
from distutils.dir_util import remove_tree
from distutils.util import convert_path
from distutils.command.build import build as _build
from distutils.command.install import install as _install
from idiokit import __version__
def rmtree(path):
try:
remove_tree(convert_path(path))
except OSError, err:
if err.errno != errno.ENOENT:
raise
class Build(_build):
def run(self):
clean = self.distribution.reinitialize_command("clean", reinit_subcommands=True)
clean.all = True
self.distribution.run_command("clean")
_build.run(self)
class Install(_install):
def run(self):
build_py = self.distribution.get_command_obj("build_py")
if self.distribution.packages:
for package in self.distribution.packages:
package_dir = build_py.get_package_dir(package)
rmtree(os.path.join(self.install_lib, package_dir))
_install.run(self)
setup(
name="idiokit",
version=__version__,
author="Clarified Networks",
author_email="[email protected]",
url="https://github.com/abusesa/idiokit",
packages=[
"idiokit",
"idiokit.xmpp",
"idiokit.dns",
"idiokit.http",
"idiokit.http.handlers"
],
license="MIT",
cmdclass={
"build": Build,
"install": Install
}
)
|
mit
|
Python
|
f8c049e1b6a6309d494771e4038aa10b40bfbf76
|
Move 'nose' dependency to 'tests_require'
|
matze/pkgconfig
|
setup.py
|
setup.py
|
from setuptools import setup
VERSION = '1.2.2'
setup(
name='pkgconfig',
version=VERSION,
author='Matthias Vogelgesang',
author_email='[email protected]',
url='http://github.com/matze/pkgconfig',
license='MIT',
packages=['pkgconfig'],
description="Interface Python with pkg-config",
long_description=open('README.rst').read(),
tests_require=['nose>=1.0'],
python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*',
test_suite='test',
)
|
from setuptools import setup
VERSION = '1.2.2'
setup(
name='pkgconfig',
version=VERSION,
author='Matthias Vogelgesang',
author_email='[email protected]',
url='http://github.com/matze/pkgconfig',
license='MIT',
packages=['pkgconfig'],
description="Interface Python with pkg-config",
long_description=open('README.rst').read(),
setup_requires=['nose>=1.0'],
python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*',
test_suite='test',
)
|
mit
|
Python
|
35b6a835bd93bed97e85e216fa81011220851081
|
Bump version
|
sesh/djver
|
setup.py
|
setup.py
|
import setuptools
setuptools.setup(
name="djver",
version="2.1.0",
url="https://github.com/sesh/djver",
author="Brenton Cleeland",
author_email="[email protected]",
description="Ever wanted to know what version of Django someone else is running?",
packages=setuptools.find_packages(),
install_requires=['requests', 'docopt'],
entry_points={
'console_scripts': [
'djver = djver.djver:djver',
]
},
classifiers=[
# 'Development Status :: 2 - Pre-Alpha',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
)
|
import setuptools
setuptools.setup(
name="djver",
version="2.0.0",
url="https://github.com/sesh/djver",
author="Brenton Cleeland",
author_email="[email protected]",
description="Ever wanted to know what version of Django someone else is running?",
packages=setuptools.find_packages(),
install_requires=['requests', 'docopt'],
entry_points={
'console_scripts': [
'djver = djver.djver:djver',
]
},
classifiers=[
# 'Development Status :: 2 - Pre-Alpha',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
)
|
mit
|
Python
|
add607e2920148572c9fc421b6cdeaa1f17d9c38
|
Bump version to 0.8.2
|
thombashi/pingparsing,thombashi/pingparsing
|
setup.py
|
setup.py
|
# encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <[email protected]>
"""
import io
import os.path
import sys
import setuptools
REQUIREMENT_DIR = "requirements"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
with io.open("README.rst", encoding="utf8") as fp:
long_description = fp.read()
with io.open(os.path.join(
"docs", "pages", "introduction", "summary.txt"), encoding="utf8") as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
if sys.version_info.major < 3 or sys.version_info.minor < 4:
install_requires.append("ipaddress")
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pingparsing",
version="0.8.2",
author="Tsuyoshi Hombashi",
author_email="[email protected]",
url="https://github.com/thombashi/pingparsing",
keywords=["ping", "parser", "transmitter"],
license="MIT License",
description=summary,
long_description=long_description,
include_package_data=True,
install_requires=install_requires,
packages=setuptools.find_packages(exclude=["test*"]),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"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",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking",
],
)
|
# encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <[email protected]>
"""
import io
import os.path
import sys
import setuptools
REQUIREMENT_DIR = "requirements"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
with io.open("README.rst", encoding="utf8") as fp:
long_description = fp.read()
with io.open(os.path.join(
"docs", "pages", "introduction", "summary.txt"), encoding="utf8") as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
if sys.version_info.major < 3 or sys.version_info.minor < 4:
install_requires.append("ipaddress")
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pingparsing",
version="0.8.1",
author="Tsuyoshi Hombashi",
author_email="[email protected]",
url="https://github.com/thombashi/pingparsing",
keywords=["ping", "parser", "transmitter"],
license="MIT License",
description=summary,
long_description=long_description,
include_package_data=True,
install_requires=install_requires,
packages=setuptools.find_packages(exclude=["test*"]),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"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",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking",
],
)
|
mit
|
Python
|
839dbc8a22d505578b17adae41e5ce1f3cae9672
|
update license
|
chfw/pyexcel-xlsx,chfw/pyexcel-xlsx
|
setup.py
|
setup.py
|
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import sys
with open("README.rst", 'r') as readme:
README_txt = readme.read()
dependencies = [
'openpyxl',
'pyexcel-io'
]
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
dependencies.append('ordereddict')
setup(
name='pyexcel-xlsx',
author="C. W.",
version='0.0.1',
author_email="[email protected]",
url="https://github.com/chfw/pyexcel-xlsx",
description='A wrapper library to read, manipulate and write data in xlsx and xlsm format',
install_requires=dependencies,
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
long_description=README_txt,
zip_safe=False,
tests_require=['nose'],
license='General Publice License version 3',
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Office/Business',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy'
]
)
|
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import sys
with open("README.rst", 'r') as readme:
README_txt = readme.read()
dependencies = [
'openpyxl',
'pyexcel-io'
]
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
dependencies.append('ordereddict')
setup(
name='pyexcel-xlsx',
author="C. W.",
version='0.0.1',
author_email="[email protected]",
url="https://github.com/chfw/pyexcel-xlsx",
description='A wrapper library to read, manipulate and write data in xlsx and xlsm format',
install_requires=dependencies,
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
long_description=README_txt,
zip_safe=False,
tests_require=['nose'],
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Office/Business',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy'
]
)
|
bsd-3-clause
|
Python
|
7530eed51b39d4d02b91a5dd1a382b6a1b43f9cc
|
update metadata
|
rch/flask-extdirect
|
setup.py
|
setup.py
|
"""
Flask-Sencha
-------------
This is the description for that library
"""
from setuptools import setup
setup(
name='Flask-ExtDirect',
version='0.1',
url='http://github.com/rch/flask-extdirect',
license='MIT',
author='Ryan C. Hill',
author_email='@zndx.org',
description='Sencha Ext.Direct connector for Flask',
long_description=__doc__,
# py_modules=['flask_extdirect'],
packages=[
'flask_sencha',
'flask_sencha.direct',
'flask_sencha.direct.message',
'flask_sencha.direct.message.action',
'flask_sencha.direct.message.action.data',
'flask_sencha.direct.resource',
'flask_sencha.direct.resource.provider',
],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=[
'python-dateutil',
'Flask',
'Celery',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
|
"""
Flask-Sencha
-------------
This is the description for that library
"""
from setuptools import setup
setup(
name='Flask-Sencha',
version='0.1',
url='http://github.com/rch/flask-extdirect',
license='BSD',
author='Ryan C. Hill',
author_email='@zndx.org',
description='Very short description',
long_description=__doc__,
# py_modules=['flask_extdirect'],
packages=[
'flask_sencha',
'flask_sencha.direct',
'flask_sencha.direct.message',
'flask_sencha.direct.message.action',
'flask_sencha.direct.message.action.data',
'flask_sencha.direct.resource',
'flask_sencha.direct.resource.provider',
],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=[
'python-dateutil',
'Flask',
'celery',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
|
mit
|
Python
|
6fa473ee554c71812fb102d76973410e059031b2
|
Add long_description field in setup.
|
ghisvail/nfft-cffi
|
setup.py
|
setup.py
|
# Copyright (c) 2016, Imperial College London
# Copyright (c) 2016, Ghislain Antony Vaillant
# All rights reserved.
#
# Distributed under the terms of the new BSD license.
# See the accompanying LICENSE file or read the terms at
# https://opensource.org/licenses/BSD-3-Clause.
from setuptools import find_packages, setup
def get_install_requires():
from distutils.version import StrictVersion
from sys import version_info
install_requires = ['cffi>=1.0.0', 'numpy']
py_version = StrictVersion('.'.join(str(n) for n in version_info[:3]))
if py_version < StrictVersion('3.4'):
install_requires.append('enum34')
# Utility function to read the README file for the long_description field.
def read(fname):
import os
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'nfft-cffi',
version = '0.1',
description = 'Python interface to the NFFT library',
long_description=read('README.rst'),
url = 'https://github.com/ghisvail/nfft-cffi',
author = 'Ghislain Antony Vaillant',
author_email = '[email protected]',
license = 'BSD',
classifiers = [
'Development Status :: 3 - Alpha'
'Intended Audience :: Science/Research'
'License :: OSI Approved :: BSD License'
'Programming Language :: Python'
'Topic :: Software Development'
],
keywords = 'gridding nfft nufft nusfft',
packages=find_packages(exclude=['builders', 'docs', 'tests']),
setup_requires=['cffi>=1.0.0', 'pkgconfig', 'nose>=1.0'],
install_requires=get_install_requires(),
ext_package='nfft',
cffi_modules=['builders/build_bindings.py:ffi'],
)
|
# Copyright (c) 2016, Imperial College London
# Copyright (c) 2016, Ghislain Antony Vaillant
# All rights reserved.
#
# Distributed under the terms of the new BSD license.
# See the accompanying LICENSE file or read the terms at
# https://opensource.org/licenses/BSD-3-Clause.
from setuptools import find_packages, setup
def get_install_requires():
from distutils.version import StrictVersion
from sys import version_info
install_requires = ['cffi>=1.0.0', 'numpy']
py_version = StrictVersion('.'.join(str(n) for n in version_info[:3]))
if py_version < StrictVersion('3.4'):
install_requires.append('enum34')
setup(
name = 'nfft-cffi',
version = '0.1',
description = 'Python interface to the NFFT library',
url = 'https://github.com/ghisvail/nfft-cffi',
author = 'Ghislain Antony Vaillant',
author_email = '[email protected]',
license = 'BSD',
classifiers = [
'Development Status :: 3 - Alpha'
'Intended Audience :: Science/Research'
'License :: OSI Approved :: BSD License'
'Programming Language :: Python'
'Topic :: Software Development'
],
keywords = 'gridding nfft nufft nusfft',
packages=find_packages(exclude=['builders', 'docs', 'tests']),
setup_requires=['cffi>=1.0.0', 'pkgconfig', 'nose>=1.0'],
install_requires=get_install_requires(),
ext_package='nfft',
cffi_modules=['builders/build_bindings.py:ffi'],
)
|
bsd-3-clause
|
Python
|
e3514b73bcbffbab2597a4eb068d3c03cf8d942b
|
bump 0.5.6
|
Rostlab/nalaf
|
setup.py
|
setup.py
|
from setuptools import setup
from setuptools import find_packages
def readme():
with open('README.md', encoding='utf-8') as file:
return file.read()
def license():
with open('LICENSE.txt', encoding='utf-8') as file:
return file.read()
setup(
name='nalaf',
version='0.5.6',
description='Natural Language Framework, for NER and RE',
long_description=readme(),
classifiers=[
'Natural Language :: English',
'Programming Language :: Python :: 3.5',
'Topic :: Text Processing :: Linguistic'
],
keywords='nlp nlu ner re natural langauge crf svm extraction entities relationships framework',
url='https://github.com/Rostlab/nalaf',
author='Aleksandar Bojchevski, Carsten Uhlig, Juan Miguel Cejuela',
author_email='[email protected]',
license=license(),
packages=find_packages(exclude=['tests']),
install_requires=[
# ML
'numpy == 1.16.*',
'scipy >= 0.18.1, < 1.3',
'gensim >= 0.13.3, <= 0.13.4.1', # In 1.0.0 they move .vocab: https://github.com/RaRe-Technologies/gensim/blob/master/CHANGELOG.md#100-2017-02-24
'scikit-learn >= 0.18.1, <= 0.20.3',
'spacy == 1.2.0',
'python-crfsuite >= 0.9.3, <= 0.9.6',
'nltk >= 3.2.1',
# Other
'beautifulsoup4 >= 4.5.1',
'requests >= 2.21.0',
'progress >= 1.2',
'hdfs == 2.1.0',
'urllib3 >=1.20, <1.25' # force, due to dependency problems with botocore
],
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
setup_requires=['nose>=1.0'],
)
|
from setuptools import setup
from setuptools import find_packages
def readme():
with open('README.md', encoding='utf-8') as file:
return file.read()
def license():
with open('LICENSE.txt', encoding='utf-8') as file:
return file.read()
setup(
name='nalaf',
version='0.5.6-SNAPSHOT',
description='Natural Language Framework, for NER and RE',
long_description=readme(),
classifiers=[
'Natural Language :: English',
'Programming Language :: Python :: 3.5',
'Topic :: Text Processing :: Linguistic'
],
keywords='nlp nlu ner re natural langauge crf svm extraction entities relationships framework',
url='https://github.com/Rostlab/nalaf',
author='Aleksandar Bojchevski, Carsten Uhlig, Juan Miguel Cejuela',
author_email='[email protected]',
license=license(),
packages=find_packages(exclude=['tests']),
install_requires=[
# ML
'numpy == 1.16.*',
'scipy >= 0.18.1, < 1.3',
'gensim >= 0.13.3, <= 0.13.4.1', # In 1.0.0 they move .vocab: https://github.com/RaRe-Technologies/gensim/blob/master/CHANGELOG.md#100-2017-02-24
'scikit-learn >= 0.18.1, <= 0.20.3',
'spacy == 1.2.0',
'python-crfsuite >= 0.9.3, <= 0.9.6',
'nltk >= 3.2.1',
# Other
'beautifulsoup4 >= 4.5.1',
'requests >= 2.21.0',
'progress >= 1.2',
'hdfs == 2.1.0',
'urllib3 >=1.20, <1.25' # force, due to dependency problems with botocore
],
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
setup_requires=['nose>=1.0'],
)
|
apache-2.0
|
Python
|
8c3c15aca9bf78051b684ac46b72aff79f6640d3
|
fix README path
|
uncovertruth/django-elastipymemcache
|
setup.py
|
setup.py
|
from setuptools import setup
import django_elastipymemcache
setup(
name='django-elastipymemcache',
version=django_elastipymemcache.__version__,
description='Django cache backend for Amazon ElastiCache (memcached)',
long_description=open('README.md').read(),
author='Danil Gusev',
platforms='any',
author_email='[email protected]',
url='http://github.com/uncovertruth/django-elastipymemcache',
license='MIT',
keywords='elasticache amazon cache pymemcache memcached aws',
packages=['django_elastipymemcache'],
install_requires=['pymemcache', 'Django>=1.7'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Environment :: Web Environment :: Mozilla',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
from setuptools import setup
import django_elastipymemcache
setup(
name='django-elastipymemcache',
version=django_elastipymemcache.__version__,
description='Django cache backend for Amazon ElastiCache (memcached)',
long_description=open('README.rst').read(),
author='Danil Gusev',
platforms='any',
author_email='[email protected]',
url='http://github.com/uncovertruth/django-elastipymemcache',
license='MIT',
keywords='elasticache amazon cache pymemcache memcached aws',
packages=['django_elastipymemcache'],
install_requires=['pymemcache', 'Django>=1.7'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Environment :: Web Environment :: Mozilla',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
mit
|
Python
|
8b8a3731002d3d0434e20b4231b2554008e90f0f
|
add the supported versions of awscli to extras require
|
aio-libs/aiobotocore
|
setup.py
|
setup.py
|
import os
import re
import sys
from setuptools import setup, find_packages
# aiohttp requirement is pegged as we need to manually ensure that
# https://github.com/aio-libs/aiobotocore/pull/248 will continue working
install_requires = ['botocore>=1.5.71, <=1.5.78', 'aiohttp>=2.0.4, <=2.3.0',
'multidict>=2.1.4', 'wrapt>=1.10.10', 'packaging>=16.8']
PY_VER = sys.version_info
if not PY_VER >= (3, 4, 1):
raise RuntimeError("aiobotocore doesn't support Python earlier than 3.4")
def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
extras_require = {'awscli': ['awscli>=1.11.108, <=1.11.115']}
def read_version():
regexp = re.compile(r"^__version__\W*=\W*'([\d.abrc]+)'")
init_py = os.path.join(os.path.dirname(__file__),
'aiobotocore', '__init__.py')
with open(init_py) as f:
for line in f:
match = regexp.match(line)
if match is not None:
return match.group(1)
else:
raise RuntimeError('Cannot find version in '
'aiobotocore/__init__.py')
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web Environment',
'Development Status :: 3 - Alpha',
'Framework :: AsyncIO',
]
setup(name='aiobotocore',
version=read_version(),
description='Async client for aws services using botocore and aiohttp',
long_description='\n\n'.join((read('README.rst'), read('CHANGES.txt'))),
classifiers=classifiers,
author="Nikolay Novik",
author_email="[email protected]",
url='https://github.com/aio-libs/aiobotocore',
download_url='https://pypi.python.org/pypi/aiobotocore',
license='Apache 2',
packages=find_packages(),
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True)
|
import os
import re
import sys
from setuptools import setup, find_packages
# aiohttp requirement is pegged as we need to manually ensure that
# https://github.com/aio-libs/aiobotocore/pull/248 will continue working
install_requires = ['botocore>=1.5.71, <=1.5.78', 'aiohttp>=2.0.4, <=2.3.0',
'multidict>=2.1.4', 'wrapt>=1.10.10', 'packaging>=16.8']
PY_VER = sys.version_info
if not PY_VER >= (3, 4, 1):
raise RuntimeError("aiobotocore doesn't support Python earlier than 3.4")
def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
extras_require = {}
def read_version():
regexp = re.compile(r"^__version__\W*=\W*'([\d.abrc]+)'")
init_py = os.path.join(os.path.dirname(__file__),
'aiobotocore', '__init__.py')
with open(init_py) as f:
for line in f:
match = regexp.match(line)
if match is not None:
return match.group(1)
else:
raise RuntimeError('Cannot find version in '
'aiobotocore/__init__.py')
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web Environment',
'Development Status :: 3 - Alpha',
'Framework :: AsyncIO',
]
setup(name='aiobotocore',
version=read_version(),
description='Async client for aws services using botocore and aiohttp',
long_description='\n\n'.join((read('README.rst'), read('CHANGES.txt'))),
classifiers=classifiers,
author="Nikolay Novik",
author_email="[email protected]",
url='https://github.com/aio-libs/aiobotocore',
download_url='https://pypi.python.org/pypi/aiobotocore',
license='Apache 2',
packages=find_packages(),
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True)
|
apache-2.0
|
Python
|
5961c5bddf89ea7c048aafc16bbabe9630f632f4
|
Make setup.py executable
|
Chimrod/typogrify
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='typogrify',
version='2.0.0',
packages=find_packages(),
author='Christian Metts',
author_email='[email protected]',
license='BSD',
description='Typography related template filters for Django & Jinja2 applications',
url='https://github.com/mintchaos/typogrify',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
'Topic :: Utilities'
],
install_requires=['smartypants>=1.6']
)
|
from setuptools import setup, find_packages
setup(
name='typogrify',
version='2.0.0',
packages=find_packages(),
author='Christian Metts',
author_email='[email protected]',
license='BSD',
description='Typography related template filters for Django & Jinja2 applications',
url='https://github.com/mintchaos/typogrify',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
'Topic :: Utilities'
],
install_requires=['smartypants>=1.6']
)
|
bsd-3-clause
|
Python
|
4a321b060a0e41d15f872e3f080e446657a98ea2
|
Add pycldf dependency
|
lmaurits/BEASTling
|
setup.py
|
setup.py
|
#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from beastling import __version__ as version
requires = [
'six',
'newick>=0.6.0',
'appdirs',
'clldutils',
'pycldf',
]
setup(
name='beastling',
version=version,
description='Command line tool to help mortal linguists use BEAST',
author='Luke Maurits',
author_email='[email protected]',
license="BSD (3 clause)",
classifiers=[
'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',
'License :: OSI Approved :: BSD License',
],
packages=['beastling','beastling.clocks','beastling.fileio','beastling.models'],
install_requires=requires,
tests_require=['mock==1.0.0', 'nose'],
entry_points={
'console_scripts': ['beastling=beastling.cli:main'],
},
package_data={'beastling': ['data/*']},
)
|
#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from beastling import __version__ as version
requires = [
'six',
'newick>=0.6.0',
'appdirs',
'clldutils',
]
setup(
name='beastling',
version=version,
description='Command line tool to help mortal linguists use BEAST',
author='Luke Maurits',
author_email='[email protected]',
license="BSD (3 clause)",
classifiers=[
'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',
'License :: OSI Approved :: BSD License',
],
packages=['beastling','beastling.clocks','beastling.fileio','beastling.models'],
install_requires=requires,
tests_require=['mock==1.0.0', 'nose'],
entry_points={
'console_scripts': ['beastling=beastling.cli:main'],
},
package_data={'beastling': ['data/*']},
)
|
bsd-2-clause
|
Python
|
70be93343a985b4aa81944649c42c4138fece388
|
Use regex for finding version in __init__.py
|
hfaran/piazza-api
|
setup.py
|
setup.py
|
from __future__ import print_function
import codecs
import os
import re
from setuptools import setup
def read(filename):
"""Read and return `filename` in root dir of project and return string"""
here = os.path.abspath(os.path.dirname(__file__))
return codecs.open(os.path.join(here, filename), 'r').read()
# https://github.com/kennethreitz/requests/blob/master/setup.py#L32
with open('piazza_api/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
install_requires = read("requirements.txt").split()
long_description = read('README.md')
setup(
name='piazza-api',
version=version,
url='http://github.com/hfaran/piazza-api/',
license='MIT License',
author='Hamza Faran',
install_requires=install_requires,
description="Unofficial Client for Piazza's Internal API",
long_description=long_description,
packages=['piazza_api'],
platforms='any',
classifiers = [
'Programming Language :: Python',
'Development Status :: 3 - Alpha',
'Natural Language :: English',
'Environment :: Web Environment',
'Intended Audience :: Developers',
"License :: OSI Approved :: MIT License",
'Operating System :: OS Independent',
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
from __future__ import print_function
import codecs
import os
from setuptools import setup, find_packages
import piazza_api
def read(filename):
"""Read and return `filename` in root dir of project and return string"""
here = os.path.abspath(os.path.dirname(__file__))
return codecs.open(os.path.join(here, filename), 'r').read()
install_requires = read("requirements.txt").split()
long_description = read('README.md')
setup(
name='piazza-api',
version=piazza_api.__version__,
url='http://github.com/hfaran/piazza-api/',
license='MIT License',
author='Hamza Faran',
install_requires=install_requires,
description="Unofficial Client for Piazza's Internal API",
long_description=long_description,
packages=['piazza_api'],
platforms='any',
classifiers = [
'Programming Language :: Python',
'Development Status :: 3 - Alpha',
'Natural Language :: English',
'Environment :: Web Environment',
'Intended Audience :: Developers',
"License :: OSI Approved :: MIT License",
'Operating System :: OS Independent',
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
mit
|
Python
|
691e9df7cf5434a1296c0643bc9c62edde72b1c6
|
Bump version number.
|
ProjetPP/PPP-Logger,ProjetPP/PPP-Logger
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_logger',
version='0.2.2',
description='Logging backend for PPP user interfaces.',
url='https://github.com/ProjetPP/PPP-Core',
author='Valentin Lorentz',
author_email='[email protected]',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Software Development :: Libraries',
],
install_requires=[
'requests',
'sqlalchemy>=0.9',
'ppp_datamodel>=0.5,<0.7',
'ppp_libmodule>=0.7,<0.8',
],
packages=[
'ppp_logger',
],
)
|
#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_logger',
version='0.2.1',
description='Logging backend for PPP user interfaces.',
url='https://github.com/ProjetPP/PPP-Core',
author='Valentin Lorentz',
author_email='[email protected]',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Software Development :: Libraries',
],
install_requires=[
'requests',
'sqlalchemy>=0.9',
'ppp_datamodel>=0.5,<0.7',
'ppp_libmodule>=0.7,<0.8',
],
packages=[
'ppp_logger',
],
)
|
mit
|
Python
|
b4bc0dc0c4bd53c8af0cf6f878708a8b22a5f832
|
set version to 1.0.0
|
teroqim/linkedlist
|
setup.py
|
setup.py
|
from setuptools import setup
setup(name='linkedlist',
version='1.0.0',
description='General purpose linked list',
url='https://github.com/teroqim/linkedlist',
author='Peter Andersson',
author_email='[email protected]',
packages=['linkedlist'],
zip_safe=False)
|
from setuptools import setup
setup(name='linkedlist',
version='0.0.1',
description='General purpose linked list',
url='https://github.com/teroqim/linkedlist',
author='Peter Andersson',
author_email='[email protected]',
packages=['linkedlist'],
zip_safe=False)
|
mit
|
Python
|
4e32c1597891c67daf03d71e35bc499cfba3e596
|
Bump version number.
|
stefanv/lulu
|
setup.py
|
setup.py
|
from distutils.core import setup, Extension
from Cython.Distutils import build_ext
import numpy
def cext(name):
return Extension('lulu.%s' % name, ['lulu/%s.pyx' % name],
include_dirs=[numpy.get_include()])
setup(name='lulu',
version='0.9.3',
description='Fast and efficient implementation of the 2D '
'discrete pulse transform (LULU-operator)',
author='Stefan van der Walt',
author_email='[email protected]',
license='GPL',
url='http://dip.sun.ac.za/~stefan/code/lulu.git',
# -----
cmdclass={'build_ext': build_ext},
ext_modules=[cext('connected_region'),
cext('connected_region_handler'),
cext('ccomp'),
cext('base')],
package_data={'': ['*.txt', '*.png', '*.jpg']},
packages=['lulu', 'lulu.tests'],
)
|
from distutils.core import setup, Extension
from Cython.Distutils import build_ext
import numpy
def cext(name):
return Extension('lulu.%s' % name, ['lulu/%s.pyx' % name],
include_dirs=[numpy.get_include()])
setup(name='lulu',
version='0.9.2',
description='Fast and efficient implementation of the 2D '
'discrete pulse transform (LULU-operator)',
author='Stefan van der Walt',
author_email='[email protected]',
license='GPL',
url='http://dip.sun.ac.za/~stefan/code/lulu.git',
# -----
cmdclass={'build_ext': build_ext},
ext_modules=[cext('connected_region'),
cext('connected_region_handler'),
cext('ccomp'),
cext('base')],
package_data={'': ['*.txt', '*.png', '*.jpg']},
packages=['lulu', 'lulu.tests'],
)
|
bsd-3-clause
|
Python
|
26daa433b28b886ad6aa68bd5e40736e7d892c3a
|
Update version.
|
wsmith323/staticmodel,wsmith323/constantmodel
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
__version__ = "0.1.5"
def file_read(filename):
filepath = os.path.join(os.path.dirname(__file__), filename)
with open(filepath) as flo:
return flo.read()
setup(
name="staticmodel",
version=__version__,
packages=find_packages(exclude=['tests', 'docs']),
install_requires=['six'],
author="Warren A. Smith",
author_email="[email protected]",
description="Static Models.",
long_description=file_read("README.rst"),
license="MIT",
keywords="static constant model enum",
url="https://github.com/wsmith323/staticmodel",
test_suite="tests",
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.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
|
import os
from setuptools import setup, find_packages
__version__ = "0.1.4"
def file_read(filename):
filepath = os.path.join(os.path.dirname(__file__), filename)
with open(filepath) as flo:
return flo.read()
setup(
name="staticmodel",
version=__version__,
packages=find_packages(exclude=['tests', 'docs']),
install_requires=['six'],
author="Warren A. Smith",
author_email="[email protected]",
description="Static Models.",
long_description=file_read("README.rst"),
license="MIT",
keywords="static constant model enum",
url="https://github.com/wsmith323/staticmodel",
test_suite="tests",
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.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
|
mit
|
Python
|
1ded6a3f75629695f477f69881d125c2b9221447
|
increment version to 2.0.4
|
srob650/pytvmaze
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name = 'pytvmaze',
version = '2.0.4',
description = 'Python interface to the TV Maze API (www.tvmaze.com)',
url = 'https://github.com/srob650/pytvmaze',
author = 'Spencer Roberts',
author_email = '[email protected]',
license='MIT',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5'
],
keywords = 'python tv television tvmaze',
packages=['pytvmaze'],
install_requires=['requests']
)
|
from setuptools import setup, find_packages
setup(
name = 'pytvmaze',
version = '2.0.3',
description = 'Python interface to the TV Maze API (www.tvmaze.com)',
url = 'https://github.com/srob650/pytvmaze',
author = 'Spencer Roberts',
author_email = '[email protected]',
license='MIT',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5'
],
keywords = 'python tv television tvmaze',
packages=['pytvmaze'],
install_requires=['requests']
)
|
mit
|
Python
|
aa9e7f322882ab2d94c5426aef8c0490601f278c
|
Remove six from list.
|
mapledyne/skytap,FulcrumIT/skytap
|
setup.py
|
setup.py
|
from setuptools import find_packages
from setuptools import setup
setup(
name='skytap',
packages=find_packages(),
version='1.0.2',
description='Skytap REST API access modules',
author='Fulcrum Technologies',
author_email='[email protected]',
install_requires=['requests'],
url='https://github.com/FulcrumIT/skytap',
download_url='https://github.com/FulcrumIT/skytap/tarball/v1.0.2',
keywords=['skytap', 'cloud', 'client', 'rest', 'api', 'development'],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Systems Administration",
"Topic :: Internet",
]
)
|
from setuptools import find_packages
from setuptools import setup
setup(
name='skytap',
packages=find_packages(),
version='1.0.2',
description='Skytap REST API access modules',
author='Fulcrum Technologies',
author_email='[email protected]',
install_requires=['requests', 'six'],
url='https://github.com/FulcrumIT/skytap',
download_url='https://github.com/FulcrumIT/skytap/tarball/v1.0.2',
keywords=['skytap', 'cloud', 'client', 'rest', 'api', 'development'],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Systems Administration",
"Topic :: Internet",
]
)
|
mit
|
Python
|
505446d8c45429242889230ae60df9f4d297304d
|
bump version number
|
paltman/pymediainfo,paltman-archive/pymediainfo,honsiorovskyi/pymediainfo,legrostdg/pymediainfo,denex/pymediainfo,honsiorovskyi/pymediainfo
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='pymediainfo',
version = '1.3.3',
author='Patrick Altman',
author_email='[email protected]',
url='[email protected]/paltman/pymediainfo.git',
description="""A Python wrapper for the mediainfo command line tool.""",
packages=find_packages(),
namespace_packages = [],
include_package_data = True,
zip_safe=False,
license='MIT',
install_requires=['simplejson',]
)
|
from setuptools import setup, find_packages
setup(
name='pymediainfo',
version = '1.3.2',
author='Patrick Altman',
author_email='[email protected]',
url='[email protected]/paltman/pymediainfo.git',
description="""A Python wrapper for the mediainfo command line tool.""",
packages=find_packages(),
namespace_packages = [],
include_package_data = True,
zip_safe=False,
license='MIT',
install_requires=['simplejson',]
)
|
mit
|
Python
|
0d50e39803db371c9352bfc5f1c0c853ce647006
|
fix pypi build
|
jproffitt/django-herald,worthwhile/django-herald,worthwhile/django-herald,jproffitt/django-herald
|
setup.py
|
setup.py
|
from setuptools import find_packages, setup
VERSION = '0.1.1'
setup(
name='django-herald',
version=VERSION,
author='Worthwhile',
author_email='[email protected]',
install_requires=['django>=1.8', 'six'],
packages=find_packages(),
include_package_data=True, # declarations in MANIFEST.in
license='MIT',
url='https://github.com/worthwhile/django-herald/',
download_url='https://github.com/worthwhile/django-herald/tarball/'+VERSION,
description="Django library for separating the message content from transmission method",
long_description=open('README.md').read(),
keywords=['django', 'notifications', 'messaging'],
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Programming Language :: Python',
'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',
],
)
|
from setuptools import find_packages
from distutils.core import setup
VERSION = '0.1'
setup(
name='django-herald',
version=VERSION,
author='Worthwhile',
author_email='[email protected]',
install_requires=['django>=1.8', 'six'],
packages=find_packages(),
include_package_data=True, # declarations in MANIFEST.in
license='LICENSE',
url='https://github.com/worthwhile/django-herald/',
download_url='https://github.com/worthwhile/django-herald/tarball/'+VERSION,
description="Django library for separating the message content from transmission method",
long_description=open('README.md').read(),
keywords=['django', 'notifications', 'messaging'],
)
|
mit
|
Python
|
d3fec7f0eb48813e4f9895cc5900188cd3a33176
|
Add pytest to tests_require
|
folz/cleverbot.py
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name = 'cleverbot',
version = '0.2.0',
packages = ['cleverbot'],
install_requires = ['future', 'requests'],
tests_require = ['pytest'],
author = 'Rodney Folz',
author_email = '[email protected]',
url = 'https://github.com/folz/cleverbot.py',
description = 'An API for Cleverbot in Python',
classifiers = [
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Operating System :: OS Independent'
]
)
|
from distutils.core import setup
setup(
name = 'cleverbot',
version = '0.2.0',
packages = ['cleverbot'],
install_requires = ['future', 'requests'],
author = 'Rodney Folz',
author_email = '[email protected]',
url = 'https://github.com/folz/cleverbot.py',
description = 'An API for Cleverbot in Python',
classifiers = [
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Operating System :: OS Independent'
]
)
|
bsd-2-clause
|
Python
|
2aef7511f63a525cd54f22c132e652760ccb64dc
|
Change version
|
Zapix/django-confirmaction,Zapix/django-confirmaction
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
import os
from setuptools import setup
LONG_DESCRIPTION = """
Django confirmaction is a battery for confirm actions via email, sms etc.
"""
def long_description():
try:
return open(
os.path.join(os.path.dirname(__file__), "README.md")
).read()
except IOError:
return LONG_DESCRIPTION
setup(
name = "django-confirmaction",
version = "0.0.3",
author = "Aleksandr Aibulatov",
author_email = "[email protected]",
description = "Django battery for confirm some action via email, sms, etc",
license = "BSD",
keywords = "django, battery, confirm action",
url = "https://github.com/Zapix/django-confirmaction",
packages=[
'confirmaction',
'confirmaction.migrations'
],
long_description=long_description(),
install_requires=[
'django>=1.6',
'south>=0.8.4',
'pycrypto'
],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Framework :: Django",
"Programming Language :: Python :: 2.7",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
)
|
# -*- coding: utf-8 -*-
import os
from setuptools import setup
LONG_DESCRIPTION = """
Django confirmaction is a battery for confirm actions via email, sms etc.
"""
def long_description():
try:
return open(
os.path.join(os.path.dirname(__file__), "README.md")
).read()
except IOError:
return LONG_DESCRIPTION
setup(
name = "django-confirmaction",
version = "0.0.2",
author = "Aleksandr Aibulatov",
author_email = "[email protected]",
description = "Django battery for confirm some action via email, sms, etc",
license = "BSD",
keywords = "django, battery, confirm action",
url = "https://github.com/Zapix/django-confirmaction",
packages=[
'confirmaction',
'confirmaction.migrations'
],
long_description=long_description(),
install_requires=[
'django>=1.6',
'south>=0.8.4',
'pycrypto'
],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Framework :: Django",
"Programming Language :: Python :: 2.7",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
)
|
bsd-2-clause
|
Python
|
f27c0541bcbaffdb1b9189ab18d955c7d10d484b
|
make scrapyd package zip unsafe because the scrapyd command requires the txapp.py unpacked to run. fixes #49
|
aivarsk/scrapyd,sigma-random/scrapyd,nyov/scrapyd,dfockler/scrapyd,aivarsk/scrapyd,2014fgq/scrapyd,dfockler/scrapyd,masterPPP/scrapyd,CENDARI/scrapyd,wujuguang/scrapyd,scrapy/scrapyd,nyov/scrapyd,eliasdorneles/scrapyd,2014fgq/scrapyd,eliasdorneles/scrapyd,sigma-random/scrapyd,masterPPP/scrapyd,CENDARI/scrapyd,wujuguang/scrapyd
|
setup.py
|
setup.py
|
from os.path import join, dirname
with open(join(dirname(__file__), 'scrapyd/VERSION')) as f:
version = f.read().strip()
setup_args = {
'name': 'scrapyd',
'version': version,
'url': 'https://github.com/scrapy/scrapyd',
'description': 'A service for running Scrapy spiders, with an HTTP API',
'long_description': open('README.rst').read(),
'author': 'Scrapy developers',
'maintainer': 'Scrapy developers',
'maintainer_email': '[email protected]',
'license': 'BSD',
'packages': ['scrapyd'],
'scripts': ['bin/scrapyd', 'bin/scrapyd-deploy'],
'include_package_data': True,
'zip_safe': False,
'classifiers': [
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'Topic :: Internet :: WWW/HTTP',
],
}
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
else:
setup_args['install_requires'] = ['Twisted>=8.0', 'Scrapy>=0.17']
setup(**setup_args)
|
from os.path import join, dirname
with open(join(dirname(__file__), 'scrapyd/VERSION')) as f:
version = f.read().strip()
setup_args = {
'name': 'scrapyd',
'version': version,
'url': 'https://github.com/scrapy/scrapyd',
'description': 'A service for running Scrapy spiders, with an HTTP API',
'long_description': open('README.rst').read(),
'author': 'Scrapy developers',
'maintainer': 'Scrapy developers',
'maintainer_email': '[email protected]',
'license': 'BSD',
'packages': ['scrapyd'],
'scripts': ['bin/scrapyd', 'bin/scrapyd-deploy'],
'include_package_data': True,
'classifiers': [
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'Topic :: Internet :: WWW/HTTP',
],
}
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
else:
setup_args['install_requires'] = ['Twisted>=8.0', 'Scrapy>=0.17']
setup(**setup_args)
|
bsd-3-clause
|
Python
|
99d0a21bc0ceca486e8f7f4590a2c75d1df89ec9
|
Update to version 0.6.16
|
jadolg/rocketchat_API
|
setup.py
|
setup.py
|
# -*-coding:utf-8-*-
from setuptools import setup
setup(
name='rocketchat_API',
version='0.6.16',
packages=['rocketchat_API', 'rocketchat_API.APIExceptions'],
url='https://github.com/jadolg/rocketchat_API',
license='MIT',
author='Jorge Alberto Díaz Orozco',
author_email='[email protected]',
description='Python API wrapper for Rocket.Chat',
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
install_requires=(
'requests',
)
)
|
# -*-coding:utf-8-*-
from setuptools import setup
setup(
name='rocketchat_API',
version='0.6.15',
packages=['rocketchat_API', 'rocketchat_API.APIExceptions'],
url='https://github.com/jadolg/rocketchat_API',
license='MIT',
author='Jorge Alberto Díaz Orozco',
author_email='[email protected]',
description='Python API wrapper for Rocket.Chat',
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
install_requires=(
'requests',
)
)
|
mit
|
Python
|
fdcc2365904d988d9a52db51c9a8a0d30cda9538
|
Bump flask-caching from 1.7.0 to 1.7.2
|
Meisterschueler/ogn-python,glidernet/ogn-python,glidernet/ogn-python,Meisterschueler/ogn-python,glidernet/ogn-python,Meisterschueler/ogn-python,Meisterschueler/ogn-python,glidernet/ogn-python
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
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.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='ogn-python',
version='0.5.0',
description='A database backend for the Open Glider Network',
long_description=long_description,
url='https://github.com/glidernet/ogn-python',
author='Konstantin Gründger aka Meisterschueler, Fabian P. Schmidt aka kerel, Dominic Spreitz',
author_email='[email protected]',
license='AGPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='gliding ogn',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'Flask==1.0.3',
'flask-sqlalchemy==2.4.0',
'Flask-Migrate==2.5.2',
'flask-bootstrap==3.3.7.1',
'flask-nav==0.6',
'flask-wtf==0.14.2',
'flask-caching==1.7.2',
'geopy==1.20.0',
'celery==4.3.0',
'redis==3.2.1',
'aerofiles==1.0.0',
'geoalchemy2==0.6.2',
'shapely==1.6.4.post2',
'ogn-client==0.9.1',
'psycopg2-binary==2.8.2',
'mgrs==1.3.5',
'xmlunittest==0.5.0',
'tqdm==4.32.1',
'requests==2.21.0',
],
extras_require={
'dev': [
'nose==1.3.7',
'coveralls==1.8.0',
'flake8==3.5.0',
'xmlunittest==0.4.0'
]
},
zip_safe=False
)
|
#!/usr/bin/env python3
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.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='ogn-python',
version='0.5.0',
description='A database backend for the Open Glider Network',
long_description=long_description,
url='https://github.com/glidernet/ogn-python',
author='Konstantin Gründger aka Meisterschueler, Fabian P. Schmidt aka kerel, Dominic Spreitz',
author_email='[email protected]',
license='AGPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='gliding ogn',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'Flask==1.0.3',
'flask-sqlalchemy==2.4.0',
'Flask-Migrate==2.5.2',
'flask-bootstrap==3.3.7.1',
'flask-nav==0.6',
'flask-wtf==0.14.2',
'flask-caching==1.7.0',
'geopy==1.20.0',
'celery==4.3.0',
'redis==3.2.1',
'aerofiles==1.0.0',
'geoalchemy2==0.6.2',
'shapely==1.6.4.post2',
'ogn-client==0.9.1',
'psycopg2-binary==2.8.2',
'mgrs==1.3.5',
'xmlunittest==0.5.0',
'tqdm==4.32.1',
'requests==2.21.0',
],
extras_require={
'dev': [
'nose==1.3.7',
'coveralls==1.8.0',
'flake8==3.5.0',
'xmlunittest==0.4.0'
]
},
zip_safe=False
)
|
agpl-3.0
|
Python
|
b484361fc9008e77f94799a138f0625ed7da4647
|
Bump version number in setup.py
|
max-k/flask-multi-redis
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
import io
from setuptools import setup
with io.open('README.rst', encoding='utf-8') as f:
README = f.read()
with io.open('HISTORY.rst', encoding='utf-8') as f:
HISTORY = f.read()
desc='MultiThreaded and MultiServers Redis Extension for Flask Applications'
setup(
name='Flask-Multi-Redis',
version='0.0.2',
url='https://github.com/max-k/flask-multi-redis',
author='Thomas Sarboni',
author_email='[email protected]',
maintainer='Thomas Sarboni',
maintainer_email='[email protected]',
download_url='https://github.com/max-k/flask-multi-redis/releases',
description=desc,
long_description=README + '\n\n' + HISTORY,
packages=['flask_multi_redis'],
package_data={'': ['LICENSE']},
zip_safe=False,
install_requires=[
'Flask>=0.9',
'redis>=2.6.8',
'more-itertools>=2.1'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero GPL v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
#!/usr/bin/env python3
import io
from setuptools import setup
with io.open('README.rst', encoding='utf-8') as f:
README = f.read()
with io.open('HISTORY.rst', encoding='utf-8') as f:
HISTORY = f.read()
desc='MultiThreaded and MultiServers Redis Extension for Flask Applications'
setup(
name='Flask-Multi-Redis',
version='0.0.1',
url='https://github.com/max-k/flask-multi-redis',
author='Thomas Sarboni',
author_email='[email protected]',
maintainer='Thomas Sarboni',
maintainer_email='[email protected]',
download_url='https://github.com/max-k/flask-multi-redis/releases',
description=desc,
long_description=README + '\n\n' + HISTORY,
packages=['flask_multi_redis'],
package_data={'': ['LICENSE']},
zip_safe=False,
install_requires=[
'Flask>=0.9',
'redis>=2.6.8',
'more-itertools>=2.1'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero GPL v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
agpl-3.0
|
Python
|
d1ffbda1eebaaf4a9d91881c1d82cfe214bc1df1
|
update pyjwt dependency
|
ARMmbed/yotta,autopulated/yotta,eyeye/yotta,autopulated/yotta,stevenewey/yotta,ntoll/yotta,ARMmbed/yotta,stevenewey/yotta,theotherjimmy/yotta,iriark01/yotta,ntoll/yotta,BlackstoneEngineering/yotta,theotherjimmy/yotta,eyeye/yotta,BlackstoneEngineering/yotta,iriark01/yotta
|
setup.py
|
setup.py
|
# Copyright 2014 ARM Limited
#
# Licensed under the Apache License, Version 2.0
# See LICENSE file for details.
import os
from setuptools import setup, find_packages
# Utility function to cat in a file (used for the README)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# we need 'ntfsutils' in Windows
if os.name == 'nt':
platform_deps = ['ntfsutils>=0.1.3,<0.2']
else:
platform_deps = []
setup(
name = "yotta",
version = "0.2.1",
author = "James Crosby",
author_email = "[email protected]",
description = ("Re-usable components for embedded software."),
license = "Apache-2.0",
keywords = "embedded package module dependency management",
url = "about:blank",
packages=find_packages(),
package_data={
'yotta': ['lib/schema/*.json', 'lib/templates/*.txt']
},
long_description=read('readme.md'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: Apache Software License",
"Environment :: Console",
],
entry_points={
"console_scripts": [
"yotta=yotta:main",
"yt=yotta:main",
],
},
test_suite = 'yotta.test',
install_requires=[
'semantic_version>=2.3.1,<3',
'requests>=2.5,<3',
'PyGithub>=1.25,<2',
'colorama>=0.3,<0.4',
'hgapi>=1.7,<2',
'Jinja2>=2.7.0,<3',
'cryptography>=0.8',
'PyJWT>=1.0,<2.0',
'pathlib>=1.0.1,<1.1',
'jsonschema>=2.4.0,<3.0',
'valinor>=0.0.0,<1.0'
] + platform_deps
)
|
# Copyright 2014 ARM Limited
#
# Licensed under the Apache License, Version 2.0
# See LICENSE file for details.
import os
from setuptools import setup, find_packages
# Utility function to cat in a file (used for the README)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# we need 'ntfsutils' in Windows
if os.name == 'nt':
platform_deps = ['ntfsutils>=0.1.3,<0.2']
else:
platform_deps = []
setup(
name = "yotta",
version = "0.2.1",
author = "James Crosby",
author_email = "[email protected]",
description = ("Re-usable components for embedded software."),
license = "Apache-2.0",
keywords = "embedded package module dependency management",
url = "about:blank",
packages=find_packages(),
package_data={
'yotta': ['lib/schema/*.json', 'lib/templates/*.txt']
},
long_description=read('readme.md'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: Apache Software License",
"Environment :: Console",
],
entry_points={
"console_scripts": [
"yotta=yotta:main",
"yt=yotta:main",
],
},
test_suite = 'yotta.test',
install_requires=[
'semantic_version>=2.3.1,<3',
'requests>=2.5,<3',
'PyGithub>=1.25,<2',
'colorama>=0.3,<0.4',
'hgapi>=1.7,<2',
'Jinja2>=2.7.0,<3',
'cryptography>=0.8',
'PyJWT>=0.3,<0.4',
'pathlib>=1.0.1,<1.1',
'jsonschema>=2.4.0,<3.0',
'valinor>=0.0.0,<1.0'
] + platform_deps
)
|
apache-2.0
|
Python
|
c5f297001f12a6bea42c6460d480fdd63285c2bc
|
bump version to 0.18
|
kennell/schiene
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name = 'schiene',
packages = ['schiene'],
version = '0.18',
license = 'MIT',
description = 'schiene is a Python library for interacting with Bahn.de',
author = 'Kevin Kennell',
author_email = '[email protected]',
install_requires=[
'requests>=2.10.0',
'beautifulsoup4>=4.4.1'
],
url = 'https://github.com/kennell/schiene',
keywords = ['bahn', 'api'],
classifiers = [],
)
|
from setuptools import setup
setup(
name = 'schiene',
packages = ['schiene'],
version = '0.17',
license = 'MIT',
description = 'schiene is a Python library for interacting with Bahn.de',
author = 'Kevin Kennell',
author_email = '[email protected]',
install_requires=[
'requests>=2.10.0',
'beautifulsoup4>=4.4.1'
],
url = 'https://github.com/kennell/schiene',
keywords = ['bahn', 'api'],
classifiers = [],
)
|
mit
|
Python
|
c101310d7e8d90c3d9d0ac412964c62617a2aa4e
|
Update test_requires in setup.py
|
mdsrosa/flask-slacker
|
setup.py
|
setup.py
|
"""
Flask-Slacker
--------------
Adds Slack support to your Flask application using Slacker.
"""
import ast
import re
from setuptools import setup
def get_version():
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('flask_slacker/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
return version
install_requires = [
'Flask >= 0.12.2',
'Slacker >= 0.9.60'
]
test_requires = [
'pytest >= 3.2.2',
'pytest-runner >= 2.12.1',
'pytest-flake8 >= 0.8.1',
'pytest-isort >= 0.1.0'
]
setup(
name='Flask-Slacker',
version=get_version(),
license='MIT',
url='https://github.com/mdsrosa/flask-slacker',
author='Matheus Rosa',
author_email='[email protected]',
description='Adds support to your Flask application using Slacker.',
long_description=__doc__,
packages=['flask_slacker'],
zip_safe=False,
platforms='any',
include_package_data=True,
install_requires=install_requires,
setup_requires=test_requires,
tests_require=test_requires,
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python',
'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',
'Programming Language :: Python :: 3.6'
]
)
|
"""
Flask-Slacker
--------------
Adds Slack support to your Flask application using Slacker.
"""
import ast
import re
from setuptools import setup
def get_version():
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('flask_slacker/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
return version
install_requires = [
'Flask >= 0.12.2',
'Slacker >= 0.9.60'
]
test_requires = [
'pytest >= 3.2.2',
'pytest-flake8',
'pytest-isort'
]
setup(
name='Flask-Slacker',
version=get_version(),
license='MIT',
url='https://github.com/mdsrosa/flask-slacker',
author='Matheus Rosa',
author_email='[email protected]',
description='Adds support to your Flask application using Slacker.',
long_description=__doc__,
packages=['flask_slacker'],
zip_safe=False,
platforms='any',
include_package_data=True,
install_requires=install_requires,
setup_requires=test_requires,
tests_require=test_requires,
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python',
'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',
'Programming Language :: Python :: 3.6'
]
)
|
mit
|
Python
|
69994e4b7bac8ba10bbf412060e42ce71832c2cb
|
add py3.5 classifier
|
lobocv/pynmea2,adamfazzari/pynmea2,silentquasar/pynmea2,ampledata/pynmea2,Knio/pynmea2
|
setup.py
|
setup.py
|
from setuptools import setup
import imp
_version = imp.load_source("pynmea2._version", "pynmea2/_version.py")
setup(
name='pynmea2',
version=_version.__version__,
author='Tom Flanagan',
author_email='[email protected]',
license='MIT',
url='https://github.com/Knio/pynmea2',
description='Python library for the NMEA 0183 protcol',
packages=['pynmea2','pynmea2.types','pynmea2.types.proprietary'],
keywords='python nmea gps parse parsing nmea0183 0183',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'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 :: Implementation :: PyPy',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
from setuptools import setup
import imp
_version = imp.load_source("pynmea2._version", "pynmea2/_version.py")
setup(
name='pynmea2',
version=_version.__version__,
author='Tom Flanagan',
author_email='[email protected]',
license='MIT',
url='https://github.com/Knio/pynmea2',
description='Python library for the NMEA 0183 protcol',
packages=['pynmea2','pynmea2.types','pynmea2.types.proprietary'],
keywords='python nmea gps parse parsing nmea0183 0183',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'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 :: Implementation :: PyPy',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
mit
|
Python
|
e1cc4d49f37abbda308968b1bf4f49298a1c904e
|
Change version to prevent unleash from choking.
|
mbr/legitfs
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# coding=utf8
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='legitfs',
version='0.3.dev1',
description='A read-only FUSE-based filesystem allowing you to browse '
'git repositories',
long_description=read('README.rst'),
keywords='git,fuse,filesystem,fs,read-only,readonly,legit,legitfs',
author='Marc Brinkmann',
author_email='[email protected]',
url='http://github.com/mbr/legitfs',
license='MIT',
packages=find_packages(exclude=['tests']),
install_requires=['dulwich', 'fusepy', 'click', 'logbook'],
entry_points={
'console_scripts': [
'legitfs = legitfs.cli:main',
]
}
)
|
#!/usr/bin/env python
# coding=utf8
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='legitfs',
version='0.3dev',
description='A read-only FUSE-based filesystem allowing you to browse '
'git repositories',
long_description=read('README.rst'),
keywords='git,fuse,filesystem,fs,read-only,readonly,legit,legitfs',
author='Marc Brinkmann',
author_email='[email protected]',
url='http://github.com/mbr/legitfs',
license='MIT',
packages=find_packages(exclude=['tests']),
install_requires=['dulwich', 'fusepy', 'click', 'logbook'],
entry_points={
'console_scripts': [
'legitfs = legitfs.cli:main',
]
}
)
|
mit
|
Python
|
7ccc29455aca3ad453d7d62cd1c1fa874a22dcc2
|
add setup file
|
Hyperyon/p3-labyrinthe
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import labyrinth
with open('requirements.txt') as f:
requires = f.read().split('\n')
setup(
name='oc-labyrinth',
version=3.2,
packages=find_packages(),
install_requires=requires,
author='Nico Zhan',
author_email='[email protected]',
description='Help Mc Gyver to leave the maze',
long_description=open('README.md').read(),
# include file from manifest.in
include_package_data=True,
url='https://github.com/Hyperyon/p3-labyrinthe',
classifiers=[
'Programming Language :: Python',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Topic :: Game',
],
)
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import labyrinth
with open('requirements.txt') as f:
requires = f.read().split('\n')
setup(
name='oc-labyrinth',
version=3.2,
packages=find_packages(),
install_requires=requires,
author='Nico Zhan',
author_email='[email protected]',
description='Help Mc Gyver to leave the maze',
long_description=open('README.md').read(),
# include file from manifest.in
include_package_data=True,
url='https://github.com/Hyperyon/p3-labyrinthe',
classifiers=[
'Programming Language :: Python',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Topic :: Game',
],
)
|
mit
|
Python
|
387dcda6fff3fac0d8506e047919ffe3c48591af
|
Bump django-entity to version 1.1.2
|
ambitioninc/django-entity-emailer,ambitioninc/django-entity-emailer,wesleykendall/django-entity-emailer,wesleykendall/django-entity-emailer
|
setup.py
|
setup.py
|
# import multiprocessing to avoid this bug (http://bugs.python.org/issue15881#msg170215)
import multiprocessing
assert multiprocessing
import re
from setuptools import setup, find_packages
def get_version():
"""
Extracts the version number from the version.py file.
"""
VERSION_FILE = 'entity_emailer/version.py'
mo = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', open(VERSION_FILE, 'rt').read(), re.M)
if mo:
return mo.group(1)
else:
raise RuntimeError('Unable to find version string in {0}.'.format(VERSION_FILE))
setup(
name='django-entity-emailer',
version=get_version(),
description='Make emailing users easy and entity-based.',
long_description=open('README.rst').read(),
url='https://github.com/ambitioninc/django-entity-emailer',
author='Erik Swanson',
author_email='[email protected]',
keywords='',
packages=find_packages(),
classifiers=[
'Programming Language :: Python',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Framework :: Django',
],
license='MIT',
install_requires=[
'django>=1.6',
'django-db-mutex>=0.1.3',
'django-entity>=1.1.2',
'django-entity-subscription>=0.2.0',
'celery>=3.1',
],
tests_require=[
'django-dynamic-fixture',
'django-nose',
'freezegun',
'mock',
'south',
],
test_suite='run_tests.run_tests',
include_package_data=True,
)
|
# import multiprocessing to avoid this bug (http://bugs.python.org/issue15881#msg170215)
import multiprocessing
assert multiprocessing
import re
from setuptools import setup, find_packages
def get_version():
"""
Extracts the version number from the version.py file.
"""
VERSION_FILE = 'entity_emailer/version.py'
mo = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', open(VERSION_FILE, 'rt').read(), re.M)
if mo:
return mo.group(1)
else:
raise RuntimeError('Unable to find version string in {0}.'.format(VERSION_FILE))
setup(
name='django-entity-emailer',
version=get_version(),
description='Make emailing users easy and entity-based.',
long_description=open('README.rst').read(),
url='https://github.com/ambitioninc/django-entity-emailer',
author='Erik Swanson',
author_email='[email protected]',
keywords='',
packages=find_packages(),
classifiers=[
'Programming Language :: Python',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Framework :: Django',
],
license='MIT',
install_requires=[
'django>=1.6',
'django-db-mutex>=0.1.3',
'django-entity>=1.0',
'django-entity-subscription>=0.2.0',
'celery>=3.1',
],
tests_require=[
'django-dynamic-fixture',
'django-nose',
'freezegun',
'mock',
'south',
],
test_suite='run_tests.run_tests',
include_package_data=True,
)
|
mit
|
Python
|
998ce4a9425f7ab612321e6040bc276594ea8069
|
Bump release number to 0.10
|
russdill/pybis
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from distutils.core import setup
setup(name = 'pybis',
version = '0.10',
description = 'Python IBIS parser',
author = 'Russ Dill',
requires = [ 'pyparsing', 'numpy' ],
author_email = '[email protected]',
url = 'https://github.com/russdill/pybis/wiki',
download_url = 'https://github.com/russdill/pybis',
py_modules = [ 'pybis' ],
scripts = [ 'examples/models.py', 'examples/ibs2symdef.py' ],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)'
'Operating System :: OS Independent',
'Programming Language :: Python',
]
)
|
#!/usr/bin/env python
from distutils.core import setup
setup(name = 'pybis',
version = '0.9',
description = 'Python IBIS parser',
author = 'Russ Dill',
requires = [ 'pyparsing', 'numpy' ],
author_email = '[email protected]',
url = 'https://github.com/russdill/pybis/wiki',
download_url = 'https://github.com/russdill/pybis',
py_modules = [ 'pybis' ],
scripts = [ 'examples/models.py', 'examples/ibs2symdef.py' ],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)'
'Operating System :: OS Independent',
'Programming Language :: Python',
]
)
|
lgpl-2.1
|
Python
|
8297fd9f1dfd221cb1dd22187bcf410b5c8475cc
|
add long description to setup.py (#292)
|
googlemaps/google-maps-services-python
|
setup.py
|
setup.py
|
import sys
import io
from setuptools import setup
if sys.version_info <= (2, 4):
error = "Requires Python Version 2.5 or above... exiting."
print >>sys.stderr, error
sys.exit(1)
requirements = ["requests>=2.20.0,<3.0"]
# use io.open until python2.7 support is dropped
with io.open("README.md", encoding="utf8") as f:
readme = f.read()
setup(
name="googlemaps",
version="3.0.2",
description="Python client library for Google Maps Platform",
long_description=readme,
long_description_content_type="text/markdown",
scripts=[],
url="https://github.com/googlemaps/google-maps-services-python",
packages=["googlemaps"],
license="Apache 2.0",
platforms="Posix; MacOS X; Windows",
setup_requires=requirements,
install_requires=requirements,
test_suite="googlemaps.test",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet",
],
)
|
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <= (2, 4):
error = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, error
sys.exit(1)
requirements = [
'requests>=2.20.0,<3.0',
]
setup(name='googlemaps',
version='3.0.2',
description='Python client library for Google Maps API Web Services',
scripts=[],
url='https://github.com/googlemaps/google-maps-services-python',
packages=['googlemaps'],
license='Apache 2.0',
platforms='Posix; MacOS X; Windows',
setup_requires=requirements,
install_requires=requirements,
test_suite='googlemaps.test',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet',
]
)
|
apache-2.0
|
Python
|
985dc5fe85b02d597098a1dd0a361871149e8089
|
update to 3.0.1
|
hycis/TensorGraph,hycis/TensorGraph
|
setup.py
|
setup.py
|
from distutils.core import setup
from setuptools import find_packages
version = '3.0.0'
setup(
name='tensorgraph',
version=version,
author='Wu Zhen Zhou',
author_email='[email protected]',
install_requires=['numpy>=1.7.1',
'six>=1.9.0',
'scikit-learn>=0.17',
'pandas>=0.17',
'scipy>=0.17'],
url='https://github.com/hycis/TensorGraph',
download_url = 'https://github.com/hycis/TensorGraph/tarball/{}'.format(version),
license='Apache 2.0, see LICENCE',
description='A high level tensorflow library for building models',
long_description=open('README.md').read(),
packages=find_packages(),
zip_safe=False,
include_package_data=True
)
|
from distutils.core import setup
from setuptools import find_packages
version = '3.0.0'
setup(
name='tensorgraph',
version=version,
author='Wu Zhen Zhou',
author_email='[email protected]',
install_requires=['numpy>=1.7.1',
'six>=1.9.0',
'scikit-learn>=0.17',
'pandas>=0.17',
'scipy>=0.17'],
url='https://github.com/hycis/TensorGraph',
download_url = 'https://github.com/hycis/TensorGraph/tarball/{}'.format(version),
license='Apache 2.0, see LICENCE',
description='A tensorflow library for building all kinds of models',
long_description=open('README.md').read(),
packages=find_packages(),
zip_safe=False,
include_package_data=True
)
|
apache-2.0
|
Python
|
f372f5d577687aea0e5a70b41ebd1475125c1fd7
|
Bump version to 1.4.3
|
twaddington/django-gravatar
|
setup.py
|
setup.py
|
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='django-gravatar2',
version='1.4.3',
description='Essential Gravatar support for Django. Features helper'
' methods, templatetags and a full test suite!',
long_description=open('README.rst').read(),
keywords='django gravatar avatar',
license='MIT',
author='Tristan Waddington',
author_email='[email protected]',
url='https://github.com/twaddington/django-gravatar',
packages=['django_gravatar', 'django_gravatar.templatetags', 'example_project'],
classifiers=[
'Development Status :: 5 - Production/Stable', # 4 Beta, 5 Production/Stable
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Framework :: Django',
]
)
|
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='django-gravatar2',
version='1.4.2',
description='Essential Gravatar support for Django. Features helper'
' methods, templatetags and a full test suite!',
long_description=open('README.rst').read(),
keywords='django gravatar avatar',
license='MIT',
author='Tristan Waddington',
author_email='[email protected]',
url='https://github.com/twaddington/django-gravatar',
packages=['django_gravatar', 'django_gravatar.templatetags', 'example_project'],
classifiers=[
'Development Status :: 5 - Production/Stable', # 4 Beta, 5 Production/Stable
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Framework :: Django',
]
)
|
mit
|
Python
|
7b16884e0081b8ade9382483acd22b54629d3c6a
|
update version
|
arraylabs/pymyq
|
setup.py
|
setup.py
|
from setuptools import setup
with open('LICENSE') as f:
license = f.read()
setup(
name='pymyq',
version='0.0.16',
description='Python package for controlling MyQ-Enabled Garage Door',
author='Chris Campbell',
author_email='[email protected]',
url='https://github.com/arraylabs/pymyq',
license=license,
packages=['pymyq'],
package_dir={'pymyq': 'pymyq'}
)
|
from setuptools import setup
with open('LICENSE') as f:
license = f.read()
setup(
name='pymyq',
version='0.0.13',
description='Python package for controlling MyQ-Enabled Garage Door',
author='Chris Campbell',
author_email='[email protected]',
url='https://github.com/arraylabs/pymyq',
license=license,
packages=['pymyq'],
package_dir={'pymyq': 'pymyq'}
)
|
mit
|
Python
|
c82e056ec41792b4a8aa2087817eb72637e02cb8
|
Bump to v0.2.2
|
TankerApp/tsrc
|
setup.py
|
setup.py
|
import sys
from setuptools import setup, find_packages
if sys.version_info.major < 3:
sys.exit("Error: Please upgrade to Python3")
def get_long_description():
with open("README.rst") as fp:
return fp.read()
setup(name="tsrc",
version="0.2.2",
description="Manage multiple repositories",
long_description=get_long_description(),
url="https://github.com/TankerApp/tsrc",
author="Kontrol SAS",
packages=find_packages(),
include_package_data=True,
install_requires=[
"attrs",
"colored_traceback",
"colorama",
"path.py",
"pyparsing",
"requests",
"ruamel.yaml",
"schema",
"tabulate",
"unidecode",
"xdg",
],
classifiers=[
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
entry_points={
"console_scripts": [
"tsrc = tsrc.cli.main:main",
]
}
)
|
import sys
from setuptools import setup, find_packages
if sys.version_info.major < 3:
sys.exit("Error: Please upgrade to Python3")
def get_long_description():
with open("README.rst") as fp:
return fp.read()
setup(name="tsrc",
version="0.2.1",
description="Manage multiple repositories",
long_description=get_long_description(),
url="https://github.com/TankerApp/tsrc",
author="Kontrol SAS",
packages=find_packages(),
include_package_data=True,
install_requires=[
"attrs",
"colored_traceback",
"colorama",
"path.py",
"pyparsing",
"requests",
"ruamel.yaml",
"schema",
"tabulate",
"unidecode",
"xdg",
],
classifiers=[
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
entry_points={
"console_scripts": [
"tsrc = tsrc.cli.main:main",
]
}
)
|
bsd-3-clause
|
Python
|
5adb1ccfa30021bcac68364a032196bfc57098a2
|
Rewrite show-stack-params-and-outputs.sh in python to get around problems that script has with older jq versions
|
NitorCreations/nitor-deploy-tools,NitorCreations/nitor-deploy-tools,NitorCreations/nitor-deploy-tools
|
setup.py
|
setup.py
|
# Copyright 2016-2017 Nitor Creations Oy
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
from setuptools import setup
from n_utils import SCRIPTS, CONSOLESCRIPTS
setup(name='nitor_deploy_tools',
version='0.115',
description='Utilities for deploying with Nitor aws-utils',
url='http://github.com/NitorCreations/nitor-deploy-tools',
download_url='https://github.com/NitorCreations/nitor-deploy-tools/tarball/0.115',
author='Pasi Niemi',
author_email='[email protected]',
license='Apache 2.0',
packages=['n_utils'],
include_package_data=True,
scripts=SCRIPTS,
entry_points={
'console_scripts': CONSOLESCRIPTS,
},
install_requires=[
'pyaml',
'boto3',
'awscli',
'pycrypto',
'requests',
'termcolor',
'ipaddr',
'argcomplete',
'nitor-vault',
'psutil',
'Pygments'
] + ([
'win-unicode-console',
'wmi',
'pypiwin32'
] if sys.platform.startswith('win') else []),
zip_safe=False)
|
# Copyright 2016-2017 Nitor Creations Oy
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
from setuptools import setup
from n_utils import SCRIPTS, CONSOLESCRIPTS
setup(name='nitor_deploy_tools',
version='0.114',
description='Utilities for deploying with Nitor aws-utils',
url='http://github.com/NitorCreations/nitor-deploy-tools',
download_url='https://github.com/NitorCreations/nitor-deploy-tools/tarball/0.114',
author='Pasi Niemi',
author_email='[email protected]',
license='Apache 2.0',
packages=['n_utils'],
include_package_data=True,
scripts=SCRIPTS,
entry_points={
'console_scripts': CONSOLESCRIPTS,
},
install_requires=[
'pyaml',
'boto3',
'awscli',
'pycrypto',
'requests',
'termcolor',
'ipaddr',
'argcomplete',
'nitor-vault',
'psutil',
'Pygments'
] + ([
'win-unicode-console',
'wmi',
'pypiwin32'
] if sys.platform.startswith('win') else []),
zip_safe=False)
|
apache-2.0
|
Python
|
4ddde13eae99912559fc2fc6434ff16b9dfcf6a3
|
fix build
|
larsmans/python-pcl,larsmans/python-pcl,amitibo/python-pcl,amitibo/python-pcl,amitibo/python-pcl,larsmans/python-pcl
|
setup.py
|
setup.py
|
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
setup(name='python-pcl',
description='pcl wrapper',
url='http://github.com/strawlab/python-pcl',
version='0.1',
author='John Stowers',
author_email='[email protected]',
license='BSD',
ext_modules=[Extension(
"pcl",
["pcl.pyx", "minipcl.cpp"],
include_dirs=["/usr/include/pcl-1.5", "/usr/include/eigen3/"],
libraries=["pcl_segmentation", "pcl_io", "OpenNI",
"usb-1.0", "pcl_filters", "pcl_sample_consensus",
"pcl_features", "pcl_surface", "pcl_search", "pcl_kdtree", "pcl_octree",
"flann_cpp", "pcl_common"],
language="c++")],
cmdclass={'build_ext': build_ext}
)
|
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
setup(name='python-pcl',
description='pcl wrapper',
url='http://github.com/strawlab/python-pcl',
version='0.1',
author='John Stowers',
author_email='[email protected]',
license='BSD',
ext_modules=[Extension(
"pcl",
["pcl.pyx", "minipcl.cpp"],
include_dirs=["/usr/include/pcl-1.5", "/usr/include/eigen3/"],
libraries=["pcl_segmentation", "pcl_io", "OpenNI",
"usb-1.0", "pcl_filters", "pcl_sample_consensus",
"pcl_features", "pcl_surface", "pcl_search", "pcl_kdtree", "pcl_octree",
"flann_cpp", "flann_cpp-gd", "pcl_common"],
language="c++")],
cmdclass={'build_ext': build_ext}
)
|
bsd-3-clause
|
Python
|
b1bb13b56f3eb64f33ce39a153a69d4f0edd05a9
|
Update django-gcloud-connectors
|
potatolondon/djangae,potatolondon/djangae
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
NAME = 'djangae'
PACKAGES = find_packages()
DESCRIPTION = 'Django integration with Google App Engine'
URL = "https://github.com/potatolondon/djangae"
LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
AUTHOR = 'Potato London Ltd.'
EXTRAS = {
"test": ["beautifulsoup4"],
}
setup(
name=NAME,
version='2.0.0',
packages=PACKAGES,
# metadata for upload to PyPI
author=AUTHOR,
author_email='[email protected]',
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
keywords=["django", "Google App Engine", "GAE"],
url=URL,
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
include_package_data=True,
# dependencies
install_requires=[
'django-gcloud-connectors >= 0.2.1',
'google-api-python-client>=1.7.11',
# requests required by cloud storage file backend
'requests>=2.22.0'
],
extras_require=EXTRAS,
tests_require=EXTRAS['test'],
)
|
import os
from setuptools import setup, find_packages
NAME = 'djangae'
PACKAGES = find_packages()
DESCRIPTION = 'Django integration with Google App Engine'
URL = "https://github.com/potatolondon/djangae"
LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
AUTHOR = 'Potato London Ltd.'
EXTRAS = {
"test": ["beautifulsoup4"],
}
setup(
name=NAME,
version='2.0.0',
packages=PACKAGES,
# metadata for upload to PyPI
author=AUTHOR,
author_email='[email protected]',
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
keywords=["django", "Google App Engine", "GAE"],
url=URL,
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
include_package_data=True,
# dependencies
install_requires=[
'django-gcloud-connectors >= 0.1.0',
'google-api-python-client>=1.7.11',
# requests required by cloud storage file backend
'requests>=2.22.0'
],
extras_require=EXTRAS,
tests_require=EXTRAS['test'],
)
|
bsd-3-clause
|
Python
|
cf4caa6abd7756e76ab3e613b183f163fd8d88cc
|
increment version [ci skip]
|
pmrowla/pysrcds
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
setup(
name='pysrcds',
version='0.1.6.dev',
description='Python library for interacting with Source engine dedicated'
' servers',
author='Peter Rowlands',
author_email='[email protected]',
url='https://github.com/pmrowla/pysrcds',
packages=['srcds', 'srcds/events'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Games/Entertainment :: First Person Shooters',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
install_requires=['future'],
long_description='''
=======
pysrcds
=======
Python library for interacting with Source engine dedicated servers.
pysrcds provides the functionality to communicate with a dedicated server via
RCON and also provides the ability to parse Source engine logs. There are also
some utility classes that may be useful for developing other Source related
functionality.
License
=======
pysrcds is distributed under the MIT license.
''',
)
|
#!/usr/bin/env python
from setuptools import setup
setup(
name='pysrcds',
version='0.1.5',
description='Python library for interacting with Source engine dedicated'
' servers',
author='Peter Rowlands',
author_email='[email protected]',
url='https://github.com/pmrowla/pysrcds',
packages=['srcds', 'srcds/events'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Games/Entertainment :: First Person Shooters',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
install_requires=['future'],
long_description='''
=======
pysrcds
=======
Python library for interacting with Source engine dedicated servers.
pysrcds provides the functionality to communicate with a dedicated server via
RCON and also provides the ability to parse Source engine logs. There are also
some utility classes that may be useful for developing other Source related
functionality.
License
=======
pysrcds is distributed under the MIT license.
''',
)
|
mit
|
Python
|
138865c79782875076c91de4252aaf2dd8567101
|
fix package issue
|
yuanxu/django-bootstrap3-validator
|
setup.py
|
setup.py
|
from distutils.core import setup
import os
from setuptools import find_packages
base_dir = os.path.dirname(__file__)
setup(
name='Django-Bootstrap3-Validator',
version='0.3.3',
author='Xu Yuan',
author_email='[email protected]',
packages=find_packages(),
url="https://github.com/yuanxu/django-bootstrap3-validator",
license='LICENSE.txt',
description='BootstrapValidator support for Django projects',
include_package_data=True,
long_description=open(os.path.join(base_dir, 'README.md')).read(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
'Environment :: Web Environment',
'Framework :: Django',
],
)
|
from distutils.core import setup
import os
base_dir = os.path.dirname(__file__)
setup(
name='Django-Bootstrap3-Validator',
version='0.3',
author='Xu Yuan',
author_email='[email protected]',
packages=['bootstrap_validator', 'bootstrap_validator.templatetags','bootstrap_validator.migrations'],
url="https://github.com/yuanxu/django-bootstrap3-validator",
license='LICENSE.txt',
description='BootstrapValidator support for Django projects',
include_package_data=True,
long_description=open(os.path.join(base_dir, 'README.md')).read(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
'Environment :: Web Environment',
'Framework :: Django',
],
)
|
mit
|
Python
|
548893b224bf7addbb56dd19455f0df5c24f7b51
|
Fix setup.py
|
Kjwon15/autotweet
|
setup.py
|
setup.py
|
import os.path
import sys
from autotweet import __version__ as version
try:
from setuptools import find_packages, setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import find_packages, setup
def readme():
try:
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
return f.read()
except (IOError, OSError):
return ''
install_reqs = [
'sqlalchemy>=0.9.6',
'tweepy>=2.3.0',
]
extra_reqs = {
'telegram': [
'python-telegram-bot>=5.2.0',
],
}
if sys.version_info < (3, 2):
install_reqs.append('futures')
setup(
name='autotweet',
version=version,
description='learn your tweet and auto tweet it.',
long_description=readme(),
url='https://github.com/Kjwon15/autotweet/',
download_url='https://github.com/Kjwon15/autotweet/releases',
author='Kjwon15',
author_email='kjwonmail' '@' 'gmail.com',
license='MIT',
entry_points={
'console_scripts': [
'autotweet = autotweet.command:main'
]
},
packages=find_packages(exclude=['tests']),
install_requires=install_reqs,
extras_require=extra_reqs,
tests_require=['pytest >= 2.4.0'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Communications :: Chat',
'Topic :: Utilities',
]
)
|
import os.path
import sys
from autotweet import __version__ as version
try:
from setuptools import find_packages, setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import find_packages, setup
def readme():
try:
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
return f.read()
except (IOError, OSError):
return ''
install_reqs = [
'sqlalchemy>=0.9.6',
'tweepy>=2.3.0',
]
extra_reqs = {
'telegram': [
'python-telegram-bot>=5.2.0',
],
}
if sys.version_info < (3, 2):
install_reqs.append('futures')
setup(
name='autotweet',
version=version,
description='learn your tweet and auto tweet it.',
long_description=readme(),
url='https://github.com/Kjwon15/autotweet/',
download_url='https://github.com/Kjwon15/autotweet/releases',
author='Kjwon15',
author_email='kjwonmail' '@' 'gmail.com',
license='MIT',
entry_points={
'console_scripts': [
'autotweet = autotweet.command:main'
]
},
packages=find_packages(exclude=['tests']),
install_requires=install_reqs,
extras_require=extra_reqs,
tests_require=['pytest >= 2.4.0'],
classifiers=[
'Development Status :: 5 - Production/Stable'
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Communications :: Chat',
'Topic :: Utilities',
]
)
|
mit
|
Python
|
4aa1f797e8c4e94572c6bc12819abd4501b0d1e4
|
remove python-memcached from install_requires
|
fanatid/django-requests-monitor,fanatid/django-requests-monitor
|
setup.py
|
setup.py
|
import os
from setuptools import setup
version = '0.1.0'
# taken from django-registration
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
for dirpath, dirnames, filenames in os.walk('requests_monitor'):
# Ignore dirnames that start with '.'
dirnames = [dirname for dirname in dirnames if not dirname.startswith('.')]
if '__init__.py' in filenames:
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
elif filenames:
prefix = dirpath[17:] # Strip "requests_monitor/" or "requests_monitor\"
for f in filenames:
data_files.append(os.path.join(prefix, f))
setup(
name='django-requests-monitor',
version=version,
description='Shows debug information about requests',
long_description=open('README.rst').read(),
author='Kirill Fomichev',
author_email='[email protected]',
url='https://github.com/fanatid/django-requests-monitor',
license='BSD',
package_dir={'requests_monitor': 'requests_monitor'},
packages=packages,
package_data={'requests_monitor': data_files},
include_package_data=True,
zip_safe=False,
install_requires=[
'django-debug-toolbar',
],
)
|
import os
from setuptools import setup
version = '0.1.0'
# taken from django-registration
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
for dirpath, dirnames, filenames in os.walk('requests_monitor'):
# Ignore dirnames that start with '.'
dirnames = [dirname for dirname in dirnames if not dirname.startswith('.')]
if '__init__.py' in filenames:
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
elif filenames:
prefix = dirpath[17:] # Strip "requests_monitor/" or "requests_monitor\"
for f in filenames:
data_files.append(os.path.join(prefix, f))
setup(
name='django-requests-monitor',
version=version,
description='Shows debug information about requests',
long_description=open('README.rst').read(),
author='Kirill Fomichev',
author_email='[email protected]',
url='https://github.com/fanatid/django-requests-monitor',
license='BSD',
package_dir={'requests_monitor': 'requests_monitor'},
packages=packages,
package_data={'requests_monitor': data_files},
include_package_data=True,
zip_safe=False,
install_requires=[
'django-debug-toolbar',
'python-memcached',
],
)
|
bsd-3-clause
|
Python
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.