forked from ershov/layercparse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (22 loc) · 722 Bytes
/
setup.py
File metadata and controls
27 lines (22 loc) · 722 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
#!/usr/bin/env python3
from setuptools import setup
import re
with open("README.md", "r") as f:
long_description = f.read()
with open("requirements.txt") as f:
requirements = f.read().split()
with open("layercparse/__init__.py") as f:
version = re.search(r'LAYERCPARSE_VERSION\s*=\s*"([^"]+)"', f.read()).group(1)
setup(
name="layercparse",
version=version,
author="Yury Ershov",
license="GPL3",
description="Layered C parser",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/wiredtiger/layercparse",
# scripts=["bin/..."],
packages=["layercparse"],
install_requires = requirements,
zip_safe=False)