Ejemplo n.º 1
0
 def test_short_version(self):
     """
     Testing short version, eg: 0.1, 0.1.1, etc.
     """
     for version in self.versions:
         basecamp.VERSION = version[0]
         self.assertEqual(get_version('short'), version[1])
Ejemplo n.º 2
0
 def test_full_version(self):
     """
     Test full version, eg: 0.1.1a1
     """
     for version in self.versions:
         basecamp.VERSION = version[0]
         self.assertEqual(get_version('full'), version[2])
Ejemplo n.º 3
0
 def test_full_version(self):
     """
     Test full version, eg: 0.1.1a1
     """
     for version in self.versions:
         basecamp.VERSION = version[0]
         self.assertEqual(
             get_version('full'), version[2])
Ejemplo n.º 4
0
 def test_short_version(self):
     """
     Testing short version, eg: 0.1, 0.1.1, etc.
     """
     for version in self.versions:
         basecamp.VERSION = version[0]
         self.assertEqual(
             get_version('short'), version[1])
Ejemplo n.º 5
0
# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'py-basecamp'
copyright = u'2012, Greg Aker, nGen Works'

# 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.
version = basecamp.get_version()
# The full version, including alpha/beta/rc tags.
release = basecamp.get_version('full')

# 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.
Ejemplo n.º 6
0
# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'py-basecamp'
copyright = u'2012, Greg Aker, nGen Works'

# 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.
version = basecamp.get_version()
# The full version, including alpha/beta/rc tags.
release = basecamp.get_version('full')

# 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.
Ejemplo n.º 7
0
#!/usr/bin/env python
from setuptools import setup, find_packages
from basecamp import get_version

setup(
    name='basecamp',
    version=get_version(),
    description=('A python interface to the Basecamp Next API '
        'using python-requests'),
    long_description=open('README.rst').read(),
    author='Greg Aker',
    author_email='*****@*****.**',
    license='BSD',
    keywords='basecamp api',
    url='https://github.com/ngenworks/py-basecamp.git',
    packages=find_packages(),
    test_suite='nose.collector',
    tests_require=['nose', ],
    install_requires=['requests>=0.14.0', ],
    classifiers=[
        "Development Status :: 1 - Planning",
        "Topic :: Utilities",
        "License :: OSI Approved :: BSD License",
    ],
)
Ejemplo n.º 8
0
#!/usr/bin/env python
from setuptools import setup, find_packages
from basecamp import get_version

setup(
    name='basecamp',
    version=get_version(),
    description=('A python interface to the Basecamp Next API '
                 'using python-requests'),
    long_description=open('README.rst').read(),
    author='Greg Aker',
    author_email='*****@*****.**',
    license='BSD',
    keywords='basecamp api',
    url='https://github.com/ngenworks/py-basecamp.git',
    packages=find_packages(),
    test_suite='nose.collector',
    tests_require=[
        'nose',
    ],
    install_requires=[
        'requests>=0.14.0',
    ],
    classifiers=[
        "Development Status :: 1 - Planning",
        "Topic :: Utilities",
        "License :: OSI Approved :: BSD License",
    ],
)