diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-06-27 12:17:50 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-06-27 12:17:50 +0100 |
commit | 8fae25cbb3e50e75dc11134f63dad377362e65f6 (patch) | |
tree | 7d98b1c1478b173f590a04dc87c8b8dfee9681e2 | |
parent | 254814feafb5e1e314266d0e7c4b3504fdac6dee (diff) |
evolved to pyproject with hatchling and removed setup.py
-rw-r--r-- | pyproject.toml | 18 | ||||
-rw-r--r-- | setup.py | 42 |
2 files changed, 9 insertions, 51 deletions
diff --git a/pyproject.toml b/pyproject.toml index de7f755..34e4e11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,9 @@ requires = ["hatchling"] build-backend = "hatchling.build" +[project.scripts] +datamaps = 'datamaps.main:cli' + [project] name = "datamaps" version = "1.1.9" @@ -9,16 +12,13 @@ authors = [ { name="Matthew Lemon", email="matt@matthewlemon.com" }, ] description='Collect and clean data using Excel spreadsheets.' -entry_points={'console_scripts': [ - 'datamaps = datamaps.main:cli' -]}, -install_requires=[ +dependencies = [ 'click', 'python-dateutil', 'bcompiler-engine>=1.1.5' -], +] readme = "README.md" -requires_python = ">=3.7" +requires-python = ">=3.7" classifiers=[ "Environment :: Console", "Intended Audience :: Other Audience", @@ -29,13 +29,13 @@ classifiers=[ ] [project_urls] -"Homepage" = 'https://github.com/hammerheadlemon/datamaps' +"Homepage" = 'https://github.com/yulqen/datamaps' [tool.poetry] name = "datamaps" version = "1.1.7" -homepage = "https://github.com/hammerheadlemon/datamaps" -repository = "https://github.com/hammerheadlemon/datamaps" +homepage = "https://github.com/yulqen/datamaps" +repository = "https://github.com/yulqen/datamaps" license = "MIT" readme = "README.md" description = "Collect and clean data using Excel spreadsheets." diff --git a/setup.py b/setup.py deleted file mode 100644 index 9e0b77a..0000000 --- a/setup.py +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/env python - -from setuptools import find_packages, setup - -import datamaps - -with open("README.md", "r") as fh: - long_description = fh.read() - -setup( - name='datamaps', - version=datamaps.__version__, - description='Collect and clean data using Excel spreadsheets.', - long_description=long_description, - classifiers=[ - "Development Status :: 3 - Alpha", - "Environment :: Console", - "Intended Audience :: Other Audience", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Topic :: Text Processing", - ], - keywords='data console commandline excel', - author='Matthew Lemon', - author_email='matt@matthewlemon.com', - maintainer='Matthew Lemon', - maintainer_email='matt@matthewlemon.com', - url='https://github.com/hammerheadlemon/datamaps', - packages=find_packages(), - python_requires='>=3.6', - entry_points={'console_scripts': [ - 'datamaps = datamaps.main:cli' - ]}, - setup_requires=['wheel'], - install_requires=[ - 'click', - 'python-dateutil', - 'bcompiler-engine>=1.1.5' - # "bcompiler-engine @ git+https://github.com/hammerheadlemon/bcompiler-engine@datamaps-cli-opt" - ], - test_suite='datamaps.tests') |