-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (48 loc) · 1.8 KB
/
setup.py
File metadata and controls
51 lines (48 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages # Always prefer setuptools over distutils
from codecs import open # To use a consistent encoding
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='profanityfilter',
version='2.1.0',
description='A universal Python library for detecting and/or filtering profane words.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/areebbeigh/profanityfilter',
author='Areeb Beigh',
author_email='areebbeigh@gmail.com',
license='BSD',
classifiers=[
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Text Processing :: Linguistic',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
keywords='profanity filter clean content',
packages=find_packages(exclude=['tests']),
install_requires=['inflection'],
package_data={
'profanityfilter': ['data/badwords.txt'],
},
entry_points={
'console_scripts': [
'profanityfilter=profanityfilter:main',
],
},
)