Skip to content

Commit

Permalink
build: build manually
Browse files Browse the repository at this point in the history
  • Loading branch information
alifa98 committed Jul 11, 2023
1 parent ade3a63 commit e6814e7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 55 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include LICENSE
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Our primary source is **Game Theory, Alive** book [online version](https://home
You can open a new discussion in this repository's `Discussion` section for any question.
https://github.com/alifa98/GameKit/discussions

If you want to contact us by email, you can send your feedback, question, proposal, or requests to ali@01d.ir.
If you want to contact us by email, you can send your feedback, question, proposal, or requests to ali@faraji.info
1 change: 0 additions & 1 deletion VersionFile

This file was deleted.

30 changes: 0 additions & 30 deletions pyproject.toml

This file was deleted.

2 changes: 0 additions & 2 deletions requirements.txt

This file was deleted.

29 changes: 8 additions & 21 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,35 +1,22 @@
from setuptools import setup, find_packages
import subprocess
import os
from pathlib import Path

# This function gets the tag name from the last successful git tag push
def get_version():
try:
version = (
subprocess.check_output(["git", "describe", "--tags"])
.decode("utf-8")
.strip()
)
if version.startswith("v"):
version = version[1:]
return version
except Exception:
return "0.0.0"
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

setup(
name="gameTheory",
version=get_version(),
version="0.0.6dev",
description="A library for Game Theory",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/alifa98/GameKit",
author="Ali Faraji",
author_email="ali@faraji.info",
license="GPLv3",
packages=find_packages(exclude=["gamekit*.tests.*", "tests.*"]),
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
install_requires=[
"pytest~=7.1.2",
"setuptools~=63.1.0"
],
install_requires=[],
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit e6814e7

Please sign in to comment.