Skip to content

Commit

Permalink
Pytomatas v.1.1.2
Browse files Browse the repository at this point in the history
Modify: setup.py to take correctly the files on src as packages for error while importing after pip install
  • Loading branch information
arhcoder committed Jun 5, 2023
1 parent 35fd298 commit 3c1688e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
python -m pip install --upgrade pip
python -m pip install --upgrade twine
pip install wheel
pip install setuptools
pip install tqdm
pip install twine
python setup.py sdist bdist_wheel
python -m twine upload --repository pypi dist/*
env:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🤖 Pytomatas

**📌 Version 1.1.1**
**📌 Version 1.1.2**

<hr>

Expand Down Expand Up @@ -44,7 +44,7 @@ What can do?
You can install Pytomatas using pip:

```bash
pip install pytomatas
pip install -i https://pypi.org/simple/ Pytomatas
```

<br>
Expand Down
15 changes: 10 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,31 @@

setup(
name="Pytomatas",
version="1.1.1",
version="1.1.2",
packages=["Pytomatas"] or find_packages("src"),
package_dir={"": "src"},
author="arhcoder",
author_email="arhcoder@gmail.com",
description="Simulates Automatons Acceptors DFA, NFA, PDA and Turing Machines",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/arhcoder/Pytomatas",
license="MIT License",
packages=find_packages(),
include_package_data=True,
project_urls={
"Bug Tracker": "https://github.com/arhcoder/Pytomatas/issues",
"Contribution": "https://github.com/arhcoder/Pytomatas/pulls",
"Author": "https://github.com/arhcoder"
"Author": "https://github.com/arhcoder",
"Source": "https://github.com/arhcoder/Pytomatas",
"Contribution": "https://github.com/arhcoder/Pytomatas/pulls"
},
keywords=[
"Automata", "Automaton", "Turing Machine", "Simulation",
"DFA", "NFA", "PDA", "TM", "Python"
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
package_dir={"": "src"},
python_requires=">=3.6"
)

0 comments on commit 3c1688e

Please sign in to comment.