-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (26 loc) · 822 Bytes
/
setup.py
File metadata and controls
28 lines (26 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import os
from setuptools import setup, find_packages
from typing import Any, Dict
# Get the version string. Cannot be done with import!
g: Dict[str, Any] = {}
with open(os.path.join("sword3common", "version.py"), "rt") as fp:
exec(fp.read(), g)
version = g["__version__"]
setup(
name="sword3common",
version=version,
description="SWORDv3 Common Object Library",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=[],
url="https://github.com/cottagelabs/sword3-common.py",
author="Cottage Labs",
author_email="richard@cottagelabs.com",
license="Apache2",
classifiers=[],
extras_require={
"docs": ["Sphinx", 'sphinx-autodoc-annotation'],
"test": ["nose"]
}
)