Skip to content

Commit

Permalink
fix build [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bodrovis committed Mar 7, 2022
1 parent 97f846e commit bc5bcc5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
4 changes: 0 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[check-manifest]
ignore =
.travis.yml

[bdist_wheel]
universal=1

Expand Down
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
from setuptools import setup, find_packages
from os import path
from lokalise._version import __version__


this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

about = {}
with open(path.join(this_directory, 'lokalise', '_version.py'), encoding='utf-8') as f:
exec(f.read(), about)

setup(
name="python-lokalise-api",
version=__version__,
author="Ilya Bodrov",
version=about['__version__'],
author="Ilya Bodrov-Krukowski",
author_email="[email protected]",
description="Official Python interface for the Lokalise API v2",
long_description=long_description,
Expand All @@ -24,7 +27,7 @@
},
package_dir={'lokalise': 'lokalise'},
platforms=['Any'],
install_requires=['requests>2,<3'],
install_requires=['requests'],
tests_require=['pytest', 'vcrpy', 'pytest-vcr', 'pytest-cov'],
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down

0 comments on commit bc5bcc5

Please sign in to comment.