-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
75 lines (67 loc) · 2.12 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
66
67
68
69
70
71
72
73
74
75
from setuptools import setup, find_packages
import os
from io import open
packagename = 'lsst-projectmeta-kit'
description = ("Python toolkit for extracting and transforming metadata "
"about LSST's code and documentation projects, and loading "
"it into the LSST projectmeta database.")
author = 'Association of Universities for Research in Astronomy, Inc.'
author_email = 'jsick@lsst.org'
license = 'MIT'
url = 'https://github.com/lsst-sqre/lsst-projectmeta-kit'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return open(full_filename, mode='r', encoding='utf-8').read()
long_description = read('README.rst')
setup(
name=packagename,
use_scm_version=True,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='lsst',
packages=find_packages(exclude=['docs', 'tests*', 'data']),
install_requires=[
'pyjwt>=1.4.2',
'requests>=2.13.0',
'pypandoc>=1.4',
'panflute==1.10.6',
'aiohttp>=2.2.5',
'pybtex>=0.21',
'GitPython>=2.1.7',
'pytz',
'motor>=1.2.0, <1.3.0',
# https://github.com/Julian/jsonschema/issues/449#issuecomment-411406525
'attrs>=17.4.0 '
],
extras_require={
'dev': [
# Development/testing dependencies
'pytest==4.4.0',
'pytest-cov==2.6.1',
'pytest-flake8==1.0.4',
]},
setup_requires=[
'setuptools-scm==1.15.6',
],
include_package_data=True,
entry_points={
'console_scripts': [
('lsstprojectmeta-deparagraph '
'= lsstprojectmeta.pandoc.filters.deparagraph:main'),
('lsstprojectmeta-ingest-docs '
'= lsstprojectmeta.cli.ingestdocs:main')
]
}
)