File tree Expand file tree Collapse file tree 1 file changed +20
-28
lines changed
{{cookiecutter.github_project_name}} Expand file tree Collapse file tree 1 file changed +20
-28
lines changed Original file line number Diff line number Diff line change 7
7
from __future__ import print_function
8
8
from glob import glob
9
9
from os .path import join as pjoin
10
- import sys
10
+
11
11
12
12
from setupbase import (
13
13
create_cmdclass , install_npm , ensure_targets ,
14
14
find_packages , combine_commands , ensure_python ,
15
- get_version , setup , HERE
15
+ get_version , HERE
16
16
)
17
17
18
+ from setuptools import setup
19
+
18
20
19
21
# The name of the project
20
22
name = '{{ cookiecutter.python_package_name }}'
80
82
'Programming Language :: Python :: 3.6' ,
81
83
'Framework :: Jupyter' ,
82
84
],
83
- )
84
-
85
-
86
- setuptools_args = dict (include_package_data = True )
87
- install_requires = setuptools_args ['install_requires' ] = [
88
- 'ipywidgets>=7.0.0' ,
89
- ]
90
-
91
- extras_require = setuptools_args ['extras_require' ] = {
92
- 'test' : [
93
- 'pytest' ,
94
- 'pytest-cov' ,
95
- 'nbval' ,
85
+ include_package_data = True ,
86
+ install_requires = [
87
+ 'ipywidgets>=7.0.0' ,
96
88
],
97
- 'docs' : [
98
- 'sphinx' ,
99
- 'recommonmark ' ,
100
- 'sphinx_rtd_theme'
101
- ] ,
102
- }
103
-
104
- if 'setuptools' in sys . modules :
105
- setup_args . update ( setuptools_args )
106
-
107
- setup_args . pop ( 'scripts' , None )
108
-
109
- setup_args . update ( setuptools_args )
89
+ extras_require = {
90
+ 'test' : [
91
+ 'pytest ' ,
92
+ 'pytest-cov' ,
93
+ 'nbval' ,
94
+ ],
95
+ 'examples' : [
96
+ # Any requirements for the examples to run
97
+ ],
98
+ },
99
+ entry_points = {
100
+ },
101
+ )
110
102
111
103
if __name__ == '__main__' :
112
104
setup (** setup_args )
You can’t perform that action at this time.
0 commit comments