diff --git a/phonemizer/__init__.py b/phonemizer/__init__.py
index 17bb95b..ad3dcdf 100644
--- a/phonemizer/__init__.py
+++ b/phonemizer/__init__.py
@@ -12,25 +12,7 @@
#
# You should have received a copy of the GNU General Public License
# along with phonologizer. If not, see .
-"""Multilingual text to phones converter"""
+from .phonemize import phonemize
-__version__ = '3.2.1'
-"""Phonemizer version"""
-
-
-try: # pragma: nocover
- # This variable is injected in the __builtins__ by the build process. In
- # that case we don't want to import phonemize as there are missing
- # dependencies.
- __PHONEMIZER_SETUP__
-except NameError:
- __PHONEMIZER_SETUP__ = False
-
-
-if __PHONEMIZER_SETUP__: # pragma: nocover
- import sys
- sys.stderr.write(
- 'Partial import of phonemizer during the build process.\n')
-else:
- from .phonemize import phonemize # pylint: disable=unused-import
+__all__ = ["phonemize"]
diff --git a/pyproject.toml b/pyproject.toml
index 268403c..f6d130b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
-name = "phonemizer"
-version = "3.2.1"
+name = "pozalabs-phonemizer"
+version = "3.3.0"
description = "Simple text to phones converter for multiple languages"
authors = ["pozalabs "]
license = "GPL3"
diff --git a/setup.py b/setup.py
deleted file mode 100644
index 16e81f0..0000000
--- a/setup.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/usr/bin/env python
-#
-# Copyright 2015-2021 Mathieu Bernard
-#
-# This file is part of phonemizer: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# Phonemizer is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with phonemizer. If not, see .
-"""Setup script for the phonemizer package"""
-
-import builtins
-import codecs
-
-import setuptools
-
-# This is a bit hackish: we are setting a global variable so that the main
-# phonemizer __init__ can detect if it is being loaded by the setup routine, to
-# avoid attempting to load components that aren't built yet.
-builtins.__PHONEMIZER_SETUP__ = True
-
-import phonemizer
-
-setuptools.setup(
- # general description
- name='phonemizer',
- description=' Simple text to phones converter for multiple languages',
- version=phonemizer.__version__,
-
- # python package dependencies
- install_requires=['joblib',
- 'segments',
- 'attrs>=18.1',
- 'dlinfo',
- 'typing-extensions'],
-
- # include Python code and any files in phonemizer/share
- packages=setuptools.find_packages(),
- package_data={
- 'phonemizer': [
- 'share/espeak/*', 'share/festival/*', 'share/segments/*']},
-
- # define the command-line script to use
- entry_points={'console_scripts': ['phonemize = phonemizer.main:main']},
-
- # metadata for upload to PyPI
- author='Mathieu Bernard',
- author_email='mathieu.a.bernard@inria.fr',
- license='GPL3',
- keywords='linguistics G2P phone festival espeak TTS',
- url='https://github.com/bootphon/phonemizer',
- long_description=codecs.open('README.md', encoding='utf-8').read(),
- long_description_content_type="text/markdown",
- classifiers=[
- "Programming Language :: Python :: 3",
- "License :: OSI Approved :: "
- "GNU General Public License v3 or later (GPLv3+)",
- "Operating System :: OS Independent",
- ],
- python_requires='>=3.6',
- extras_require={
- "tests": [
- "pytest"
- ],
- "doc": [
- "sphinx",
- "sphinx_rtd_theme"
- ]
- },
- zip_safe=True,
-)