Skip to content

Commit 3c1688e

Browse files
committed
Pytomatas v.1.1.2
Modify: setup.py to take correctly the files on src as packages for error while importing after pip install
1 parent 35fd298 commit 3c1688e

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.github/workflows/publish.yml

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
python -m pip install --upgrade pip
2424
python -m pip install --upgrade twine
2525
pip install wheel
26+
pip install setuptools
27+
pip install tqdm
28+
pip install twine
2629
python setup.py sdist bdist_wheel
2730
python -m twine upload --repository pypi dist/*
2831
env:

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 🤖 Pytomatas
22

3-
**📌 Version 1.1.1**
3+
**📌 Version 1.1.2**
44

55
<hr>
66

@@ -44,7 +44,7 @@ What can do?
4444
You can install Pytomatas using pip:
4545

4646
```bash
47-
pip install pytomatas
47+
pip install -i https://pypi.org/simple/ Pytomatas
4848
```
4949

5050
<br>

setup.py

+10-5
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,31 @@
88

99
setup(
1010
name="Pytomatas",
11-
version="1.1.1",
11+
version="1.1.2",
12+
packages=["Pytomatas"] or find_packages("src"),
13+
package_dir={"": "src"},
1214
author="arhcoder",
1315
author_email="arhcoder@gmail.com",
1416
description="Simulates Automatons Acceptors DFA, NFA, PDA and Turing Machines",
1517
long_description=long_description,
1618
long_description_content_type="text/markdown",
1719
url="https://github.com/arhcoder/Pytomatas",
1820
license="MIT License",
19-
packages=find_packages(),
2021
include_package_data=True,
2122
project_urls={
2223
"Bug Tracker": "https://github.com/arhcoder/Pytomatas/issues",
23-
"Contribution": "https://github.com/arhcoder/Pytomatas/pulls",
24-
"Author": "https://github.com/arhcoder"
24+
"Author": "https://github.com/arhcoder",
25+
"Source": "https://github.com/arhcoder/Pytomatas",
26+
"Contribution": "https://github.com/arhcoder/Pytomatas/pulls"
2527
},
28+
keywords=[
29+
"Automata", "Automaton", "Turing Machine", "Simulation",
30+
"DFA", "NFA", "PDA", "TM", "Python"
31+
],
2632
classifiers=[
2733
"Programming Language :: Python :: 3",
2834
"License :: OSI Approved :: MIT License",
2935
"Operating System :: OS Independent"
3036
],
31-
package_dir={"": "src"},
3237
python_requires=">=3.6"
3338
)

0 commit comments

Comments
 (0)