# -*- coding: utf-8 -*- import pkutils try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup import tsenum requirements = list(pkutils.parse_requirements('requirements.txt')) dependencies = list(pkutils.parse_requirements('requirements.txt', True)) readme = pkutils.read('README.md') module = pkutils.parse_module('tsenum/__init__.py') version = module.__version__ project = module.__title__ user = '******' setup( name=project, version=version, description=module.__description__, long_description=readme, author=module.__author__, author_email=module.__email__, install_requires=requirements, dependency_links=dependencies, setup_requires=['pkutils'], url=pkutils.get_url(project, user), download_url=pkutils.get_dl_url(project, user, version), classifiers=[
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import pkutils from os import path as p from setuptools import setup, find_packages PARENT_DIR = p.abspath(p.dirname(__file__)) sys.dont_write_bytecode = True requirements = list(pkutils.parse_requirements('requirements.txt')) dev_requirements = list(pkutils.parse_requirements('dev-requirements.txt')) readme = pkutils.read('README.rst') changes = pkutils.read(p.join(PARENT_DIR, 'docs', 'CHANGES.rst')) module = pkutils.parse_module(p.join(PARENT_DIR, 'meza', '__init__.py')) license = module.__license__ version = module.__version__ project = module.__title__ description = module.__description__ user = '******' # Setup requirements setup_require = [r for r in dev_requirements if 'pkutils' in r] setup( name=project, version=version, description=description, long_description='%s\n\n%s' % (readme, changes),
from os import path as p try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages PARENT_DIR = p.abspath(p.dirname(__file__)) sys.dont_write_bytecode = True py2_requirements = set(pkutils.parse_requirements('py2-requirements.txt')) py3_requirements = set(pkutils.parse_requirements('requirements.txt')) dev_requirements = set(pkutils.parse_requirements('dev-requirements.txt')) optional = 'optional-requirements.txt' opt_requirements = set(pkutils.parse_requirements(optional)) readme = pkutils.read('README.rst') # changes = pkutils.read('CHANGES.rst').replace('.. :changelog:', '') module = pkutils.parse_module(p.join(PARENT_DIR, 'riko', '__init__.py')) license = module.__license__ version = module.__version__ project = module.__title__ description = module.__description__ user = '******' # Conditional sdist dependencies: py2 = sys.version_info.major == 2 requirements = py2_requirements if py2 else py3_requirements # Conditional bdist_wheel dependencies: py2_require = py2_requirements.difference(py3_requirements)
import sys import ckanny import pkutils from os import path as p try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages sys.dont_write_bytecode = True requirements = list(pkutils.parse_requirements('requirements.txt')) dependencies = list(pkutils.parse_requirements('requirements.txt', dep=True)) dev_requirements = list(pkutils.parse_requirements('dev-requirements.txt')) readme = pkutils.read('README.md') changes = pkutils.read('CHANGES.rst').replace('.. :changelog:', '') license = ckanny.__license__ version = ckanny.__version__ title = ckanny.__title__ gh = 'https://github.com/reubano' setup( name=title, version=version, description=ckanny.__description__, long_description=readme + '\n\n' + changes, author=ckanny.__author__, author_email=ckanny.__email__, url='%s/%s' % (gh, title), download_url='%s/%s/downloads/%s*.tgz' % (gh, title, title),
from os import path as p import pkutils try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages PARENT_DIR = p.abspath(p.dirname(__file__)) sys.dont_write_bytecode = True py2_requirements = sorted(pkutils.parse_requirements('py2-requirements.txt')) py3_requirements = sorted(pkutils.parse_requirements('requirements.txt')) dev_requirements = sorted(pkutils.parse_requirements('dev-requirements.txt')) readme = pkutils.read('README.md') module = pkutils.parse_module(p.join(PARENT_DIR, 'csv2ofx', '__init__.py')) license = module.__license__ version = module.__version__ project = module.__title__ description = module.__description__ user = '******' # Conditional sdist dependencies: py2 = sys.version_info.major == 2 requirements = py2_requirements if py2 else py3_requirements # Conditional bdist_wheel dependencies: py2_require = set(py2_requirements).difference(py3_requirements) # Setup requirements
import pkutils try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages PARENT_DIR = p.abspath(p.dirname(__file__)) sys.dont_write_bytecode = True py2_requirements = set(pkutils.parse_requirements('py2-requirements.txt')) py3_requirements = set(pkutils.parse_requirements('requirements.txt')) dev_requirements = list(pkutils.parse_requirements('dev-requirements.txt')) optional = 'optional-requirements.txt' opt_requirements = set(pkutils.parse_requirements(optional)) readme = pkutils.read('README.rst') changes = pkutils.read(p.join(PARENT_DIR, 'docs', 'CHANGES.rst')) module = pkutils.parse_module(p.join(PARENT_DIR, 'riko', '__init__.py')) license = module.__license__ version = module.__version__ project = module.__title__ description = module.__description__ user = '******' # Conditional sdist dependencies: py2 = sys.version_info.major == 2 requirements = list(py2_requirements if py2 else py3_requirements) # Conditional bdist_wheel dependencies: py2_require = list(py2_requirements.difference(py3_requirements))
#!/usr/bin/env python from __future__ import print_function from setuptools import find_packages import pkutils import ongair try: from setuptools import setup except ImportError: from distutils.core import setup requirements = list(pkutils.parse_requirements("requirements.txt")) readme = pkutils.read("README.md") author = ongair.__author__ license = ongair.__license__ version = ongair.__version__ project = ongair.__title__ description = ongair.__description__ email = ongair.__email__ user = "******" # TODO: Figuring out the right licence, setup( name=project, version=version, url=pkutils.get_url(project, user), licence=license, author=author, install_requires=requirements, setup_requires=["pkutils>=0.12.4,<0.13.0"], scripts=["ongair-cli", "ongair-monitor-cli", "ongair-health-cli"],
from os import path as p import pkutils try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages PARENT_DIR = p.abspath(p.dirname(__file__)) sys.dont_write_bytecode = True requirements = sorted(pkutils.parse_requirements("requirements.txt")) dev_requirements = sorted(pkutils.parse_requirements("dev-requirements.txt")) readme = pkutils.read("README.md") module = pkutils.parse_module(p.join(PARENT_DIR, "csv2ofx", "__init__.py")) license = module.__license__ version = module.__version__ project = module.__title__ description = module.__description__ user = "******" # Setup requirements setup_require = [r for r in dev_requirements if "pkutils" in r] setup( name=project, version=version, description=description, long_description=readme,
from os import path as p try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages PARENT_DIR = p.abspath(p.dirname(__file__)) paren = lambda *paths: p.join(PARENT_DIR, *paths) sys.dont_write_bytecode = True py2_requirements = set(pkutils.parse_requirements('py2-requirements.txt')) py3_requirements = set(pkutils.parse_requirements('base-requirements.txt')) dev_requirements = set(pkutils.parse_requirements('dev-requirements.txt')) _prod_requirements = set(pkutils.parse_requirements('requirements.txt')) readme = pkutils.read(paren('README.rst')) module = pkutils.parse_module(paren('app', '__init__.py')) license = module.__license__ version = module.__version__ project = module.__package_name__ description = module.__description__ user = '******' # Conditional sdist dependencies: py2 = sys.version_info.major == 2 requirements = py2_requirements if py2 else py3_requirements prod_requirements = _prod_requirements.difference(requirements) # Conditional bdist_wheel dependencies: py2_require = py2_requirements.difference(py3_requirements)
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import pkutils from os import path as p from setuptools import setup, find_packages PARENT_DIR = p.abspath(p.dirname(__file__)) sys.dont_write_bytecode = True requirements = list(pkutils.parse_requirements("requirements.txt")) dev_requirements = list(pkutils.parse_requirements("dev-requirements.txt")) readme = pkutils.read("README.rst") changes = pkutils.read(p.join(PARENT_DIR, "docs", "CHANGES.rst")) module = pkutils.parse_module(p.join(PARENT_DIR, "meza", "__init__.py")) license = module.__license__ version = module.__version__ project = module.__title__ description = module.__description__ user = "******" # Setup requirements setup_require = [r for r in dev_requirements if "pkutils" in r] setup( name=project, version=version, description=description, long_description="%s\n\n%s" % (readme, changes),