Skip to content

Commit bdb3275

Browse files
preparing for conda
1 parent 558290e commit bdb3275

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

Makefile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,24 @@ pypi: clean
7676

7777
testpypi: 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+
8597
tarballs:
8698
cd distribution && make tarballs
8799

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
2-
requires = ["setuptools>=61.0"]
2+
requires = ["setuptools>=61.0","pip"]
33
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)