File tree 3 files changed +32
-10
lines changed
3 files changed +32
-10
lines changed Original file line number Diff line number Diff line change 1
- 3.6.6
1
+ 3.6.8
Original file line number Diff line number Diff line change @@ -5,18 +5,25 @@ PIP=venv/bin/pip
5
5
NOSE =venv/bin/nosetests
6
6
FLAKE =venv/bin/flake8
7
7
FLAGS =
8
+ PYPICLOUD_HOST =pypicloud.getkeepsafe.local
9
+ TWINE =./venv/bin/twine
8
10
11
+ update :
12
+ $(PIP ) install -U pip
13
+ $(PIP ) install -U .
9
14
10
15
env :
11
- python3 -m venv venv
12
- $(PYTHON ) ./setup.py develop
16
+ test -d venv || python3 -m venv venv
13
17
14
- dev :
15
- $(PIP ) install -r requirements-dev.txt
16
- $(PYTHON ) ./setup.py develop
18
+ dev : env update
19
+ $(PIP ) install .[tests,devtools]
17
20
18
- install :
19
- $(PYTHON ) ./setup.py install
21
+ install : env update
22
+
23
+ publish :
24
+ rm -rf dist
25
+ $(PYTHON ) -m build .
26
+ $(TWINE ) upload --verbose --sign --username developer --repository-url http://$(PYPICLOUD_HOST ) /simple/ dist/* .whl
20
27
21
28
flake :
22
29
$(FLAKE ) sdiff tests
Original file line number Diff line number Diff line change 2
2
from setuptools import setup , find_packages
3
3
4
4
5
- version = '0.4.0 '
5
+ version = '0.4.1 '
6
6
7
7
8
8
def read (f ):
@@ -13,10 +13,20 @@ def read(f):
13
13
'mistune <= 1' ,
14
14
]
15
15
16
+ tests_require = [
17
+ 'nose' ,
18
+ 'flake8' ,
19
+ 'autopep8' ,
20
+ ]
21
+
22
+ devtools_require = [
23
+ 'twine' ,
24
+ 'build' ,
25
+ ]
26
+
16
27
setup (name = 'sdiff' ,
17
28
version = version ,
18
29
description = ('sdiff compares the structure of two markdown texts' ),
19
- long_description = '\n \n ' .join ((read ('README.md' ), read ('CHANGELOG' ))),
20
30
classifiers = [
21
31
'License :: OSI Approved :: BSD License' ,
22
32
'Intended Audience :: Developers' ,
@@ -29,4 +39,9 @@ def read(f):
29
39
package_data = {},
30
40
namespace_packages = [],
31
41
install_requires = install_requires ,
42
+ tests_require = tests_require ,
43
+ extras_require = {
44
+ 'tests' : tests_require ,
45
+ 'devtools' : devtools_require ,
46
+ },
32
47
include_package_data = False )
You can’t perform that action at this time.
0 commit comments