File tree 6 files changed +43
-74
lines changed
6 files changed +43
-74
lines changed Original file line number Diff line number Diff line change 27
27
command : |
28
28
. venv/bin/activate
29
29
python -m compileall pyodoo samples
30
- pycodestyle pyodoo samples
30
+ python -m pycodestyle pyodoo samples
31
31
python -m flake8 pyodoo samples
32
- python setup.py install --optimize=1 --root=build
33
- ls -laR build
32
+ python -m build --outdir=dist .
33
+ python -m pip install --verbose dist/*.whl
34
+ python -m pip list
35
+ python -m pip freeze
36
+ ls -laR .
37
+ python -m pip uninstall --yes --verbose pyodoo
34
38
python -m pytest --verbose --capture=no tests
Original file line number Diff line number Diff line change 4
4
install :
5
5
- pip install -r requirements_ci.txt
6
6
script :
7
- - python -m compileall .
8
- - pycodestyle .
9
- - python -m flake8 .
10
- - python setup.py install --optimize=1 --root=build
11
- - ls -laR build
7
+ - python -m compileall pyodoo samples
8
+ - python -m pycodestyle pyodoo samples
9
+ - python -m flake8 pyodoo samples
10
+ - python -m build --outdir=dist .
11
+ - python -m pip install --verbose dist/*.whl
12
+ - python -m pip list
13
+ - python -m pip freeze
14
+ - ls -laR .
15
+ - python -m pip uninstall --yes --verbose pyodoo
12
16
- python -m pytest --verbose --capture=no tests
Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [' setuptools' , ' wheel' ]
3
+ build-backend = ' setuptools.build_meta'
Original file line number Diff line number Diff line change 2
2
3
3
flake8==5.0.4
4
4
pycodestyle==2.9.1
5
+ build==0.8.0
5
6
pytest==7.1.3
Original file line number Diff line number Diff line change 1
- [easy_install]
2
- zip_ok = False
1
+ [metadata]
2
+ name = PyOdoo
3
+ version = attr: pyodoo.constants.APP_VERSION
4
+ description = API for Odoo
5
+ long_description = file: README.md
6
+ long_description_content_type = text/markdown
7
+ author = Fabio Castelli
8
+
9
+ url = http://www.muflone.com/pyodoo/
10
+ license = GPLv3+
11
+ license_files = LICENSE
12
+ classifiers =
13
+ Development Status :: 1 - Planning
14
+ Intended Audience :: Developers
15
+ License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
16
+ Operating System :: OS Independent
17
+ Programming Language :: Python :: 3
18
+ Programming Language :: Python :: 3.9
19
+ Programming Language :: Python :: 3.10
20
+ Topic :: Software Development :: Libraries :: Python Modules
3
21
4
- [build]
5
- build_base = build
6
-
7
- [bdist]
8
- dist_dir = dist
9
-
10
- [bdist_wheel]
11
- dist_dir = dist
12
-
13
- [sdist]
14
- dist_dir = dist
22
+ [options]
23
+ packages = pyodoo
24
+ include_package_data = False
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments