Skip to content

Commit

Permalink
Clean setup.py (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHjelmare authored Jun 10, 2020
1 parent 74d96a7 commit b32e27d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
#!/usr/bin/env python
"""Set up package."""
import os
from setuptools import setup
from pathlib import Path

from setuptools import find_packages, setup

README = open("README.md").read()
PROJECT_DIR = Path(__file__).parent.resolve()
VERSION = (PROJECT_DIR / "leicacam" / "VERSION").read_text().strip()

README_FILE = PROJECT_DIR / "README.md"
LONG_DESCRIPTION = README_FILE.read_text(encoding="utf-8")

with open(os.path.join("leicacam", "VERSION")) as version_file:
VERSION = version_file.read().strip()

setup(
name="leicacam",
version=VERSION,
description="Control Leica microscopes with python",
long_description=README,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author="Arve Seljebu",
author_email="arve.seljebu@gmail.com",
url="https://github.com/arve0/leicacam",
packages=["leicacam",],
package_dir={"leicacam": "leicacam"},
package_data={"leicacam": ["VERSION"]},
url="https://github.com/MartinHjelmare/leicacam",
packages=find_packages(exclude=["test", "test.*"]),
include_package_data=True,
python_requires=">=3.5",
install_requires=["async_timeout", "pydebug",],
install_requires=["async_timeout", "pydebug"],
license="MIT",
zip_safe=False,
keywords="leicacam",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
Expand Down

0 comments on commit b32e27d

Please sign in to comment.