File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,24 @@ pypi: clean
7676
7777testpypi : clean
7878 # # testpypi user is smodels, repository is https://test.pypi.org/legacy/
79- # to install from testpypi:
79+ # to install from testpypi:
80+ # pip3 install --user --upgrade --index-url https://test.pypi.org/simple/ smodels
81+ python -m pip install build
82+ rm -rf dist
83+ # python3 setup.py sdist bdist_wheel
84+ python -m build .
85+ twine check --strict dist/*
86+ twine upload -r pypitest dist/smodels-*.tar.gz
87+
88+ testpypiold : clean
89+ # # testpypi user is smodels, repository is https://test.pypi.org/legacy/
90+ # to install from testpypi:
8091 # pip3 install --user --upgrade --index-url https://test.pypi.org/simple/ smodels
8192 rm -rf dist
8293 python3 setup.py sdist bdist_wheel
8394 twine upload -r pypitest dist/smodels-* .tar.gz
8495
96+
8597tarballs :
8698 cd distribution && make tarballs
8799
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools>=61.0" ]
2+ requires = [" setuptools>=61.0" , " pip " ]
33build-backend = " setuptools.build_meta"
Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ def compile():
150150 include_package_data = True ,
151151 test_suite = 'test' ,
152152 long_description = read ('smodels/README.rst' ),
153+ long_description_content_type = "text/x-rst" ,
153154 classifiers = [
154155 "Development Status :: 5 - Production/Stable" ,
155156 "Topic :: Scientific/Engineering :: Physics" ,
You can’t perform that action at this time.
0 commit comments