-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
31 lines (26 loc) · 915 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
31
from pathlib import Path
import setuptools
def parse_requirements(filename):
with open(Path(__name__).parent / filename) as f:
return [l for l in f.readlines() if l[0] not in ["-", "#"]]
setuptools.setup(
name="dnjs",
version="0.0.12",
author="Leon Trolski",
author_email="[email protected]",
description="DOM Notation JS",
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
url="https://github.com/leontrolski/dnjs",
packages=setuptools.find_packages(),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
install_requires=parse_requirements("requirements.in"),
extras_require={"dev": parse_requirements("requirements-dev.in")},
entry_points = {
'console_scripts': ['dnjs=dnjs.cli:main'],
}
)