Skip to content
Snippets Groups Projects
Select Git revision
  • 7cf139093197c28e050e110f64bbdd23baffebd3
  • master default protected
  • feature/quantileforecast
  • develop
  • add_kseq
5 results

cran-comments.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    setup.py 1.30 KiB
    # Use this guide:
    # Use:  pipreqs.exe slider --no-pin --force for requirements_pip.txt
    # https://packaging.python.org/tutorials/packaging-projects/
    # py -m build && twine upload dist/*
    # Linux> python -m build && python -m twine upload dist/*
    # Local install: sudo pip install -e ./
    
    import setuptools
    
    with open("src/snipper/version.py", "r", encoding="utf-8") as fh:
        __version__ = fh.read().split(" = ")[1].strip()[1:-1]
    
    with open("README.md", "r", encoding="utf-8") as fh:
        long_description = fh.read()
    
    setuptools.setup(
        name="codesnipper",
        version=__version__,
        author="Tue Herlau",
        author_email="tuhe@dtu.dk",
        description="A lightweight framework for censoring student solutions files and extracting code + output",
        long_description=long_description,
        long_description_content_type="text/markdown",
        license="MIT",
        url='https://lab.compute.dtu.dk/tuhe/snipper',
        project_urls={
            "Bug Tracker": "https://lab.compute.dtu.dk/tuhe/snipper/issues",
        },
        classifiers=[
            "Programming Language :: Python :: 3",
            "License :: OSI Approved :: MIT License",
            "Operating System :: OS Independent",
        ],
        package_dir={"": "src"},
        packages=setuptools.find_packages(where="src"),
        python_requires=">=3.9",
        install_requires=['pybtex', 'numpy'],
    )