Example #1
0
with open(os.path.join('loom', '__init__.py')) as f:
    for line in f:
        if re.match("__version__ = '\S+'$", line):
            version = line.split()[-1].strip("'")
assert version, 'could not determine version'


with open('README.md') as f:
    long_description = f.read()


config = {
    'version': version,
    'name': 'loom',
    'description': 'Streaming cross-cat inference engine',
    'long_description': long_description,
    'url': 'https://github.com/priorknowledge/loom',
    'author': 'Fritz Obermeyer, Jonathan Glidden',
    'maintainer': 'Fritz Obermeyer',
    'maintainer_email': '*****@*****.**',
    'license': 'Revised BSD',
    'packages': [
        'loom',
        'loom.test',
    ],
    'ext_modules': cythonize(ext_modules),
    'entry_points': parsable.find_entry_points('loom'),
}

setup(**config)
Example #2
0
with open(os.path.join('loom', '__init__.py')) as f:
    for line in f:
        if re.match("__version__ = '\S+'$", line):
            version = line.split()[-1].strip("'")
assert version, 'could not determine version'


with open('README.md') as f:
    long_description = f.read()


config = {
    'version': version,
    'name': 'loom',
    'description': 'Streaming cross-cat inference engine',
    'long_description': long_description,
    'url': 'https://github.com/priorknowledge/loom',
    'author': 'Fritz Obermeyer, Jonathan Glidden',
    'maintainer': 'Fritz Obermeyer',
    'maintainer_email': '*****@*****.**',
    'license': 'Revised BSD',
    'packages': [
        'loom',
        'loom.test',
    ],
    'ext_modules': cythonize(ext_modules),
    'entry_points': parsable.find_entry_points('loom'),
}

setup(**config)
Example #3
0
#     packages=packages,
#     package_dir={'pomagma': 'src'},
# )


version = None
with open(os.path.join('src', '__init__.py')) as f:
    for line in f:
        if re.match("__version__ = '\S+'$", line):
            version = line.split()[-1].strip("'")
assert version, 'could not determine version'

with open('README.md') as f:
    long_description = f.read()

config = {
    'name': 'pomagma',
    'version': version,
    'description': 'An inference engine for extensional lambda-calculus',
    'long_description': long_description,
    'url': 'https://github.com/fritzo/pomagma',
    'author': 'Fritz Obermeyer',
    'maintainer': 'Fritz Obermeyer',
    'maintainer_email': '*****@*****.**',
    'license': 'Apache 2.0',
    'packages': setuptools.find_packages(exclude='src'),
    'entry_points': parsable.find_entry_points('pomagma'),
}

setuptools.setup(**config)
Example #4
0
for line in open('treecat/__init__.py'):
    if line.startswith('__version__ = '):
        version = line.strip().split()[-1][1:-1]

setup(
    name='pytreecat',
    version=version,
    description=(
        'A Bayesian latent tree model of high-dimensional heterogeneous data'),
    long_description=long_description,
    author='Fritz Obermeyer',
    author_email='*****@*****.**',
    url='https://github.com/posterior/treecat',
    packages=['treecat'],
    package_data={'treecat': 'testdata/*.csv'},
    entry_points=parsable.find_entry_points('treecat'),
    install_requires=[
        'jsonpickle',
        'matplotlib',
        'numpy',
        'pandas',
        'parsable',
        'scipy',
        'six',
    ],
    tests_require=[
        'flake8',
        'goftests',
        'matplotlib',
        'pytest',
    ],