-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
80 lines (68 loc) · 1.79 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
76
77
78
79
80
'''
apkg
~~~~
A package manager for Agda.
'''
# ----------------------------------------------------------------------------
from __future__ import absolute_import, print_function
import io
import os
import re
from os.path import basename, dirname, join
from setuptools import find_packages, setup
from apkg.__version__ import __version__
# ----------------------------------------------------------------------------
def read(*names, **kwargs):
return io.open(
join(dirname(__file__), *names)
, encoding=kwargs.get('encoding', 'utf8')
).read()
setup(
name='agda-pkg'
, version=__version__
, python_requires='>=3.6.0'
, url='https://github.com/agda/agda-pkg'
, license='MIT'
, author='Jonathan Prieto-Cubides and https://github.com/agda/agda-pkg/graphs/contributors'
, author_email='[email protected]'
, description='A package manager for Agda'
, long_description='%s' % (read('README.md'))
, long_description_content_type='text/markdown'
, packages=find_packages()
, zip_safe=False
, include_package_data=True
, package_dir={'apkg': 'apkg'}
, package_data={'apkg': ['commands/templates/*', 'support/nixos/*']}
, platforms='any'
, keywords=
[ 'agda'
, 'package-manager'
, 'agda-pkg'
, 'apkg'
]
, install_requires=
[ 'click'
, 'gitpython'
, 'pony'
, 'whoosh'
, 'ponywhoosh'
, 'natsort'
, 'click-log'
, 'requests'
, 'humanize'
, 'Jinja2'
, 'distlib'
, 'PyYAML>=5.1.1'
]
, entry_points='''
[console_scripts]
agda-pkg=apkg.apkg:cli
apkg=apkg.apkg:cli
'''
, classifiers=
[ 'Intended Audience :: Developers'
, 'License :: OSI Approved :: MIT License'
, 'Operating System :: OS Independent'
, 'Programming Language :: Python :: 3.6'
]
)