File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 $(info sdist)
1313
1414doc :
15- cd docs && make html
15+ cd doc && make html
1616
1717clean-docs :
18- cd docs && make clean
18+ cd doc && make clean
1919
2020clean-files :
2121 git clean -fx
22+ rm -rf build/ dist/
2223
2324clean : clean-files clean-docs
2425
@@ -34,4 +35,15 @@ build:
3435sdist :
3536 ./setup.py sdist
3637
37-
38+ release : clean
39+ # Check if latest tag is the current head we're releasing
40+ echo " Latest tag = $$ (git tag | sort -nr | head -n1)"
41+ echo " HEAD SHA = $$ (git rev-parse head)"
42+ echo " Latest tag SHA = $$ (git tag | sort -nr | head -n1 | xargs git rev-parse)"
43+ @test " $$ (git rev-parse head)" = " $$ (git tag | sort -nr | head -n1 | xargs git rev-parse)"
44+ make force_release
45+
46+ force_release : clean
47+ git push --tags
48+ python setup.py sdist bdist_wheel
49+ twine upload -s -i byronimo@gmail.com dist/*
Original file line number Diff line number Diff line change 5050 "Programming Language :: Python :: 3" ,
5151 "Programming Language :: Python :: 3.3" ,
5252 "Programming Language :: Python :: 3.4" ,
53+ "Programming Language :: Python :: 3.5" ,
54+ "Programming Language :: Python :: 3.6" ,
5355 ],
5456 long_description = long_description ,
5557 tests_require = ('nose' , 'nosexcover' ),
Original file line number Diff line number Diff line change 33__author__ = "Sebastian Thiel"
44__contact__ = "byronimo@gmail.com"
55__homepage__ = "https://github.com/Byron/smmap"
6- version_info = (2 , 0 , 1 )
6+ version_info = (2 , 0 , 2 )
77__version__ = '.' .join (str (i ) for i in version_info )
88
99# make everything available in root package for convenience
You can’t perform that action at this time.
0 commit comments