Commit e1d8ca1 1 parent 9f8f31d commit e1d8ca1 Copy full SHA for e1d8ca1
File tree 4 files changed +31
-6
lines changed
4 files changed +31
-6
lines changed Original file line number Diff line number Diff line change 36
36
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
37
37
- name : Test with pytest
38
38
run : |
39
- pytest
39
+ pytest
40
+
41
+ deploy :
42
+ runs-on : ubuntu-latest
43
+ steps :
44
+ - uses : actions/checkout@v2
45
+ - name : Set up Python
46
+ uses : actions/setup-python@v2
47
+ with :
48
+ python-version : ' 3.10'
49
+ - name : Install dependencies
50
+ run : |
51
+ python -m pip install --upgrade pip
52
+ pip install setuptools wheel twine
53
+ - name : Build and publish
54
+ env :
55
+ TWINE_USERNAME : __token__
56
+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
57
+ run : |
58
+ python setup.py sdist bdist_wheel
59
+ twine upload dist/*
Original file line number Diff line number Diff line change
1
+ recursive-include bootstraprag/templates *
Original file line number Diff line number Diff line change 8
8
install_requires = [
9
9
'click' ,
10
10
],
11
- entry_points = '''
12
- [console_scripts]
13
- bootstraprag=bootstraprag.cli:cli
14
- ''' ,
15
- )
11
+ entry_points = {
12
+ 'console_scripts' : [
13
+ 'bootstraprag=bootstraprag.cli:cli' ,
14
+ ],
15
+ },
16
+ package_data = {
17
+ 'bootstraprag' : ['templates/*' ],
18
+ },
19
+ )
You can’t perform that action at this time.
0 commit comments