File tree Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Publish package to PyPi
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+
9+ push :
10+ runs-on : ubuntu-20.04
11+
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v2
15+ - name : setup python
16+ uses : actions/setup-python@v2
17+ with :
18+ python-version : 3.5
19+
20+ - name : Install pip
21+ run : pip install pip
22+
23+ - name : Install Dependencies
24+ run : pip install setuptools wheel
25+
26+ - name : Build package
27+ run : python setup.py sdist bdist_wheel
28+
29+ - name : Publish to PyPi
30+ uses : pypa/gh-action-pypi-publish@master
31+ with :
32+ user : __token__
33+ password : ${{ secrets.PYPI_UPLOAD_TOKEN }}
Original file line number Diff line number Diff line change 22
33from setuptools import setup
44
5+ with open ('README.rst' ) as readme :
6+ long_description = readme .read ()
7+
58setup (
69 name = "codejail" ,
7- version = "3.1.3" ,
10+ version = "3.1.4" ,
11+ license = 'Apache' ,
12+ description = 'CodeJail manages execution of untrusted code in secure sandboxes. It is designed primarily for '
13+ 'Python execution, but can be used for other languages as well.' ,
14+ long_description = long_description ,
15+ keywords = 'edx codejail' ,
16+ author = 'edX' ,
17+ 18+ url = 'https://github.com/edx/codejail' ,
819 packages = ['codejail' ],
920 install_requires = ['six' ],
1021 zip_safe = False ,
1122 classifiers = [
1223 "License :: OSI Approved :: Apache Software License" ,
13- "Operating System :: POSIX :: Ubuntu " ,
24+ "Operating System :: POSIX :: Linux " ,
1425 "Development Status :: 5 - Production/Stable" ,
1526 "Intended Audience :: Developers" ,
1627 'Programming Language :: Python' ,
You can’t perform that action at this time.
0 commit comments