Example #1
0
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'pyhole'
copyright = u'2016, Josh Kearney'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
from pyhole.core import version as v
version = v.version()
# The full version, including alpha/beta/rc tags.
release = v.version_hash()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
Example #2
0
 def test_version_hash(self):
     self.assertEqual(len(version.version_hash()), 11)
Example #3
0
#   See the License for the specific language governing permissions and
#   limitations under the License.

from pip.req import parse_requirements
from setuptools import setup

from pyhole.core import version


def requirements():
    install_reqs = parse_requirements("requirements.txt")
    return [str(ir.req) for ir in install_reqs]


setup(name="irc-pyhole",
      version=version.version_hash(),
      author="Josh Kearney",
      author_email="*****@*****.**",
      description="A modular IRC bot for Python developers.",
      license="Apache License, Version 2.0",
      url="http://pyhole.org",
      packages=[
          "pyhole", "pyhole.core", "pyhole.core.colormaps", "pyhole.core.irc",
          "pyhole.plugins"
      ],
      install_requires=requirements(),
      classifiers=[
          "Development Status :: 5 - Production/Stable",
          "Intended Audience :: Developers",
          "Intended Audience :: Information Technology",
          "License :: OSI Approved :: Apache Software License",
Example #4
0
File: conf.py Project: roaet/pyhole
master_doc = "index"

# General information about the project.
project = u"pyhole"
copyright = u"2015, Josh Kearney"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
from pyhole.core import version as v

version = v.version()
# The full version, including alpha/beta/rc tags.
release = v.version_hash()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
# today = ''
# Else, today_fmt is used as the format for a strftime call.
# today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ["_build"]
Example #5
0
 def test_version_hash(self):
     self.assertEqual(len(version.version_hash()), 11)
Example #6
0
from pip.req import parse_requirements
from setuptools import setup

from pyhole.core import version

import uuid


def requirements():
    install_reqs = parse_requirements("requirements.txt", session=uuid.uuid1())
    return [str(ir.req) for ir in install_reqs]


setup(
    name="irc-pyhole",
    version=version.version_hash(),
    author="Josh Kearney",
    author_email="*****@*****.**",
    description="A modular IRC bot for Python developers.",
    license="Apache License, Version 2.0",
    url="http://pyhole.org",
    packages=[
        "pyhole",
        "pyhole.core",
        "pyhole.core.colormaps",
        "pyhole.core.irc",
        "pyhole.plugins"
    ],
    install_requires=requirements(),
    classifiers=[
        "Development Status :: 5 - Production/Stable",