Skip to content

Commit ff0e392

Browse files
Fix setup.py (#14)
* Fix License * pip3 in readme * update gitignore * fix build issue Co-authored-by: Navaneeth Kishore <navaneeth@spotnana.com>
1 parent a9c9db0 commit ff0e392

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,6 @@ fabric.properties
7575
.idea/caches/build_file_checksums.ser
7676
.coverage
7777
.pytest_cache
78+
79+
build/
80+
.eggs/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The project uses NLTK. Find install instructions [here](https://www.nltk.org/ins
2323
### Installing
2424

2525
```bash
26-
pip install truecase
26+
pip3 install truecase
2727
```
2828

2929
## Usage

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,20 @@ def get_requirements(requirements_path: str = "requirements.txt"):
2121
name="truecase",
2222
version=truecase.__version__,
2323
author="Dalton Fury",
24-
author_email="daltonfury42@disroot.org",
24+
author_email="daltonfury42 <at> disroot <dot> org",
2525
description="A library to restore capitalization for text",
2626
long_description=open("README.md").read(),
2727
long_description_content_type="text/markdown",
2828
url="https://github.com/daltonfury42/truecase",
29-
packages=setuptools.find_packages(where="src", exclude=["tests"]),
29+
packages=setuptools.find_packages(exclude=["tests"]),
3030
setup_requires=["pytest-runner"],
3131
tests_require=get_requirements("requirements.test.txt"),
3232
classifiers=[
3333
"Programming Language :: Python :: 3",
3434
"License :: OSI Approved :: MIT License",
3535
"Operating System :: OS Independent",
3636
],
37+
license='MIT',
3738
install_requires=get_requirements(),
3839
include_package_data=True,
3940
)

truecase/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from .TrueCaser import TrueCaser
44

5-
__version__ = "0.0.8"
5+
__version__ = "0.0.9"
66

77

88
@lru_cache(maxsize=1)

0 commit comments

Comments
 (0)