Skip to content

Commit

Permalink
1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavsingh97 committed May 15, 2022
1 parent 8920490 commit e596d34
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test:
pytest

build:
python setup.py sdist bdist_wheel
python3 -m build

test_upload:
python -m twine upload -r testpypi dist/*
Expand All @@ -42,9 +42,10 @@ clean:
find . -type d -name __pycache__ -exec rm -r {} \+
rm -rf build/
rm -rf dist/
rm -rf *.egg-info
find . -name '*.egg-info' -exec rm -rf {} +
rm -rf .tox
rm -rf .pytest_cache .coverage
rm -rf .eggs

lint:
autopep8 random_word --recursive --in-place --pep8-passes 2000 --verbose
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=42", "pyyaml", "requests", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"
16 changes: 9 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,23 @@
long_description = fh.read()

setuptools.setup(
name=random_word.__name__,
version=random_word.__version__,
author=random_word.__author__,
name="Random Word",
version="1.0.8",
author="Vaibhav Singh <hi@vaibhavsingh97.com>",
author_email="hi@vaibhavsingh97.com",
description="This is a simple python package to generate random english words",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
keywords="package random words word of the day random word generator",
url="https://github.com/vaibhavsingh97/random-word",
packages=setuptools.find_packages(),
classifiers=(
package_dir={"": "random_word"},
packages=setuptools.find_packages(where="random_word"),
python_requires='>=3',
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
Expand All @@ -29,9 +30,10 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
),
],
setup_requires=['pytest-runner'],
tests_require=["pytest"],
install_requires=["requests", "pytest", "pyyaml"],
Expand Down

0 comments on commit e596d34

Please sign in to comment.