File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2121 - name : Set up Python 3.10
2222 uses : actions/setup-python@v2
2323 with :
24- python-version : 3.10
24+ python-version : 3.10.x
2525 - name : Install dependencies
2626 run : pip install setuptools wheel twine --user
2727 - name : verify git tag vs. version
@@ -35,14 +35,14 @@ jobs:
3535 python setup.py bdist_wheel
3636 - name : Publish distribution 📦 to Test PyPI
3737 if : startsWith(github.ref, 'refs/tags') && contains(github.ref, 'test')
38- uses : actions /gh-action-pypi-publish@717ba43cfbb0387f6ce311b169a825772f54d295
38+ uses : pypa /gh-action-pypi-publish@master
3939 with :
4040 password : ${{ secrets.TEST_PYPI_PASSWORD }}
4141 repository_url : https://test.pypi.org/legacy/
4242 packages_dir : ${{ matrix.package-path }}/dist/
4343 - name : Publish distribution 📦 to Production PyPI
4444 if : startsWith(github.ref, 'refs/tags') && !contains(github.ref, 'test')
45- uses : actions /gh-action-pypi-publish@717ba43cfbb0387f6ce311b169a825772f54d295
45+ uses : pypa /gh-action-pypi-publish@master
4646 with :
4747 password : ${{ secrets.PYPI_PASSWORD }}
4848 packages_dir : ${{ matrix.package-path }}/dist/
Original file line number Diff line number Diff line change 2121 - name : Set up Python 3.10
2222 uses : actions/setup-python@v2
2323 with :
24- python-version : 3.10
24+ python-version : 3.10.x
2525 - name : Install dependencies
2626 run : pip install setuptools wheel twine --user
2727 - name : verify git tag vs. version
Original file line number Diff line number Diff line change @@ -29,10 +29,16 @@ def run(self):
2929 sys .exit (info )
3030
3131
32+ # Get the long description from the README file
33+ with open (os .path .join (here , "README.md" ), encoding = "utf-8" ) as f :
34+ long_description = f .read ()
35+
3236setup (
3337 name = "mlagents_envs" ,
3438 version = VERSION ,
3539 description = "Unity Machine Learning Agents Interface" ,
40+ long_description = long_description ,
41+ long_description_content_type = "text/markdown" ,
3642 url = "https://github.com/Unity-Technologies/ml-agents" ,
3743 author = "Unity Technologies" ,
3844 author_email = "ML-Agents@unity3d.com" ,
You can’t perform that action at this time.
0 commit comments