コード例 #1
0
ファイル: conf.py プロジェクト: troytoman/pyhole
# 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']
コード例 #2
0
ファイル: test_version.py プロジェクト: bdelliott/pyhole
 def test_version_hash(self):
     self.assertEqual(len(version.version_hash()), 11)
コード例 #3
0
ファイル: setup.py プロジェクト: pschwartz/pyhole
#   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",
コード例 #4
0
ファイル: conf.py プロジェクト: 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"]
コード例 #5
0
 def test_version_hash(self):
     self.assertEqual(len(version.version_hash()), 11)
コード例 #6
0
ファイル: setup.py プロジェクト: bdelliott/pyhole
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",