# limitations under the License. from pip.req import parse_requirements from setuptools import setup from pyhole 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.plugins"], install_requires=requirements(), classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", ],
def test_version_hash(self): self.assertEqual(len(version.version_hash()), 11)
# # 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 setuptools from pyhole import version setuptools.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.plugins"], install_requires=[ "eventlet", "beautifulsoup==3.2.0", "launchpadlib", "pywunderground" ], classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent",
master_doc = "index" # General information about the project. project = u"pyhole" copyright = u"2011, 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 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"]
# The master toctree document. master_doc = 'index' # General information about the project. project = u'pyhole' copyright = u'2011, 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 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']