pip moar
parent
5d9d57654b
commit
540f1b7aa3
|
@ -12,16 +12,25 @@ Then run commands like this, changing the username "jebba" to your username.
|
||||||
```
|
```
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
python3 -m pip install --user --upgrade setuptools wheel twine
|
python3 -m pip install --user --upgrade setuptools wheel twine
|
||||||
|
|
||||||
|
# Remove old build
|
||||||
|
rm -rf build dist karoo_gp_*.egg-info
|
||||||
|
|
||||||
# Create Archive
|
# Create Archive
|
||||||
python3 setup.py sdist bdist_wheel
|
python3 setup.py sdist bdist_wheel
|
||||||
|
|
||||||
# Upload to Test Archive
|
# Upload to Test Archive
|
||||||
python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
||||||
|
|
||||||
# Check Test Archive
|
# Check Test Archive
|
||||||
https://test.pypi.org/project/karoo_gp-jebba
|
https://test.pypi.org/project/karoo_gp-jebba
|
||||||
|
|
||||||
# Install Test Archive
|
# Install Test Archive
|
||||||
python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps karoo_gp-jebba
|
python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps karoo_gp-jebba
|
||||||
|
|
||||||
# Upload to Main Archive
|
# Upload to Main Archive
|
||||||
python3 -m twine upload dist/*
|
python3 -m twine upload dist/*
|
||||||
|
|
||||||
# Install Main Archive
|
# Install Main Archive
|
||||||
python3 -m pip install karoo_gp-jebba
|
python3 -m pip install karoo_gp-jebba
|
||||||
```
|
```
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -7,11 +7,12 @@ setuptools.setup(
|
||||||
name="karoo_gp-jebba",
|
name="karoo_gp-jebba",
|
||||||
version="2.3",
|
version="2.3",
|
||||||
author="Kai Staats",
|
author="Kai Staats",
|
||||||
|
author_email="github@overthesun.com",
|
||||||
description="evolutionary algorithm, genetic programming suite",
|
description="evolutionary algorithm, genetic programming suite",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://github.com/kstaats/karoo_gp",
|
url="https://github.com/kstaats/karoo_gp",
|
||||||
packages={''},
|
packages=setuptools.find_packages(),
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
|
@ -19,3 +20,4 @@ setuptools.setup(
|
||||||
],
|
],
|
||||||
python_requires='>=3.6',
|
python_requires='>=3.6',
|
||||||
)
|
)
|
||||||
|
#packages={''},
|
||||||
|
|
Loading…
Reference in New Issue