-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (53 loc) · 1.91 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
#!/usr/bin/env python
import os
import unittest
from setuptools import setup
with open('pubs/version.py') as f:
exec(f.read()) # defines __version__
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'readme.md'), 'r') as fd:
long_description = fd.read()
def pubs_test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('tests', pattern='test_*.py')
return test_suite
setup(
name='pubs',
version=__version__,
author='Fabien Benureau, Olivier Mangin, Jonathan Grizou',
author_email='[email protected]',
maintainer='Olivier Mangin',
url='https://github.com/pubs/pubs',
description='command-line scientific bibliography manager',
long_description=long_description,
long_description_content_type='text/markdown',
packages=['pubs',
'pubs.config',
'pubs.commands',
'pubs.templates',
'pubs.plugs',
'pubs.plugs.alias',
'pubs.plugs.git'],
entry_points={
'console_scripts': [
'pubs=pubs.pubs_cmd:execute',
],
},
include_package_data=True,
install_requires=['pyyaml', 'bibtexparser>=1.0', 'python-dateutil', 'six',
'requests', 'configobj', 'beautifulsoup4', 'feedparser'],
extras_require={'autocompletion': ['argcomplete'],
},
python_requires='>=3.6',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
],
test_suite='tests',
tests_require=['pyfakefs>=3.4', 'mock', 'ddt>=1.4.1', 'certifi', 'pytest'],
# in order to avoid 'zipimport.ZipImportError: bad local file header'
zip_safe=False,
)