-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·59 lines (55 loc) · 1.42 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
#!/usr/bin/env python
# pylint: disable=C0111,C0103,import-error,no-name-in-module
from setuptools import setup
from setuptools import find_packages
import versioneer
from sphinx.setup_command import BuildDoc
version = versioneer.get_version()
cmdclass = versioneer.get_cmdclass()
cmdclass['build_sphinx'] = BuildDoc
name = 'biblishelf'
setup(
name=name,
version=version,
install_requires=[
"cement",
],
packages=find_packages('src'),
package_dir={
"": "src",
},
package_data={
"": [],
},
description="a file ",
author="xingci xu",
author_email="[email protected]",
license='MIT license',
url='',
classifiers=[
'Environment :: Web Environment',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
entry_points={
'console_scripts': [
'biblishelf_cli = biblishelf_cli.main:main',
'bib = biblishelf_core.loader:command_entry',
],
},
cmdclass=cmdclass,
command_options={
'build_sphinx': {
'project': ('setup.py', name),
'version': ('setup.py', '.'.join(version.split('.')[:2])),
'release': ('setup.py', version),
},
},
setup_requires=['pytest-runner'],
tests_require=[
'pytest',
'coverage',
'pytest-cov'
],
)