Skip to content

Commit

Permalink
Move setup details to setup.cfg and use setuptools_scm for version
Browse files Browse the repository at this point in the history
  • Loading branch information
ygalblum committed Mar 26, 2020
1 parent 7d55411 commit bf7e45d
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 18 deletions.
35 changes: 35 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[metadata]
; version=3.1.3

name = cterasdk
author = CTERA Networks
author-email = support@ctera.com
home-page = https://pypi.org/project/cterasdk/
project_urls =
Bug Tracker = https://github.com/ctera/ctera-python-sdk/issues
Documentation = https://ctera-python-sdk.readthedocs.io/en/latest/
Source Code = https://github.com/ctera/ctera-python-sdk
summary = CTERA Python SDK
description-file =
README.rst
description-content-type = text/x-rst; charset=UTF-8
requires-python = >=3.5

requires-dist =
setuptools

classifier =
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python :: 3 :: Only
Topic :: Software Development :: Libraries :: Python Module

[files]
packages = cterasdk

[options]
setup_requires =
setuptools_scm
37 changes: 19 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@
long_description = fh.read()

setuptools.setup(
name="cterasdk",
version="3.1.3",
author="CTERA Networks",
author_email="support@ctera.com",
description="CTERA Python SDK",
long_description=long_description,
packages=setuptools.find_packages(),
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules"
],
python_requires='>=3.5',
use_scm_version=True
# name="cterasdk",
# version="3.1.3",
# author="CTERA Networks",
# author_email="support@ctera.com",
# description="CTERA Python SDK",
# long_description=long_description,
# packages=setuptools.find_packages(),
# include_package_data=True,
# classifiers=[
# "Development Status :: 4 - Beta",
# "Intended Audience :: Developers",
# "Intended Audience :: System Administrators",
# "License :: OSI Approved :: Apache Software License",
# "Operating System :: OS Independent",
# "Programming Language :: Python :: 3 :: Only",
# "Topic :: Software Development :: Libraries :: Python Modules"
# ],
# python_requires='>=3.5',
)

0 comments on commit bf7e45d

Please sign in to comment.