#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages from docs import getVersion changelog = open('CHANGES.rst').read() long_description = "\n\n".join( [open('README.rst').read(), open('CONTRIBUTORS.rst').read(), changelog]) setup( name='marcxml_parser', version=getVersion(changelog), description="MARC XML / OAI parser, with few highlevel getters.", long_description=long_description, url='https://github.com/edeposit/marcxml_parser', author='Edeposit team', author_email='*****@*****.**', classifiers=[ "Programming Language :: Python :: 2.7", "License :: OSI Approved :: MIT License", "Topic :: Software Development :: Libraries :: Python Modules" ], license='MIT', packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, zip_safe=False, install_requires=[ 'setuptools',
from setuptools import setup, find_packages from docs import getVersion # Variables =================================================================== changelog = open('CHANGES.rst').read() long_description = "\n\n".join([ open('README.rst').read(), changelog ]) # Actual setup definition ===================================================== setup( name='edeposit.amqp', version=getVersion(changelog), description="E-Deposit's AMQP definitions and common classes/patterns.", long_description=long_description, url='https://github.com/edeposit/edeposit.amqp/', author='Edeposit team', author_email='*****@*****.**', classifiers=[ 'Intended Audience :: Developers', "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "License :: OSI Approved :: MIT License", "Topic :: Software Development :: Libraries :: Python Modules" ], license='GPL2+',
# The suffix of source filenames. source_suffix = '.rst' # The master toctree document. master_doc = 'index' # General information about the project. project = u'edeposit.amqp.rest' copyright = u'2015 E-deposit team' # The full version, including alpha/beta/rc tags. try: # read data from CHANGES.rst sys.path.insert(0, os.path.abspath('../')) from docs import getVersion release = getVersion(open("../CHANGES.rst").read()) except Exception: # this is here specially for readthedocs, which downloads only docs, not # other files fh = urllib.urlopen("https://pypi.python.org/pypi/" + project + "/") release = filter(lambda x: "<title>" in x, fh.read().splitlines()) release = release[0].split(":")[0].split()[1] # The short X.Y version. version = ".".join(release.split(".")[:2]) # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = ['_build'] # The name of the Pygments (syntax highlighting) style to use.
# The suffix of source filenames. source_suffix = '.rst' # The master toctree document. master_doc = 'index' # General information about the project. project = '{{cookiecutter.repo_name}}' copyright = '{{ cookiecutter.year }}, {{cookiecutter.full_name}}' # The full version, including alpha/beta/rc tags. try: # read data from CHANGES.rst sys.path.insert(0, os.path.abspath('../')) from docs import getVersion release = getVersion(open("../CHANGES.rst").read()) except: # this is here specially for readthedocs, which downloads only docs, not # other files fh = urllib.urlopen("https://pypi.python.org/pypi/" + project + "/") release = filter(lambda x: "<title>" in x, fh.read().splitlines()) release = release[0].split(":")[0].split()[1] # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = ['_build'] # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for
# Interpreter version: python 2.7 # # Imports ===================================================================== from setuptools import setup, find_packages from docs import getVersion # Variables =================================================================== CHANGELOG = open('CHANGELOG.rst').read() LONG_DESCRIPTION = "\n\n".join( [open('README.rst').read(), open('CONTRIBUTORS.rst').read(), CHANGELOG]) # Actual setup definition ===================================================== setup(name='BalancedDiscStorage', version=getVersion(CHANGELOG), description=( "Makes sure, that there are never more files in one directory, than " "your LIMIT."), long_description=LONG_DESCRIPTION, url='https://github.com/Bystroushaak/BalancedDiscStorage', author='Bystroushaak', author_email='*****@*****.**', classifiers=[ "Development Status :: 3 - Alpha", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Intended Audience :: Developers", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules",
from docs import getVersion # Variables =================================================================== CHANGELOG = open('CHANGES.rst').read() LONG_DESCRIPTION = "\n\n".join([ open('README.rst').read(), CHANGELOG ]) # Actual setup definition ===================================================== setup( name='{{ cookiecutter.repo_name }}', version=getVersion(CHANGELOG), description='{{ cookiecutter.project_short_description }}', long_description=LONG_DESCRIPTION, url='https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}', author='{{ cookiecutter.full_name }}', author_email='{{ cookiecutter.email }}', classifiers=[ 'Intended Audience :: Developers', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.7', "License :: OSI Approved :: MIT License", ], license='MIT',