Skip to content

Commit 97c63b2

Browse files
authored
Change packages name in setup (#13)
* Change packages name in setup * Change version * Allow empty wiki commit * Add missing import
1 parent 3962ddf commit 97c63b2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
git config user.name github-actions
6767
git config user.email [email protected]
6868
git add .
69-
git commit -m "Update results"
69+
git commit --allow-empty -m "Update results"
7070
git push
7171
7272
publish_to_pypi:

setup.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
from stat import ST_MODE
44
from distutils import log
55
from setuptools import setup
6+
from setuptools import find_packages
67
from setuptools.command.install import install
78

8-
VERSION_STRING = "1.0.1"
9+
VERSION_STRING = "1.0.2"
910

1011
PACKAGE_NAME = "homework_checker"
1112

@@ -40,7 +41,6 @@ def run(self):
4041

4142
setup(
4243
name=PACKAGE_NAME,
43-
packages=[PACKAGE_NAME],
4444
version=VERSION_STRING,
4545
install_requires=INSTALL_REQUIRES,
4646
setup_requires=["nose>=1.0"],
@@ -62,6 +62,7 @@ def run(self):
6262
long_description=open("README.md").read(),
6363
long_description_content_type='text/markdown',
6464
test_suite="tests",
65+
packages=find_packages(),
6566
entry_points={
6667
"console_scripts": [
6768
"check_homework = homework_checker.check_homework:main",

0 commit comments

Comments
 (0)