Пример #1
0
def read(*parts):
    here = os.path.abspath(os.path.dirname(__file__))
    return codecs.open(os.path.join(here, *parts), 'r').read()


class MySdist(sdist):
    def run(self):
        sdist.run(self)
        os.system('rm -rf *.egg-info')


tests_require = read('clothstream/requirements/testing.pip')

setup(
    name=app.NAME,
    version=app.get_version(),
    url='https://pypi.fury.io/nt5s3mktVimAx5L3xDdh/julienaubert/{}'.format(app.NAME),

    author='Julien Aubert',
    author_email='*****@*****.**',
    license="Property of Julien Aubert",
    description='clothstream',
    cmdclass={
        'sdist': MySdist,
    },
    packages=find_packages('.'),
    include_package_data=True,
    dependency_links=[],
    install_requires=read('clothstream/requirements/install.pip'),
    tests_require=tests_require,
    test_suite='conftest.runtests',
Пример #2
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'clothstream'
copyright = u'2014, Julien Aubert'

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

# 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.