-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
65 lines (61 loc) · 1.56 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(".", *rnames)).read()
READMES = [
a
for a in [
"README",
"README.rst",
"README.md",
"README.txt",
"CHANGES.md",
"CHANGES.rst",
"USAGE.rst",
"USAGE.md",
"HISTORY.md",
"HISTORY.rst",
]
if os.path.exists(a)
]
long_description = "\n\n".join([read(a) for a in READMES])
classifiers = ["Programming Language :: Python", "Topic :: Software Development"]
name = "bitwardentools"
version = "1.0.57"
src_dir = "src"
req = re.compile("^(?!(-e|#))", flags=re.I | re.M)
install_requires = [
a.strip()
for a in open("requirements/requirements.txt").read().splitlines()
if req.search(a) and a.strip()
]
extra_requires = {}
candidates = {}
entry_points = {
# z3c.autoinclude.plugin": ["target = plone"],
# "console_scripts": ["foo = foo:main"],
}
setup(
name=name,
version=version,
namespace_packages=[],
description=name,
long_description=long_description,
classifiers=classifiers,
keywords="",
author="kiorky",
author_email="[email protected]",
url="https://github.com/corpusops/bitwardentools",
long_description_content_type="text/markdown",
license="GPL",
packages=find_packages(src_dir),
package_dir={"": src_dir},
include_package_data=True,
install_requires=install_requires,
extras_require=extra_requires,
entry_points=entry_points,
)
# vim:set ft=python: