forked from salesforce/BLIP
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.py
executable file
·45 lines (40 loc) · 1.45 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
import os
from pathlib import Path
import pkg_resources
from setuptools import setup, find_packages
def setup_package():
root = Path(__file__).parent.resolve()
with open(root / "requirements-dev.txt", encoding="utf8") as file:
DEVELOPMENT_MODULES = [line.strip()
for line in file if "-e" not in line]
extras = {"dev": DEVELOPMENT_MODULES}
extras["all"] = [item for group in extras.values() for item in group]
setup(
name="blip-ci",
version="0.0.5",
license="BSD-3",
author="salesforce",
author_email="",
url="https://github.com/pharmapsychotic/BLIP",
description="BLIP library for use with CLIP Interrogator",
long_description=open('README.md', encoding="utf8").read(),
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=[
str(r)
for r in pkg_resources.parse_requirements(
open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
)
],
include_package_data=True,
extras_require=extras,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 2 - Pre-Alpha",
],
python_requires=">=3.6",
)
if __name__ == "__main__":
setup_package()