Skip to content

Commit

Permalink
Fix setup.py (#14)
Browse files Browse the repository at this point in the history
* Fix License

* pip3 in readme

* update gitignore

* fix build issue

Co-authored-by: Navaneeth Kishore <navaneeth@spotnana.com>
  • Loading branch information
daltonfury42 and navaneeth-spotnana authored May 10, 2020
1 parent a9c9db0 commit ff0e392
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,6 @@ fabric.properties
.idea/caches/build_file_checksums.ser
.coverage
.pytest_cache

build/
.eggs/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The project uses NLTK. Find install instructions [here](https://www.nltk.org/ins
### Installing

```bash
pip install truecase
pip3 install truecase
```

## Usage
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,20 @@ def get_requirements(requirements_path: str = "requirements.txt"):
name="truecase",
version=truecase.__version__,
author="Dalton Fury",
author_email="daltonfury42@disroot.org",
author_email="daltonfury42 <at> disroot <dot> org",
description="A library to restore capitalization for text",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/daltonfury42/truecase",
packages=setuptools.find_packages(where="src", exclude=["tests"]),
packages=setuptools.find_packages(exclude=["tests"]),
setup_requires=["pytest-runner"],
tests_require=get_requirements("requirements.test.txt"),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
license='MIT',
install_requires=get_requirements(),
include_package_data=True,
)
2 changes: 1 addition & 1 deletion truecase/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from .TrueCaser import TrueCaser

__version__ = "0.0.8"
__version__ = "0.0.9"


@lru_cache(maxsize=1)
Expand Down

0 comments on commit ff0e392

Please sign in to comment.