1- import setuptools
1+ from setuptools import find_packages , setup , Extension
22
3+ with open ('README.md' , 'r' )as f :
4+ long_desc = f .read ()
35
4- with open ('README.md' , 'r' ) as fh :
5- description = fh .read ()
6-
7- setuptools .setup (name = 'SetCalcPy' ,
8- version = '0.0.2' ,
9- author = 'SockRocks' ,
10- packages = ['SetCalcPy' ],
11- long_description = description ,
12- long_description_content_type = "text/markdown" ,
13- url = 'https://github.com/SockRocks/Python-Elementary-Set-Theory-Calculator' ,
14- license = 'MIT' ,
15- python_requires = '>=3.8' ,
16- install_requires = []
17- )
6+ setup (
7+ name = 'SetCalcPy' ,
8+ ext_modules = [Extension (name = 'powerSetCalc' , sources = ['SetCalcPy/powerSet/powerSetCalc.c' ])],
9+ version = '1.1.2' ,
10+ description = 'A library for performing basic set theory operations.' ,
11+ package_dir = {"Set" :"SetCalcPy" },
12+ packages = ['SetCalcPy' ],
13+ keywords = ['calculator' , 'homework-help' , 'set-theory' ],
14+ long_description = long_desc ,
15+ long_description_content_type = 'text/markdown' ,
16+ url = 'https://github.com/SockRocks/Python-Elementary-Set-Theory-Calculator' ,
17+ author = 'Ethan Gaver' ,
18+ author_email = 'ethaneggcode@gmail.com' ,
19+ license = 'GNU' ,
20+ extras_require = {
21+ "dev" :["twine >= 4.0.2" ]
22+ },
23+ python_requires = ">=3.11.5"
24+ )
0 commit comments