Skip to content

Commit dc6e712

Browse files
committed
Create setup.py
1 parent 24f7764 commit dc6e712

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

setup.py

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
""" Setup
2+
"""
3+
from setuptools import setup, find_packages
4+
from codecs import open
5+
from os import path
6+
7+
here = path.abspath(path.dirname(__file__))
8+
9+
# Get the long description from the README file
10+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
11+
long_description = f.read()
12+
13+
def _read_reqs(relpath):
14+
fullpath = path.join(path.dirname(__file__), relpath)
15+
with open(fullpath) as f:
16+
return [s.strip() for s in f.readlines() if (s.strip() and not s.startswith("#"))]
17+
18+
REQUIREMENTS = _read_reqs("requirements.txt")
19+
20+
21+
exec(open('docta/version.py').read())
22+
setup(
23+
name='docta',
24+
version=__version__,
25+
description='OpenCLIP',
26+
long_description=long_description,
27+
long_description_content_type='text/markdown',
28+
url='https://github.com/Docta-ai/docta',
29+
author='',
30+
author_email='',
31+
classifiers=[
32+
# How mature is this project? Common values are
33+
# 3 - Alpha
34+
# 4 - Beta
35+
# 5 - Production/Stable
36+
'Development Status :: 3 - Alpha',
37+
'Intended Audience :: Education',
38+
'Intended Audience :: Science/Research',
39+
'License :: CC BY-NC 4.0',
40+
'Programming Language :: Python :: 3.7',
41+
'Programming Language :: Python :: 3.8',
42+
'Programming Language :: Python :: 3.9',
43+
'Programming Language :: Python :: 3.10',
44+
'Topic :: Scientific/Engineering',
45+
'Topic :: Scientific/Engineering :: Artificial Intelligence',
46+
'Topic :: Software Development',
47+
'Topic :: Software Development :: Libraries',
48+
'Topic :: Software Development :: Libraries :: Python Modules',
49+
],
50+
51+
# Note that this is a string of words separated by whitespace, not a list.
52+
keywords='Data diagnosis, curation',
53+
package_dir={'': 'docta'},
54+
packages=find_packages(where='docta'),
55+
include_package_data=True,
56+
install_requires=REQUIREMENTS,
57+
python_requires='>=3.7',
58+
)

0 commit comments

Comments
 (0)