Skip to content

Installing gpmp in development mode requires a setup.py #5

@jalvesz

Description

@jalvesz

Hi,

I had to create a setup.py from the pyproject.toml in order to install in development mode with pip install -e .:

tested on:

  • Windows 11 + python 3.11
  • Ubuntu 22 + python 3.10
from setuptools import setup, find_packages

with open("VERSION") as version_file:
    version = version_file.read().strip()

setup(
    name="gpmp",
    version=version,
    author="Emmanuel Vazquez",
    author_email="[email protected]",
    description="GPmp: the Gaussian process micro package",
    long_description=open("README.md").read(),
    long_description_content_type="text/markdown",
    url="https://github.com/gpmp-dev/gpmp",
    license="GPLv3+",
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
        "Operating System :: OS Independent",
    ],
    python_requires=">=3.6",
    install_requires=[
        "numpy",
        "scipy>=1.8.0",
        "matplotlib"
    ],
    packages=find_packages(where="."),
    package_dir={"": "."},
    include_package_data=True,
    extras_require={
        "dev": []
    },
    project_urls={
        "Homepage": "https://github.com/gpmp-dev/gpmp",
    },
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions