-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
30 lines (25 loc) · 824 Bytes
/
setup.py
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
29
30
from setuptools import find_packages, setup
with open("requirements.txt") as reqs:
requirements = [line for line in reqs.read().split("\n") if line]
VERSION = None
with open("nedoc/version.py") as f:
exec(f.read())
if VERSION is None:
raise Exception("version.py executed but VERSION was not set")
long_desc = """
See https://github.com/spirali/nedoc for more details."""
setup(
name="nedoc",
version=VERSION,
description="Generator for API documentation",
long_description=long_desc,
url="https://github.com/spirali/nedoc",
author="Stanislav Bohm",
author_email="spirali@kreatrix.org",
license="MIT",
packages=find_packages(),
provides=["nedoc"],
package_data={"nedoc": ["nedoc/templates/*"]},
include_package_data=True,
install_requires=requirements,
)