Skip to content
Permalink
Browse files

Clear up setup config

  • Loading branch information...
ethe committed Jul 13, 2019
1 parent 7ca097b commit 8886f6acc0ed850b1fa4ab55bffbcfee89165dea
Showing with 27 additions and 15 deletions.
  1. +0 −2 MANIFEST.in
  2. +13 −0 Makefile
  3. +2 −2 setup.cfg
  4. +12 −11 setup.py

This file was deleted.

@@ -0,0 +1,13 @@
clean:
rm -vf dist/*

build: clean
python setup.py bdist_wheel

pre_release: build
twine upload --verbose --repository-url https://test.pypi.org/legacy/ dist/*

release: build
twine upload dist/*

.PHONY: release
@@ -1,5 +1,5 @@
[metadata]
license_files = LICENSE

[wheel]
universal = 1
[bdist_wheel]
python-tag = py3
@@ -5,7 +5,7 @@

from os.path import join, dirname

from setuptools import setup, find_packages
from setuptools import setup

with open(join(dirname(__file__), 'pygraphy', '__init__.py'), 'r') as f:
version = re.match(r".*__version__ = '(.*?)'", f.read(), re.S).group(1)
@@ -18,26 +18,27 @@
dev_requires = [
"flake8>=3.7.7",
"pytest>=5.0.0",
]


cmdclass = {}
ext_modules = []
] + install_requires


setup(name="pygraphy",
version=version,
description="Pythonic implementation of GraphQL",
description="Modern pythonic implementation of GraphQL",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
keywords="python graphql",
author="Tzu-hsing Gwo",
author_email="zi-xing.guo@ubisoft.com",
packages=find_packages(exclude=["tests", "test.*", "examples", "examples.*"]),
include_package_data=True,
url="https://pygraphy.readthedocs.io/",
packages=['pygraphy'],
url="https://github.com/ethe/pygraphy",
license="MIT",
install_requires=install_requires,
tests_require=dev_requires,
python_requires='>=3.7',
python_requires=">=3.7,<4",
include_package_data=True,
package_data={
'': ['*.html']
},
extras_require={
"dev": dev_requires
},

0 comments on commit 8886f6a

Please sign in to comment.
You can’t perform that action at this time.