mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
list prereqs.
See https://caremad.io/posts/2013/07/setup-vs-requirement/ .
This commit is contained in:
parent
3e873a3fde
commit
9a51c55402
3 changed files with 13 additions and 3 deletions
|
@ -8,7 +8,7 @@ install:
|
||||||
- choco install strawberryperl
|
- choco install strawberryperl
|
||||||
- copy %PYTHON%\python.exe %PYTHON%\python3.exe
|
- copy %PYTHON%\python.exe %PYTHON%\python3.exe
|
||||||
- SET PATH=%PYTHON%;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
|
- SET PATH=%PYTHON%;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
|
||||||
- python3 -mpip install Pillow attrs configobj flake8 flake8-import-order py2exe pycotap pygame pysol-cards random2 six
|
- python3 -mpip install Pillow attrs configobj flake8 flake8-import-order py2exe pycotap pygame pysol-cards random2 setuptools six
|
||||||
- perl -v
|
- perl -v
|
||||||
- copy C:\msys64\mingw64\bin\mingw32-make.exe C:\msys64\mingw64\bin\make.exe
|
- copy C:\msys64\mingw64\bin\mingw32-make.exe C:\msys64\mingw64\bin\make.exe
|
||||||
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
|
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
|
||||||
|
|
|
@ -39,7 +39,7 @@ before_install:
|
||||||
install:
|
install:
|
||||||
- sudo cpanm --notest Capture::Tiny
|
- sudo cpanm --notest Capture::Tiny
|
||||||
- sudo cpanm Code::TidyAll::Plugin::Flake8 Perl::Tidy Test::Code::TidyAll Test::Differences Test::TrailingSpace
|
- sudo cpanm Code::TidyAll::Plugin::Flake8 Perl::Tidy Test::Code::TidyAll Test::Differences Test::TrailingSpace
|
||||||
- export PY_MODS='attrs configobj pycotap pysol-cards random2 six'
|
- export PY_MODS='attrs configobj pycotap pysol-cards random2 setuptools six'
|
||||||
- "`which python3` -m pip install --upgrade flake8 flake8-import-order $PY_MODS"
|
- "`which python3` -m pip install --upgrade flake8 flake8-import-order $PY_MODS"
|
||||||
- "sudo /usr/bin/python3 -m pip install --upgrade $PY_MODS || true"
|
- "sudo /usr/bin/python3 -m pip install --upgrade $PY_MODS || true"
|
||||||
- "sudo `which python2` -m pip install --upgrade $PY_MODS"
|
- "sudo `which python2` -m pip install --upgrade $PY_MODS"
|
||||||
|
|
12
setup.py
12
setup.py
|
@ -2,11 +2,13 @@
|
||||||
# -*- mode: python; -*-
|
# -*- mode: python; -*-
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from distutils.core import setup
|
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
|
||||||
from pysollib.settings import PACKAGE_URL
|
from pysollib.settings import PACKAGE_URL
|
||||||
from pysollib.settings import VERSION
|
from pysollib.settings import VERSION
|
||||||
|
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
import py2exe # noqa: F401
|
import py2exe # noqa: F401
|
||||||
|
|
||||||
|
@ -69,6 +71,14 @@ kw = {
|
||||||
'author': 'Skomoroh',
|
'author': 'Skomoroh',
|
||||||
'author_email': 'skomoroh@gmail.com',
|
'author_email': 'skomoroh@gmail.com',
|
||||||
'description': 'a Python solitaire game collection',
|
'description': 'a Python solitaire game collection',
|
||||||
|
'install_requires': [
|
||||||
|
'attrs',
|
||||||
|
'configobj',
|
||||||
|
'pycotap',
|
||||||
|
'pysol_cards',
|
||||||
|
'random2',
|
||||||
|
'six',
|
||||||
|
],
|
||||||
'long_description': long_description,
|
'long_description': long_description,
|
||||||
'license': 'GPL',
|
'license': 'GPL',
|
||||||
'scripts': ['pysol.py'],
|
'scripts': ['pysol.py'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue