File tree 3 files changed +7
-12
lines changed
3 files changed +7
-12
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
3
- try :
4
- from setuptools import setup
5
- except ImportError :
6
- from distutils .core import setup
3
+ from setuptools import setup
7
4
8
5
from distutils .version import StrictVersion
9
6
import os .path
@@ -90,6 +87,12 @@ def get_version():
90
87
],
91
88
packages = PROJECT_PACKAGES ,
92
89
package_dir = PROJECT_PACKAGE_DIR ,
90
+ entry_points = {
91
+ 'console_scripts' : [
92
+ 'wpull=wpull.application.main:main' ,
93
+ 'wpull3=wpull.application.main:main' ,
94
+ ],
95
+ },
93
96
)
94
97
95
98
@@ -108,8 +111,6 @@ def get_version():
108
111
if sys .version_info < (3 , 5 ):
109
112
setup_kwargs ['install_requires' ].append ('typing' )
110
113
111
- setup_kwargs ['scripts' ] = ['scripts/wpull' , 'scripts/wpull3' ]
112
-
113
114
114
115
if __name__ == '__main__' :
115
116
if sys .version_info [0 ] < 3 :
You can’t perform that action at this time.
0 commit comments